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

Russell Currey ruscur at russell.cc
Mon Jun 20 16:54:42 AEST 2016


On Mon, 2016-06-20 at 16:25 +1000, Gavin Shan wrote:
> 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>
> ---

Tested-by: Russell Currey <ruscur at russell.cc>




More information about the Skiboot mailing list