[Skiboot] [PATCH 0/6] Fix Lost NVMe adapter behind PMC PCIe Switch
stewart at linux.vnet.ibm.com
Fri Mar 31 18:03:42 AEDT 2017
Gavin Shan <gwshan at linux.vnet.ibm.com> writes:
> This series fixes the issue reported by Mark E Schreiter: NVMe adapters
> behind PMC 8546 PCIe switch are lost. After some debugging together with
> Chad J. Larson, the root causes are identified. First of all, the presence
> bit is lost on the downstream port and PCI core doesn't probe the adapter
> behind the downstream port. PATCH[3/6] fixes it by overriding presence bit
> with PCIe linkup bit. Also, the ECRC functionality has to be disabled when
> PMC 8546 PCIe switch is connected to PHB direct slot or PLX switch downstream
> port. Otherwise, the Samsung NVMe adapter is lost. PATCH[4,5/6] fix the issue
> by disable ECRC on root port when PMC 8546 PCIe switch is found. It's enabled
> without the particular switch part or it's hot removed from the system. PATCH
> always enables ECRC on endpoints since we tune it on root port properly.
> PATCH[1,2/6] are cleanup to avoid locating AER capability position if possible,
> to save several CPU cycles and make the code consistent.
Series merged to master as of bd87856aef965603ee6eb02ce80d7d1d56739ebb
OPAL Architect, IBM.
More information about the Skiboot