[PATCH RFC v2 18/18] dmaengine: idxd: add ABI documentation for mediated device support

From: Dave Jiang
Date: Tue Jul 21 2020 - 12:04:25 EST


From: Jing Lin <jing.lin@xxxxxxxxx>

Add the sysfs attribute bits in ABI/stable for mediated device and guest
support.

Signed-off-by: Jing Lin <jing.lin@xxxxxxxxx>
Signed-off-by: Dave Jiang <dave.jiang@xxxxxxxxx>
Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
---
Documentation/ABI/stable/sysfs-driver-dma-idxd | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/Documentation/ABI/stable/sysfs-driver-dma-idxd b/Documentation/ABI/stable/sysfs-driver-dma-idxd
index a336d2b2009a..edbcf8a8796c 100644
--- a/Documentation/ABI/stable/sysfs-driver-dma-idxd
+++ b/Documentation/ABI/stable/sysfs-driver-dma-idxd
@@ -1,6 +1,6 @@
What: /sys/bus/dsa/devices/dsa<m>/version
-Date: Apr 15, 2020
-KernelVersion: 5.8.0
+Date: Jul 5, 2020
+KernelVersion: 5.9.0
Contact: dmaengine@xxxxxxxxxxxxxxx
Description: The hardware version number.

@@ -84,6 +84,12 @@ Contact: dmaengine@xxxxxxxxxxxxxxx
Description: To indicate if PASID (process address space identifier) is
enabled or not for this device.

+What: /sys/bus/dsa/devices/dsa<m>/ims_size
+Date: Jul 5, 2020
+KernelVersion: 5.9.0
+Contact: dmaengine@xxxxxxxxxxxxxxx
+Description: Number of entries in the interrupt message storage table.
+
What: /sys/bus/dsa/devices/dsa<m>/state
Date: Oct 25, 2019
KernelVersion: 5.6.0
@@ -147,8 +153,9 @@ 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>/cdev_minor
Date: Oct 25, 2019