[Skiboot] [PATCH] phb4: Harden init with bad PHBs
Stewart Smith
stewart at linux.vnet.ibm.com
Wed Jun 21 18:43:25 AEST 2017
Michael Neuling <mikey at neuling.org> writes:
> Currently if we read all 1's from the EEH or IRQ capabilities, we end
> up train wrecking on some other random code (eg. an assert() in xive).
>
> This hardens the PHB4 code to look for these bad reads and more
> gracefully fails the init for that PHB alone. This allows the rest of
> the system to boot and ignore those bad PHBs.
>
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> ---
> hw/phb4.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
Merged to master as of 23d759f80925d65fd59c16552467c85cc2c5090f
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list