[Skiboot] [PATCH] Revert "platforms/astbmc/slots.c: Allow comparison of bus numbers when matching slots"

Stewart Smith stewart at linux.vnet.ibm.com
Fri Mar 23 16:43:22 AEDT 2018


Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> This reverts commit bda7cc4d0354eb3f66629d410b2afc08c79f795f.
>
> Ben says:
> It's on purpose that we do NOT compare the bus numbers,
> they are always 0 in the slot table
> we do a hierarchical walk of the tree, matching only the
> devfn's along the way bcs the bus numbering isn't fixed
> this breaks all slot naming etc... stuff on anything using
> the "skiboot" slot tables (P8 opp typically)
>
> Suggested-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
> ---
>  platforms/astbmc/slots.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Merged to master as of 87f33f4990612116306ab42fbd7c163a2f90c89c

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list