Skip to content

PCI: s390: Expose the UID as an arch specific PCI slot attribute

Niklas Schnelle linux-doc linux-pci linux-s390 lkml 8 versions – Applied

Status from this message: Applied to s390 tree, thank you!

Get series with b4
b4 am [email protected] change-id 20250923-uid_slot-e3559cf5ca30

Versions newest first

  1. v8 Latest2 patches 5 repliesApplied
  2. v72 patches 1 replySuperseded
  3. v62 patches 7 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v51 patch2 repliesSuperseded
v41 patch0 repliesSuperseded
v31 patch4 repliesSuperseded
v21 patch0 repliesSuperseded
v11 patch8 repliesSuperseded

Changes in v8 from the cover letter

- Fix wrong uid_is_unique on firmware file, it's actually "uid_checking" (Gerd)
- Link to v7: https://lore.kernel.org/r/[email protected]

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/2docs: s390/pci: Improve and update PCI documentationDocumentation/arch/s390/pci.rst+97 -471 reply
2/2PCI: s390: Expose the UID as an arch specific PCI slot attributeDocumentation/arch/s390/pci.rst arch/s390/include/asm/pci.h arch/s390/pci/pci_sysfs.c +1 more+43 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGerd BayerJulian RuessFarhan AliRandy DunlapMatthew RosatoBjorn Helgaas
1/2R-b R-b A-b T-b R-b
2/2R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v8 thread

Cover letter [PATCH v8 0/2] PCI: s390: Expose the UID as an arch specific PCI slot attribute

Hi all,

Add a mechanism for architecture specific attributes on
PCI slots in order to add the user-defined ID (UID) as an s390 specific PCI slot attribute. First though improve some issues with the s390 specific documentation of PCI sysfs attributes noticed during development.

Also note, I considered adding the UID as a generic slot index attribute analogous to the PCI device index attribute (SMBIOS index / s390 UID) but decided against it as this seems rather s390 specific and having it named UID makes things easier for users and aligns with the existing separate uid device attribute.

Thanks,
Niklas

v7->v8:
- Fix wrong uid_is_unique on firmware file, it's actually "uid_checking" (Gerd)
- Link to v7: https://lore.kernel.org/r/[email protected]

---
---

---

---
Niklas Schnelle (2):
docs: s390/pci: Improve and update PCI documentation
PCI: s390: Expose the UID as an arch specific PCI slot attribute

 Documentation/arch/s390/pci.rst | 151 +++++++++++++++++++++++++++-------------
 arch/s390/include/asm/pci.h     |   4 ++
 arch/s390/pci/pci_sysfs.c       |  20 ++++++
 drivers/pci/slot.c              |  13 +++-
 4 files changed, 140 insertions(+), 48 deletions(-)

---
base-commit: 591cd656a1bf5ea94a222af5ef2ee76df029c1d2
change-id: 20250923-uid_slot-e3559cf5ca30

Best regards,

Signature · 1 line
Niklas Schnelle