[PATCH RFC 15/15] dmaengine: idxd: add ABI documentation for mediated device support
From: Dave Jiang
Date: Tue Apr 21 2020 - 19:35:26 EST
From: Jing Lin <jing.lin@xxxxxxxxx>
Add the sysfs attribute bits in ABI/stable for mediated deivce and guest
support.
Signed-off-by: Jing Lin <jing.lin@xxxxxxxxx>
Signed-off-by: Dave Jiang <dave.jiang@xxxxxxxxx>
---
Documentation/ABI/stable/sysfs-driver-dma-idxd | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/Documentation/ABI/stable/sysfs-driver-dma-idxd b/Documentation/ABI/stable/sysfs-driver-dma-idxd
index c1adddde23c2..b04cbc5a1827 100644
--- a/Documentation/ABI/stable/sysfs-driver-dma-idxd
+++ b/Documentation/ABI/stable/sysfs-driver-dma-idxd
@@ -76,6 +76,12 @@ Date: Jan 30, 2020
KernelVersion: 5.7.0
Contact: dmaengine@xxxxxxxxxxxxxxx
Description: To indicate if PASID (process address space identifier) is
+
+What: sys/bus/dsa/devices/dsa<m>/ims_size
+Date: Apr 13, 2020
+KernelVersion: 5.8.0
+Contact: dmaengine@xxxxxxxxxxxxxxx
+Description: Number of entries in the interrupt message storage table.
enabled or not for this device.
What: sys/bus/dsa/devices/dsa<m>/state
@@ -141,8 +147,16 @@ Date: Oct 25, 2019
KernelVersion: 5.6.0
Contact: dmaengine@xxxxxxxxxxxxxxx
Description: The type of this work queue, it can be "kernel" type for work
- queue usages in the kernel space or "user" type for work queue
- usages by applications in user space.
+ queue usages in the kernel space, "user" type for work queue
+ usages by applications in user space, or "mdev" type for
+ VFIO mediated devices.
+
+What: sys/bus/dsa/devices/wq<m>.<n>/uuid
+Date: Apr 13, 2020
+KernelVersion: 5.8.0
+Contact: dmaengine@xxxxxxxxxxxxxxx
+Description: The uuid attached to this work queue when the mediated device is
+ created.
What: sys/bus/dsa/devices/wq<m>.<n>/cdev_minor
Date: Oct 25, 2019