[Skiboot] [PATCH RESEND v2] npu2-opencapi: Don't send commands to NPU when link is down

Stewart Smith stewart at linux.ibm.com
Thu Jul 26 18:59:03 AEST 2018

Frederic Barrat <fbarrat at linux.ibm.com> writes:
> Even if an opencapi link is down, we currently always try to issue a
> config read operation when probing for PCI devices, because of the
> default scan map used for an opencapi PHB. The config operation fails,
> as expected, but it can also raise a FIR bit and trigger an HMI.
> For opencapi, there's no root device like for a "normal" PCI PHB, so
> there's no reason to do the config operation. To fix it, we keep the
> scan map blank by default, and only add a device once the link is
> trained.
> CC: stable # v6.1+
> Signed-off-by: Frederic Barrat <fbarrat at linux.ibm.com>

Thanks, merged to master as of f385ac321e0ba0d73c1bc2e865c9b599fddfc66e

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list