[Skiboot] [PATCH] platforms/astbmc: Fix the PCI slot location code

Stewart Smith stewart at linux.vnet.ibm.com
Tue Jun 21 14:43:50 AEST 2016


Gavin Shan <gwshan at linux.vnet.ibm.com> writes:
> After commit aa928bfbd891 ("platforms/astbmc: Support PCI slot")
> is merged, we have the assumption that PHB's base location code
> is always valid. It's not true on openPower platforms, including
> Garrison. It causes the PCI slot location code isn't exposed via
> device-tree.
>
> This fixes the above issue. The PCI slot location code contains
> the label only if PHB's base location code is invalid.
>
> Reported-by: Russell Currey <ruscur at russell.cc>
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>

Thanks, pushed to master as of a28352d (after realising I should have
added a Fixes: )
-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list