[PATCH v2 3/3] doc: Add ABI documentation for uio_pci_sva driver sysfs attributes

From: Yaxing Guo
Date: Thu Sep 25 2025 - 06:56:47 EST


Add ABI documentation for the sysfs interface provided by the
uio_pci_sva driver, specifically the 'pasid' attribute.

The 'pasid' attribute exposes the Process Address Space ID (PASID)
assigned by the IOMMU to the device for use with Shared Virtual
Addressing (SVA). User-space UIO applications read this attribute
to obtain the PASID and program it into the device's configuration
registers, enabling the device to perform DMA using user-space
virtual addresses.

This attribute appears under:
/sys/bus/pci/drivers/uio_pci_sva/<pci_dev>/pasid

Signed-off-by: Yaxing Guo <guoyaxing@xxxxxxxxxx>
---
.../ABI/testing/sysfs-driver-uio_pci_sva-pasid | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-driver-uio_pci_sva-pasid

diff --git a/Documentation/ABI/testing/sysfs-driver-uio_pci_sva-pasid b/Documentation/ABI/testing/sysfs-driver-uio_pci_sva-pasid
new file mode 100644
index 000000000000..a6afa8c2775c
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-driver-uio_pci_sva-pasid
@@ -0,0 +1,15 @@
+What: /sys/bus/pci/drivers/uio_pci_sva/<pci_dev>/pasid
+Date: September 2025
+Contact: Yaxing Guo <guoyaxing@xxxxxxxxxx>
+Description:
+ Process Address Space ID (PASID) assigned by IOMMU driver to
+ the device for use witch Shared Virtual Addressing (SVA).
+
+ This read-only attribute exposes the PASID allocated by the
+ IOMMU driver during sva device binding.
+
+ User-space UIO applications must read this attribute to
+ obtain the PASID and program it into the device's configuration
+ registers. This enables the device to perform DMA using
+ user-space virtual address, with address translation handled
+ by IOMMU.
--
2.34.1