1 What: /sys/bus/dsa/devices/dsa<m>/version
4 Contact: dmaengine@vger.kernel.org
5 Description: The hardware version number.
7 What: /sys/bus/dsa/devices/dsa<m>/cdev_major
10 Contact: dmaengine@vger.kernel.org
11 Description: The major number that the character device driver assigned to
14 What: /sys/bus/dsa/devices/dsa<m>/errors
17 Contact: dmaengine@vger.kernel.org
18 Description: The error information for this device.
20 What: /sys/bus/dsa/devices/dsa<m>/max_batch_size
23 Contact: dmaengine@vger.kernel.org
24 Description: The largest number of work descriptors in a batch.
26 What: /sys/bus/dsa/devices/dsa<m>/max_work_queues_size
29 Contact: dmaengine@vger.kernel.org
30 Description: The maximum work queue size supported by this device.
32 What: /sys/bus/dsa/devices/dsa<m>/max_engines
35 Contact: dmaengine@vger.kernel.org
36 Description: The maximum number of engines supported by this device.
38 What: /sys/bus/dsa/devices/dsa<m>/max_groups
41 Contact: dmaengine@vger.kernel.org
42 Description: The maximum number of groups can be created under this device.
44 What: /sys/bus/dsa/devices/dsa<m>/max_tokens
47 Contact: dmaengine@vger.kernel.org
48 Description: The total number of bandwidth tokens supported by this device.
49 The bandwidth tokens represent resources within the DSA
50 implementation, and these resources are allocated by engines to
53 What: /sys/bus/dsa/devices/dsa<m>/max_transfer_size
56 Contact: dmaengine@vger.kernel.org
57 Description: The number of bytes to be read from the source address to
58 perform the operation. The maximum transfer size is dependent on
59 the workqueue the descriptor was submitted to.
61 What: /sys/bus/dsa/devices/dsa<m>/max_work_queues
64 Contact: dmaengine@vger.kernel.org
65 Description: The maximum work queue number that this device supports.
67 What: /sys/bus/dsa/devices/dsa<m>/numa_node
70 Contact: dmaengine@vger.kernel.org
71 Description: The numa node number for this device.
73 What: /sys/bus/dsa/devices/dsa<m>/op_cap
76 Contact: dmaengine@vger.kernel.org
77 Description: The operation capability bit mask specify the operation types
78 supported by the this device.
80 What: /sys/bus/dsa/devices/dsa<m>/pasid_enabled
83 Contact: dmaengine@vger.kernel.org
84 Description: To indicate if PASID (process address space identifier) is
85 enabled or not for this device.
87 What: /sys/bus/dsa/devices/dsa<m>/state
90 Contact: dmaengine@vger.kernel.org
91 Description: The state information of this device. It can be either enabled
94 What: /sys/bus/dsa/devices/dsa<m>/group<m>.<n>
97 Contact: dmaengine@vger.kernel.org
98 Description: The assigned group under this device.
100 What: /sys/bus/dsa/devices/dsa<m>/engine<m>.<n>
103 Contact: dmaengine@vger.kernel.org
104 Description: The assigned engine under this device.
106 What: /sys/bus/dsa/devices/dsa<m>/wq<m>.<n>
109 Contact: dmaengine@vger.kernel.org
110 Description: The assigned work queue under this device.
112 What: /sys/bus/dsa/devices/dsa<m>/configurable
115 Contact: dmaengine@vger.kernel.org
116 Description: To indicate if this device is configurable or not.
118 What: /sys/bus/dsa/devices/dsa<m>/token_limit
121 Contact: dmaengine@vger.kernel.org
122 Description: The maximum number of bandwidth tokens that may be in use at
123 one time by operations that access low bandwidth memory in the
126 What: /sys/bus/dsa/devices/dsa<m>/cmd_status
128 KernelVersion: 5.10.0
129 Contact: dmaengine@vger.kernel.org
130 Description: The last executed device administrative command's status/error.
132 What: /sys/bus/dsa/devices/wq<m>.<n>/block_on_fault
134 KernelVersion: 5.11.0
135 Contact: dmaengine@vger.kernel.org
136 Description: To indicate block on fault is allowed or not for the work queue
137 to support on demand paging.
139 What: /sys/bus/dsa/devices/wq<m>.<n>/group_id
142 Contact: dmaengine@vger.kernel.org
143 Description: The group id that this work queue belongs to.
145 What: /sys/bus/dsa/devices/wq<m>.<n>/size
148 Contact: dmaengine@vger.kernel.org
149 Description: The work queue size for this work queue.
151 What: /sys/bus/dsa/devices/wq<m>.<n>/type
154 Contact: dmaengine@vger.kernel.org
155 Description: The type of this work queue, it can be "kernel" type for work
156 queue usages in the kernel space or "user" type for work queue
157 usages by applications in user space.
159 What: /sys/bus/dsa/devices/wq<m>.<n>/cdev_minor
162 Contact: dmaengine@vger.kernel.org
163 Description: The minor number assigned to this work queue by the character
166 What: /sys/bus/dsa/devices/wq<m>.<n>/mode
169 Contact: dmaengine@vger.kernel.org
170 Description: The work queue mode type for this work queue.
172 What: /sys/bus/dsa/devices/wq<m>.<n>/priority
175 Contact: dmaengine@vger.kernel.org
176 Description: The priority value of this work queue, it is a vlue relative to
177 other work queue in the same group to control quality of service
178 for dispatching work from multiple workqueues in the same group.
180 What: /sys/bus/dsa/devices/wq<m>.<n>/state
183 Contact: dmaengine@vger.kernel.org
184 Description: The current state of the work queue.
186 What: /sys/bus/dsa/devices/wq<m>.<n>/threshold
189 Contact: dmaengine@vger.kernel.org
190 Description: The number of entries in this work queue that may be filled
191 via a limited portal.
193 What: /sys/bus/dsa/devices/wq<m>.<n>/max_transfer_size
195 KernelVersion: 5.10.0
196 Contact: dmaengine@vger.kernel.org
197 Description: The max transfer sized for this workqueue. Cannot exceed device
198 max transfer size. Configurable parameter.
200 What: /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
202 KernelVersion: 5.10.0
203 Contact: dmaengine@vger.kernel.org
204 Description: The max batch size for this workqueue. Cannot exceed device
205 max batch size. Configurable parameter.
207 What: /sys/bus/dsa/devices/wq<m>.<n>/ats_disable
209 KernelVersion: 5.11.0
210 Contact: dmaengine@vger.kernel.org
211 Description: Indicate whether ATS disable is turned on for the workqueue.
212 0 indicates ATS is on, and 1 indicates ATS is off for the workqueue.
214 What: /sys/bus/dsa/devices/engine<m>.<n>/group_id
217 Contact: dmaengine@vger.kernel.org
218 Description: The group that this engine belongs to.