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

Gavin Shan gwshan at linux.vnet.ibm.com
Tue Nov 24 10:45:24 AEDT 2015


On Fri, Nov 20, 2015 at 03:34:29PM +1100, Daniel Axtens wrote:
>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?
>

Would you explain what's the behaviour or output from pHyp? If possible,
I think we need consistent output from pSeries (pHyp based) and PowerNV.

Thanks,
Gavin



More information about the Skiboot mailing list