]> Gentwo Git Trees - linux/.git/commit
s390/pci: Expose firmware provided UID Checking state in sysfs
authorRamesh Errabolu <ramesh@linux.ibm.com>
Mon, 29 Sep 2025 04:38:27 +0000 (23:38 -0500)
committerHeiko Carstens <hca@linux.ibm.com>
Sat, 4 Oct 2025 16:40:42 +0000 (18:40 +0200)
commitb043a81ce3ee3aa1d4adc63eb77203a652cfc94e
tree66143fef2ba5e803fce30a1ed0eada5eb77dbb57
parent4335edb7138b45abab65f01d2be77a9be9cfd2fe
s390/pci: Expose firmware provided UID Checking state in sysfs

The sysfs file /sys/bus/pci/devices/<device_id>/uid_is_unique provides
the UID Checking state as a per device attribute, highlighting its
effect of providing the guarantee that a device's UID is unique.
As a device attribute, this parameter is however unavailable if no
device is configured.

Expose the UID Checking state as:
  - A platform-level parameter
  - Available regardless of device presence or state

Signed-off-by: Ramesh Errabolu <ramesh@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/pci.h
arch/s390/pci/pci.c
arch/s390/pci/pci_sysfs.c