commit | 08a45b320a0ec76866acca7db2fe2647387e5c21 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Jul 08 16:37:17 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sun Jul 17 16:42:49 2016 +1000 |
tree | d52230dd5d911385138dd03357774181de5a3c65 | |
parent | a1339faf72ac0d90797516ad0996cec18fe534b5 [diff] |
powerpc/powernv/pci: Check status of a PHB before using it If the firmware encounters an error (internal or HW) during initialization of a PHB, it might leave the device-node in the tree but mark it disabled using the "status" property. We should check it. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>