Message ID | 159405972142.19216.202541495863164149.stgit@djiang5-desk3.ch.intel.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | Add shared workqueue support for idxd driver | expand |
On 7/6/20 11:22 AM, Dave Jiang wrote: > +What: /sys/bus/dsa/devices/dsa<m>/pasid_enabled > +Date: Jul 5, 2020 > +KernelVersion: 5.9.0 > +Contact: dmaengine@vger.kernel.org > +Description: To indicate if PASID (process address space identifier) is > + enabled or not for this device. > + > What: /sys/bus/dsa/devices/dsa<m>/state > Date: Oct 25, 2019 > KernelVersion: 5.6.0 > @@ -116,6 +123,13 @@ Description: The maximum number of bandwidth tokens that may be in use at > one time by operations that access low bandwidth memory in the > device. > > +What: /sys/bus/dsa/devices/wq<m>.<n>/block_on_fault > +Date: Jul 5, 2020 > +KernelVersion: 5.9.0 > +Contact: dmaengine@vger.kernel.org > +Description: To indicate block on fault is allowed or not for the work queue > + to support on demand paging. I'd also really appreciate some more "why" in addition to the "what" in the documentation. Why would a program or end user care that PASIDs are enabled or that on-demand paging is supported?
diff --git a/Documentation/ABI/stable/sysfs-driver-dma-idxd b/Documentation/ABI/stable/sysfs-driver-dma-idxd index 1af9c4175213..a336d2b2009a 100644 --- a/Documentation/ABI/stable/sysfs-driver-dma-idxd +++ b/Documentation/ABI/stable/sysfs-driver-dma-idxd @@ -77,6 +77,13 @@ Contact: dmaengine@vger.kernel.org Description: The operation capability bit mask specify the operation types supported by the this device. +What: /sys/bus/dsa/devices/dsa<m>/pasid_enabled +Date: Jul 5, 2020 +KernelVersion: 5.9.0 +Contact: dmaengine@vger.kernel.org +Description: To indicate if PASID (process address space identifier) is + enabled or not for this device. + What: /sys/bus/dsa/devices/dsa<m>/state Date: Oct 25, 2019 KernelVersion: 5.6.0 @@ -116,6 +123,13 @@ Description: The maximum number of bandwidth tokens that may be in use at one time by operations that access low bandwidth memory in the device. +What: /sys/bus/dsa/devices/wq<m>.<n>/block_on_fault +Date: Jul 5, 2020 +KernelVersion: 5.9.0 +Contact: dmaengine@vger.kernel.org +Description: To indicate block on fault is allowed or not for the work queue + to support on demand paging. + What: /sys/bus/dsa/devices/wq<m>.<n>/group_id Date: Oct 25, 2019 KernelVersion: 5.6.0