sysfs-driver-dma-idxd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. What: /sys/bus/dsa/devices/dsa<m>/version
  2. Date: Apr 15, 2020
  3. KernelVersion: 5.8.0
  4. Contact: [email protected]
  5. Description: The hardware version number.
  6. What: /sys/bus/dsa/devices/dsa<m>/cdev_major
  7. Date: Oct 25, 2019
  8. KernelVersion: 5.6.0
  9. Contact: [email protected]
  10. Description: The major number that the character device driver assigned to
  11. this device.
  12. What: /sys/bus/dsa/devices/dsa<m>/errors
  13. Date: Oct 25, 2019
  14. KernelVersion: 5.6.0
  15. Contact: [email protected]
  16. Description: The error information for this device.
  17. What: /sys/bus/dsa/devices/dsa<m>/max_batch_size
  18. Date: Oct 25, 2019
  19. KernelVersion: 5.6.0
  20. Contact: [email protected]
  21. Description: The largest number of work descriptors in a batch.
  22. It's not visible when the device does not support batch.
  23. What: /sys/bus/dsa/devices/dsa<m>/max_work_queues_size
  24. Date: Oct 25, 2019
  25. KernelVersion: 5.6.0
  26. Contact: [email protected]
  27. Description: The maximum work queue size supported by this device.
  28. What: /sys/bus/dsa/devices/dsa<m>/max_engines
  29. Date: Oct 25, 2019
  30. KernelVersion: 5.6.0
  31. Contact: [email protected]
  32. Description: The maximum number of engines supported by this device.
  33. What: /sys/bus/dsa/devices/dsa<m>/max_groups
  34. Date: Oct 25, 2019
  35. KernelVersion: 5.6.0
  36. Contact: [email protected]
  37. Description: The maximum number of groups can be created under this device.
  38. What: /sys/bus/dsa/devices/dsa<m>/max_read_buffers
  39. Date: Dec 10, 2021
  40. KernelVersion: 5.17.0
  41. Contact: [email protected]
  42. Description: The total number of read buffers supported by this device.
  43. The read buffers represent resources within the DSA
  44. implementation, and these resources are allocated by engines to
  45. support operations. See DSA spec v1.2 9.2.4 Total Read Buffers.
  46. It's not visible when the device does not support Read Buffer
  47. allocation control.
  48. What: /sys/bus/dsa/devices/dsa<m>/max_transfer_size
  49. Date: Oct 25, 2019
  50. KernelVersion: 5.6.0
  51. Contact: [email protected]
  52. Description: The number of bytes to be read from the source address to
  53. perform the operation. The maximum transfer size is dependent on
  54. the workqueue the descriptor was submitted to.
  55. What: /sys/bus/dsa/devices/dsa<m>/max_work_queues
  56. Date: Oct 25, 2019
  57. KernelVersion: 5.6.0
  58. Contact: [email protected]
  59. Description: The maximum work queue number that this device supports.
  60. What: /sys/bus/dsa/devices/dsa<m>/numa_node
  61. Date: Oct 25, 2019
  62. KernelVersion: 5.6.0
  63. Contact: [email protected]
  64. Description: The numa node number for this device.
  65. What: /sys/bus/dsa/devices/dsa<m>/op_cap
  66. Date: Oct 25, 2019
  67. KernelVersion: 5.6.0
  68. Contact: [email protected]
  69. Description: The operation capability bit mask specify the operation types
  70. supported by the this device.
  71. What: /sys/bus/dsa/devices/dsa<m>/pasid_enabled
  72. Date: Oct 27, 2020
  73. KernelVersion: 5.11.0
  74. Contact: [email protected]
  75. Description: To indicate if PASID (process address space identifier) is
  76. enabled or not for this device.
  77. What: /sys/bus/dsa/devices/dsa<m>/state
  78. Date: Oct 25, 2019
  79. KernelVersion: 5.6.0
  80. Contact: [email protected]
  81. Description: The state information of this device. It can be either enabled
  82. or disabled.
  83. What: /sys/bus/dsa/devices/dsa<m>/group<m>.<n>
  84. Date: Oct 25, 2019
  85. KernelVersion: 5.6.0
  86. Contact: [email protected]
  87. Description: The assigned group under this device.
  88. What: /sys/bus/dsa/devices/dsa<m>/engine<m>.<n>
  89. Date: Oct 25, 2019
  90. KernelVersion: 5.6.0
  91. Contact: [email protected]
  92. Description: The assigned engine under this device.
  93. What: /sys/bus/dsa/devices/dsa<m>/wq<m>.<n>
  94. Date: Oct 25, 2019
  95. KernelVersion: 5.6.0
  96. Contact: [email protected]
  97. Description: The assigned work queue under this device.
  98. What: /sys/bus/dsa/devices/dsa<m>/configurable
  99. Date: Oct 25, 2019
  100. KernelVersion: 5.6.0
  101. Contact: [email protected]
  102. Description: To indicate if this device is configurable or not.
  103. What: /sys/bus/dsa/devices/dsa<m>/read_buffer_limit
  104. Date: Dec 10, 2021
  105. KernelVersion: 5.17.0
  106. Contact: [email protected]
  107. Description: The maximum number of read buffers that may be in use at
  108. one time by operations that access low bandwidth memory in the
  109. device. See DSA spec v1.2 9.2.8 GENCFG on Global Read Buffer Limit.
  110. It's not visible when the device does not support Read Buffer
  111. allocation control.
  112. What: /sys/bus/dsa/devices/dsa<m>/cmd_status
  113. Date: Aug 28, 2020
  114. KernelVersion: 5.10.0
  115. Contact: [email protected]
  116. Description: The last executed device administrative command's status/error.
  117. Also last configuration error overloaded.
  118. Writing to it will clear the status.
  119. What: /sys/bus/dsa/devices/wq<m>.<n>/block_on_fault
  120. Date: Oct 27, 2020
  121. KernelVersion: 5.11.0
  122. Contact: [email protected]
  123. Description: To indicate block on fault is allowed or not for the work queue
  124. to support on demand paging.
  125. What: /sys/bus/dsa/devices/wq<m>.<n>/group_id
  126. Date: Oct 25, 2019
  127. KernelVersion: 5.6.0
  128. Contact: [email protected]
  129. Description: The group id that this work queue belongs to.
  130. What: /sys/bus/dsa/devices/wq<m>.<n>/size
  131. Date: Oct 25, 2019
  132. KernelVersion: 5.6.0
  133. Contact: [email protected]
  134. Description: The work queue size for this work queue.
  135. What: /sys/bus/dsa/devices/wq<m>.<n>/type
  136. Date: Oct 25, 2019
  137. KernelVersion: 5.6.0
  138. Contact: [email protected]
  139. Description: The type of this work queue, it can be "kernel" type for work
  140. queue usages in the kernel space or "user" type for work queue
  141. usages by applications in user space.
  142. What: /sys/bus/dsa/devices/wq<m>.<n>/cdev_minor
  143. Date: Oct 25, 2019
  144. KernelVersion: 5.6.0
  145. Contact: [email protected]
  146. Description: The minor number assigned to this work queue by the character
  147. device driver.
  148. What: /sys/bus/dsa/devices/wq<m>.<n>/mode
  149. Date: Oct 25, 2019
  150. KernelVersion: 5.6.0
  151. Contact: [email protected]
  152. Description: The work queue mode type for this work queue.
  153. What: /sys/bus/dsa/devices/wq<m>.<n>/priority
  154. Date: Oct 25, 2019
  155. KernelVersion: 5.6.0
  156. Contact: [email protected]
  157. Description: The priority value of this work queue, it is a value relative to
  158. other work queue in the same group to control quality of service
  159. for dispatching work from multiple workqueues in the same group.
  160. What: /sys/bus/dsa/devices/wq<m>.<n>/state
  161. Date: Oct 25, 2019
  162. KernelVersion: 5.6.0
  163. Contact: [email protected]
  164. Description: The current state of the work queue.
  165. What: /sys/bus/dsa/devices/wq<m>.<n>/threshold
  166. Date: Oct 25, 2019
  167. KernelVersion: 5.6.0
  168. Contact: [email protected]
  169. Description: The number of entries in this work queue that may be filled
  170. via a limited portal.
  171. What: /sys/bus/dsa/devices/wq<m>.<n>/max_transfer_size
  172. Date: Aug 28, 2020
  173. KernelVersion: 5.10.0
  174. Contact: [email protected]
  175. Description: The max transfer sized for this workqueue. Cannot exceed device
  176. max transfer size. Configurable parameter.
  177. What: /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
  178. Date: Aug 28, 2020
  179. KernelVersion: 5.10.0
  180. Contact: [email protected]
  181. Description: The max batch size for this workqueue. Cannot exceed device
  182. max batch size. Configurable parameter.
  183. It's not visible when the device does not support batch.
  184. What: /sys/bus/dsa/devices/wq<m>.<n>/ats_disable
  185. Date: Nov 13, 2020
  186. KernelVersion: 5.11.0
  187. Contact: [email protected]
  188. Description: Indicate whether ATS disable is turned on for the workqueue.
  189. 0 indicates ATS is on, and 1 indicates ATS is off for the workqueue.
  190. What: /sys/bus/dsa/devices/wq<m>.<n>/occupancy
  191. Date May 25, 2021
  192. KernelVersion: 5.14.0
  193. Contact: [email protected]
  194. Description: Show the current number of entries in this WQ if WQ Occupancy
  195. Support bit WQ capabilities is 1.
  196. What: /sys/bus/dsa/devices/wq<m>.<n>/enqcmds_retries
  197. Date Oct 29, 2021
  198. KernelVersion: 5.17.0
  199. Contact: [email protected]
  200. Description: Indicate the number of retires for an enqcmds submission on a sharedwq.
  201. A max value to set attribute is capped at 64.
  202. What: /sys/bus/dsa/devices/wq<m>.<n>/op_config
  203. Date: Sept 14, 2022
  204. KernelVersion: 6.0.0
  205. Contact: [email protected]
  206. Description: Shows the operation capability bits displayed in bitmap format
  207. presented by %*pb printk() output format specifier.
  208. The attribute can be configured when the WQ is disabled in
  209. order to configure the WQ to accept specific bits that
  210. correlates to the operations allowed. It's visible only
  211. on platforms that support the capability.
  212. What: /sys/bus/dsa/devices/engine<m>.<n>/group_id
  213. Date: Oct 25, 2019
  214. KernelVersion: 5.6.0
  215. Contact: [email protected]
  216. Description: The group that this engine belongs to.
  217. What: /sys/bus/dsa/devices/group<m>.<n>/use_read_buffer_limit
  218. Date: Dec 10, 2021
  219. KernelVersion: 5.17.0
  220. Contact: [email protected]
  221. Description: Enable the use of global read buffer limit for the group. See DSA
  222. spec v1.2 9.2.18 GRPCFG Use Global Read Buffer Limit.
  223. It's not visible when the device does not support Read Buffer
  224. allocation control.
  225. What: /sys/bus/dsa/devices/group<m>.<n>/read_buffers_allowed
  226. Date: Dec 10, 2021
  227. KernelVersion: 5.17.0
  228. Contact: [email protected]
  229. Description: Indicates max number of read buffers that may be in use at one time
  230. by all engines in the group. See DSA spec v1.2 9.2.18 GRPCFG Read
  231. Buffers Allowed.
  232. It's not visible when the device does not support Read Buffer
  233. allocation control.
  234. What: /sys/bus/dsa/devices/group<m>.<n>/read_buffers_reserved
  235. Date: Dec 10, 2021
  236. KernelVersion: 5.17.0
  237. Contact: [email protected]
  238. Description: Indicates the number of Read Buffers reserved for the use of
  239. engines in the group. See DSA spec v1.2 9.2.18 GRPCFG Read Buffers
  240. Reserved.
  241. It's not visible when the device does not support Read Buffer
  242. allocation control.
  243. What: /sys/bus/dsa/devices/group<m>.<n>/desc_progress_limit
  244. Date: Sept 14, 2022
  245. KernelVersion: 6.0.0
  246. Contact: [email protected]
  247. Description: Allows control of the number of work descriptors that can be
  248. concurrently processed by an engine in the group as a fraction
  249. of the Maximum Work Descriptors in Progress value specified in
  250. the ENGCAP register. The acceptable values are 0 (default),
  251. 1 (1/2 of max value), 2 (1/4 of the max value), and 3 (1/8 of
  252. the max value). It's visible only on platforms that support
  253. the capability.
  254. What: /sys/bus/dsa/devices/group<m>.<n>/batch_progress_limit
  255. Date: Sept 14, 2022
  256. KernelVersion: 6.0.0
  257. Contact: [email protected]
  258. Description: Allows control of the number of batch descriptors that can be
  259. concurrently processed by an engine in the group as a fraction
  260. of the Maximum Batch Descriptors in Progress value specified in
  261. the ENGCAP register. The acceptable values are 0 (default),
  262. 1 (1/2 of max value), 2 (1/4 of the max value), and 3 (1/8 of
  263. the max value). It's visible only on platforms that support
  264. the capability.