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.
131 Also last configuration error overloaded.
132 Writing to it will clear the status.
134 What: /sys/bus/dsa/devices/wq<m>.<n>/block_on_fault
136 KernelVersion: 5.11.0
137 Contact: dmaengine@vger.kernel.org
138 Description: To indicate block on fault is allowed or not for the work queue
139 to support on demand paging.
141 What: /sys/bus/dsa/devices/wq<m>.<n>/group_id
144 Contact: dmaengine@vger.kernel.org
145 Description: The group id that this work queue belongs to.
147 What: /sys/bus/dsa/devices/wq<m>.<n>/size
150 Contact: dmaengine@vger.kernel.org
151 Description: The work queue size for this work queue.
153 What: /sys/bus/dsa/devices/wq<m>.<n>/type
156 Contact: dmaengine@vger.kernel.org
157 Description: The type of this work queue, it can be "kernel" type for work
158 queue usages in the kernel space or "user" type for work queue
159 usages by applications in user space.
161 What: /sys/bus/dsa/devices/wq<m>.<n>/cdev_minor
164 Contact: dmaengine@vger.kernel.org
165 Description: The minor number assigned to this work queue by the character
168 What: /sys/bus/dsa/devices/wq<m>.<n>/mode
171 Contact: dmaengine@vger.kernel.org
172 Description: The work queue mode type for this work queue.
174 What: /sys/bus/dsa/devices/wq<m>.<n>/priority
177 Contact: dmaengine@vger.kernel.org
178 Description: The priority value of this work queue, it is a value relative to
179 other work queue in the same group to control quality of service
180 for dispatching work from multiple workqueues in the same group.
182 What: /sys/bus/dsa/devices/wq<m>.<n>/state
185 Contact: dmaengine@vger.kernel.org
186 Description: The current state of the work queue.
188 What: /sys/bus/dsa/devices/wq<m>.<n>/threshold
191 Contact: dmaengine@vger.kernel.org
192 Description: The number of entries in this work queue that may be filled
193 via a limited portal.
195 What: /sys/bus/dsa/devices/wq<m>.<n>/max_transfer_size
197 KernelVersion: 5.10.0
198 Contact: dmaengine@vger.kernel.org
199 Description: The max transfer sized for this workqueue. Cannot exceed device
200 max transfer size. Configurable parameter.
202 What: /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
204 KernelVersion: 5.10.0
205 Contact: dmaengine@vger.kernel.org
206 Description: The max batch size for this workqueue. Cannot exceed device
207 max batch size. Configurable parameter.
209 What: /sys/bus/dsa/devices/wq<m>.<n>/ats_disable
211 KernelVersion: 5.11.0
212 Contact: dmaengine@vger.kernel.org
213 Description: Indicate whether ATS disable is turned on for the workqueue.
214 0 indicates ATS is on, and 1 indicates ATS is off for the workqueue.
216 What: /sys/bus/dsa/devices/wq<m>.<n>/occupancy
218 KernelVersion: 5.14.0
219 Contact: dmaengine@vger.kernel.org
220 Description: Show the current number of entries in this WQ if WQ Occupancy
221 Support bit WQ capabilities is 1.
223 What: /sys/bus/dsa/devices/engine<m>.<n>/group_id
226 Contact: dmaengine@vger.kernel.org
227 Description: The group that this engine belongs to.