[Skiboot] [PATCH v9 22/22] doc: PCI slot

Daniel Axtens dja at axtens.net
Fri Nov 20 15:34:29 AEDT 2015


Gavin Shan <gwshan at linux.vnet.ibm.com> writes:

The documentation makes a lot of sense :)

I just had one question, which really relates to an earlier patch but
which is documented here:

> +For Apollo and Firenze platform, following PCI slot properties are exported through
> +PCI device tree node except those generic properties (as above):
> +
> +ibm,slot-location-code		System location code string for the slot connector
> +ibm,slot-label			Slot label, part of "ibm,slot-location-code"

As I understand it, the slot-label property is used to name the
directories in /sys/bus/pci/slots. This is then read by lscpi and used
to generate the location output. There was some discussion on an
internal bugzilla about making slot-label the location code to match the
behaviour of pHyp.

I understand you particuarly want to make slot-label just the part of
the location code that is unique to the slot. I agree that the short
part makes more sense, but I wonder if pHyp compatiblity is a worthwhile
goal here?

Regards,
Daniel

> -- 
> 2.1.0
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20151120/987b60fa/attachment.sig>


More information about the Skiboot mailing list