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

Dave Jiang
2020-04-21T23:35:25Z

From: Jing Lin <jing.lin@intel.com>

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

Signed-off-by: Jing Lin <jing.lin@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
---
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@vger.kernel.org
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@vger.kernel.org
+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@vger.kernel.org
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@vger.kernel.org
+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