RE: [PATCH 0/1] Use of /sys/bus/pci/devices/…/index for non-SMBIOS platforms

K, Narendra
2021-04-13T18:22:35Z

> -----Original Message-----
> From: Niklas Schnelle <schnelle@linux.ibm.com>
> Sent: Monday, April 12, 2021 7:29 PM
> To: K, Narendra
> Cc: Viktor Mihajlovski; Stefan Raspl; Peter Oberparleiter; linux-
> netdev@vger.kernel.org; linux-pci@vger.kernel.org; linux-
> kernel@vger.kernel.org; linux-s390@vger.kernel.org
> Subject: [PATCH 0/1] Use of /sys/bus/pci/devices/…/index for non-SMBIOS
> platforms
>
>
> [EXTERNAL EMAIL]
>
> Hi Narendra, Hi All,
>
> According to Documentation/ABI/testing/sysfs-bus-pci you are responsible for
> the index device attribute that is used by systemd to create network interface
> names.
>
> Now we would like to reuse this attribute for firmware provided PCI device
> index numbers on the s390 architecture which doesn't have SMBIOS/DMI nor
> ACPI. All code changes are within our architecture specific code but I'd like to
> get some Acks for this reuse. I've sent an RFC version of this patch on 15th of
> March with the subject:
>
> s390/pci: expose a PCI device's UID as its index
>
> but got no response.

Hi Niklas,

Sorry, I missed responding to the RFC sent earlier.

> Would it be okay to re-use this attribute for essentially
> the same purpose but with index numbers provided by a different platform
> mechanism?

I will go through the request above and provide comments in two or three days.

With regards,
Narendra K