Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux-2.6-microblaze.git] / Documentation / ABI / stable / sysfs-driver-dma-idxd
1 What:           /sys/bus/dsa/devices/dsa<m>/version
2 Date:           Apr 15, 2020
3 KernelVersion:  5.8.0
4 Contact:        dmaengine@vger.kernel.org
5 Description:    The hardware version number.
6
7 What:           /sys/bus/dsa/devices/dsa<m>/cdev_major
8 Date:           Oct 25, 2019
9 KernelVersion:  5.6.0
10 Contact:        dmaengine@vger.kernel.org
11 Description:    The major number that the character device driver assigned to
12                 this device.
13
14 What:           /sys/bus/dsa/devices/dsa<m>/errors
15 Date:           Oct 25, 2019
16 KernelVersion:  5.6.0
17 Contact:        dmaengine@vger.kernel.org
18 Description:    The error information for this device.
19
20 What:           /sys/bus/dsa/devices/dsa<m>/max_batch_size
21 Date:           Oct 25, 2019
22 KernelVersion:  5.6.0
23 Contact:        dmaengine@vger.kernel.org
24 Description:    The largest number of work descriptors in a batch.
25
26 What:           /sys/bus/dsa/devices/dsa<m>/max_work_queues_size
27 Date:           Oct 25, 2019
28 KernelVersion:  5.6.0
29 Contact:        dmaengine@vger.kernel.org
30 Description:    The maximum work queue size supported by this device.
31
32 What:           /sys/bus/dsa/devices/dsa<m>/max_engines
33 Date:           Oct 25, 2019
34 KernelVersion:  5.6.0
35 Contact:        dmaengine@vger.kernel.org
36 Description:    The maximum number of engines supported by this device.
37
38 What:           /sys/bus/dsa/devices/dsa<m>/max_groups
39 Date:           Oct 25, 2019
40 KernelVersion:  5.6.0
41 Contact:        dmaengine@vger.kernel.org
42 Description:    The maximum number of groups can be created under this device.
43
44 What:           /sys/bus/dsa/devices/dsa<m>/max_tokens
45 Date:           Oct 25, 2019
46 KernelVersion:  5.6.0
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
51                 support operations.
52
53 What:           /sys/bus/dsa/devices/dsa<m>/max_transfer_size
54 Date:           Oct 25, 2019
55 KernelVersion:  5.6.0
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.
60
61 What:           /sys/bus/dsa/devices/dsa<m>/max_work_queues
62 Date:           Oct 25, 2019
63 KernelVersion:  5.6.0
64 Contact:        dmaengine@vger.kernel.org
65 Description:    The maximum work queue number that this device supports.
66
67 What:           /sys/bus/dsa/devices/dsa<m>/numa_node
68 Date:           Oct 25, 2019
69 KernelVersion:  5.6.0
70 Contact:        dmaengine@vger.kernel.org
71 Description:    The numa node number for this device.
72
73 What:           /sys/bus/dsa/devices/dsa<m>/op_cap
74 Date:           Oct 25, 2019
75 KernelVersion:  5.6.0
76 Contact:        dmaengine@vger.kernel.org
77 Description:    The operation capability bit mask specify the operation types
78                 supported by the this device.
79
80 What:           /sys/bus/dsa/devices/dsa<m>/pasid_enabled
81 Date:           Oct 27, 2020
82 KernelVersion:  5.11.0
83 Contact:        dmaengine@vger.kernel.org
84 Description:    To indicate if PASID (process address space identifier) is
85                 enabled or not for this device.
86
87 What:           /sys/bus/dsa/devices/dsa<m>/state
88 Date:           Oct 25, 2019
89 KernelVersion:  5.6.0
90 Contact:        dmaengine@vger.kernel.org
91 Description:    The state information of this device. It can be either enabled
92                 or disabled.
93
94 What:           /sys/bus/dsa/devices/dsa<m>/group<m>.<n>
95 Date:           Oct 25, 2019
96 KernelVersion:  5.6.0
97 Contact:        dmaengine@vger.kernel.org
98 Description:    The assigned group under this device.
99
100 What:           /sys/bus/dsa/devices/dsa<m>/engine<m>.<n>
101 Date:           Oct 25, 2019
102 KernelVersion:  5.6.0
103 Contact:        dmaengine@vger.kernel.org
104 Description:    The assigned engine under this device.
105
106 What:           /sys/bus/dsa/devices/dsa<m>/wq<m>.<n>
107 Date:           Oct 25, 2019
108 KernelVersion:  5.6.0
109 Contact:        dmaengine@vger.kernel.org
110 Description:    The assigned work queue under this device.
111
112 What:           /sys/bus/dsa/devices/dsa<m>/configurable
113 Date:           Oct 25, 2019
114 KernelVersion:  5.6.0
115 Contact:        dmaengine@vger.kernel.org
116 Description:    To indicate if this device is configurable or not.
117
118 What:           /sys/bus/dsa/devices/dsa<m>/token_limit
119 Date:           Oct 25, 2019
120 KernelVersion:  5.6.0
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
124                 device.
125
126 What:           /sys/bus/dsa/devices/dsa<m>/cmd_status
127 Date:           Aug 28, 2020
128 KernelVersion:  5.10.0
129 Contact:        dmaengine@vger.kernel.org
130 Description:    The last executed device administrative command's status/error.
131
132 What:           /sys/bus/dsa/devices/wq<m>.<n>/block_on_fault
133 Date:           Oct 27, 2020
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.
138
139 What:           /sys/bus/dsa/devices/wq<m>.<n>/group_id
140 Date:           Oct 25, 2019
141 KernelVersion:  5.6.0
142 Contact:        dmaengine@vger.kernel.org
143 Description:    The group id that this work queue belongs to.
144
145 What:           /sys/bus/dsa/devices/wq<m>.<n>/size
146 Date:           Oct 25, 2019
147 KernelVersion:  5.6.0
148 Contact:        dmaengine@vger.kernel.org
149 Description:    The work queue size for this work queue.
150
151 What:           /sys/bus/dsa/devices/wq<m>.<n>/type
152 Date:           Oct 25, 2019
153 KernelVersion:  5.6.0
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.
158
159 What:           /sys/bus/dsa/devices/wq<m>.<n>/cdev_minor
160 Date:           Oct 25, 2019
161 KernelVersion:  5.6.0
162 Contact:        dmaengine@vger.kernel.org
163 Description:    The minor number assigned to this work queue by the character
164                 device driver.
165
166 What:           /sys/bus/dsa/devices/wq<m>.<n>/mode
167 Date:           Oct 25, 2019
168 KernelVersion:  5.6.0
169 Contact:        dmaengine@vger.kernel.org
170 Description:    The work queue mode type for this work queue.
171
172 What:           /sys/bus/dsa/devices/wq<m>.<n>/priority
173 Date:           Oct 25, 2019
174 KernelVersion:  5.6.0
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.
179
180 What:           /sys/bus/dsa/devices/wq<m>.<n>/state
181 Date:           Oct 25, 2019
182 KernelVersion:  5.6.0
183 Contact:        dmaengine@vger.kernel.org
184 Description:    The current state of the work queue.
185
186 What:           /sys/bus/dsa/devices/wq<m>.<n>/threshold
187 Date:           Oct 25, 2019
188 KernelVersion:  5.6.0
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.
192
193 What:           /sys/bus/dsa/devices/wq<m>.<n>/max_transfer_size
194 Date:           Aug 28, 2020
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.
199
200 What:           /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
201 Date:           Aug 28, 2020
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.
206
207 What:           /sys/bus/dsa/devices/wq<m>.<n>/ats_disable
208 Date:           Nov 13, 2020
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.
213
214 What:           /sys/bus/dsa/devices/engine<m>.<n>/group_id
215 Date:           Oct 25, 2019
216 KernelVersion:  5.6.0
217 Contact:        dmaengine@vger.kernel.org
218 Description:    The group that this engine belongs to.