162306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/dsa<m>/version
262306a36Sopenharmony_ciDate:		Apr 15, 2020
362306a36Sopenharmony_ciKernelVersion:	5.8.0
462306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
562306a36Sopenharmony_ciDescription:	The hardware version number.
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/cdev_major
862306a36Sopenharmony_ciDate:           Oct 25, 2019
962306a36Sopenharmony_ciKernelVersion:  5.6.0
1062306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1162306a36Sopenharmony_ciDescription:	The major number that the character device driver assigned to
1262306a36Sopenharmony_ci		this device.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/errors
1562306a36Sopenharmony_ciDate:           Oct 25, 2019
1662306a36Sopenharmony_ciKernelVersion:  5.6.0
1762306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1862306a36Sopenharmony_ciDescription:    The error information for this device.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_batch_size
2162306a36Sopenharmony_ciDate:           Oct 25, 2019
2262306a36Sopenharmony_ciKernelVersion:  5.6.0
2362306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
2462306a36Sopenharmony_ciDescription:    The largest number of work descriptors in a batch.
2562306a36Sopenharmony_ci                It's not visible when the device does not support batch.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_work_queues_size
2862306a36Sopenharmony_ciDate:           Oct 25, 2019
2962306a36Sopenharmony_ciKernelVersion:  5.6.0
3062306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
3162306a36Sopenharmony_ciDescription:    The maximum work queue size supported by this device.
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_engines
3462306a36Sopenharmony_ciDate:           Oct 25, 2019
3562306a36Sopenharmony_ciKernelVersion:  5.6.0
3662306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
3762306a36Sopenharmony_ciDescription:    The maximum number of engines supported by this device.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_groups
4062306a36Sopenharmony_ciDate:           Oct 25, 2019
4162306a36Sopenharmony_ciKernelVersion:  5.6.0
4262306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
4362306a36Sopenharmony_ciDescription:    The maximum number of groups can be created under this device.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_read_buffers
4662306a36Sopenharmony_ciDate:           Dec 10, 2021
4762306a36Sopenharmony_ciKernelVersion:  5.17.0
4862306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
4962306a36Sopenharmony_ciDescription:    The total number of read buffers supported by this device.
5062306a36Sopenharmony_ci		The read buffers represent resources within the DSA
5162306a36Sopenharmony_ci		implementation, and these resources are allocated by engines to
5262306a36Sopenharmony_ci		support operations. See DSA spec v1.2 9.2.4 Total Read Buffers.
5362306a36Sopenharmony_ci		It's not visible when the device does not support Read Buffer
5462306a36Sopenharmony_ci		allocation control.
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_transfer_size
5762306a36Sopenharmony_ciDate:           Oct 25, 2019
5862306a36Sopenharmony_ciKernelVersion:  5.6.0
5962306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
6062306a36Sopenharmony_ciDescription:    The number of bytes to be read from the source address to
6162306a36Sopenharmony_ci		perform the operation. The maximum transfer size is dependent on
6262306a36Sopenharmony_ci		the workqueue the descriptor was submitted to.
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_work_queues
6562306a36Sopenharmony_ciDate:           Oct 25, 2019
6662306a36Sopenharmony_ciKernelVersion:  5.6.0
6762306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
6862306a36Sopenharmony_ciDescription:    The maximum work queue number that this device supports.
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/numa_node
7162306a36Sopenharmony_ciDate:           Oct 25, 2019
7262306a36Sopenharmony_ciKernelVersion:  5.6.0
7362306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
7462306a36Sopenharmony_ciDescription:    The numa node number for this device.
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/op_cap
7762306a36Sopenharmony_ciDate:           Oct 25, 2019
7862306a36Sopenharmony_ciKernelVersion:  5.6.0
7962306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
8062306a36Sopenharmony_ciDescription:    The operation capability bit mask specify the operation types
8162306a36Sopenharmony_ci		supported by the this device.
8262306a36Sopenharmony_ci
8362306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/dsa<m>/pasid_enabled
8462306a36Sopenharmony_ciDate:		Oct 27, 2020
8562306a36Sopenharmony_ciKernelVersion:	5.11.0
8662306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
8762306a36Sopenharmony_ciDescription:	To indicate if user PASID (process address space identifier) is
8862306a36Sopenharmony_ci		enabled or not for this device.
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/state
9162306a36Sopenharmony_ciDate:           Oct 25, 2019
9262306a36Sopenharmony_ciKernelVersion:  5.6.0
9362306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
9462306a36Sopenharmony_ciDescription:    The state information of this device. It can be either enabled
9562306a36Sopenharmony_ci		or disabled.
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/group<m>.<n>
9862306a36Sopenharmony_ciDate:           Oct 25, 2019
9962306a36Sopenharmony_ciKernelVersion:  5.6.0
10062306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
10162306a36Sopenharmony_ciDescription:    The assigned group under this device.
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/engine<m>.<n>
10462306a36Sopenharmony_ciDate:           Oct 25, 2019
10562306a36Sopenharmony_ciKernelVersion:  5.6.0
10662306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
10762306a36Sopenharmony_ciDescription:    The assigned engine under this device.
10862306a36Sopenharmony_ci
10962306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/wq<m>.<n>
11062306a36Sopenharmony_ciDate:           Oct 25, 2019
11162306a36Sopenharmony_ciKernelVersion:  5.6.0
11262306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
11362306a36Sopenharmony_ciDescription:    The assigned work queue under this device.
11462306a36Sopenharmony_ci
11562306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/configurable
11662306a36Sopenharmony_ciDate:           Oct 25, 2019
11762306a36Sopenharmony_ciKernelVersion:  5.6.0
11862306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
11962306a36Sopenharmony_ciDescription:    To indicate if this device is configurable or not.
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/read_buffer_limit
12262306a36Sopenharmony_ciDate:           Dec 10, 2021
12362306a36Sopenharmony_ciKernelVersion:  5.17.0
12462306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
12562306a36Sopenharmony_ciDescription:    The maximum number of read buffers that may be in use at
12662306a36Sopenharmony_ci		one time by operations that access low bandwidth memory in the
12762306a36Sopenharmony_ci		device. See DSA spec v1.2 9.2.8 GENCFG on Global Read Buffer Limit.
12862306a36Sopenharmony_ci		It's not visible when the device does not support Read Buffer
12962306a36Sopenharmony_ci		allocation control.
13062306a36Sopenharmony_ci
13162306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/dsa<m>/cmd_status
13262306a36Sopenharmony_ciDate:		Aug 28, 2020
13362306a36Sopenharmony_ciKernelVersion:	5.10.0
13462306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
13562306a36Sopenharmony_ciDescription:	The last executed device administrative command's status/error.
13662306a36Sopenharmony_ci		Also last configuration error overloaded.
13762306a36Sopenharmony_ci		Writing to it will clear the status.
13862306a36Sopenharmony_ci
13962306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/dsa<m>/iaa_cap
14062306a36Sopenharmony_ciDate:		Sept 14, 2022
14162306a36Sopenharmony_ciKernelVersion: 6.0.0
14262306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
14362306a36Sopenharmony_ciDescription:	IAA (IAX) capability mask. Exported to user space for application
14462306a36Sopenharmony_ci		consumption. This attribute should only be visible on IAA devices
14562306a36Sopenharmony_ci		that are version 2 or later.
14662306a36Sopenharmony_ci
14762306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/dsa<m>/event_log_size
14862306a36Sopenharmony_ciDate:		Sept 14, 2022
14962306a36Sopenharmony_ciKernelVersion: 6.4.0
15062306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
15162306a36Sopenharmony_ciDescription:	The event log size to be configured. Default is 64 entries and
15262306a36Sopenharmony_ci		occupies 4k size if the evl entry is 64 bytes. It's visible
15362306a36Sopenharmony_ci		only on platforms that support the capability.
15462306a36Sopenharmony_ci
15562306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/block_on_fault
15662306a36Sopenharmony_ciDate:		Oct 27, 2020
15762306a36Sopenharmony_ciKernelVersion:	5.11.0
15862306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
15962306a36Sopenharmony_ciDescription:	To indicate block on fault is allowed or not for the work queue
16062306a36Sopenharmony_ci		to support on demand paging.
16162306a36Sopenharmony_ci
16262306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/group_id
16362306a36Sopenharmony_ciDate:           Oct 25, 2019
16462306a36Sopenharmony_ciKernelVersion:  5.6.0
16562306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
16662306a36Sopenharmony_ciDescription:    The group id that this work queue belongs to.
16762306a36Sopenharmony_ci
16862306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/size
16962306a36Sopenharmony_ciDate:           Oct 25, 2019
17062306a36Sopenharmony_ciKernelVersion:  5.6.0
17162306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
17262306a36Sopenharmony_ciDescription:    The work queue size for this work queue.
17362306a36Sopenharmony_ci
17462306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/type
17562306a36Sopenharmony_ciDate:           Oct 25, 2019
17662306a36Sopenharmony_ciKernelVersion:  5.6.0
17762306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
17862306a36Sopenharmony_ciDescription:    The type of this work queue, it can be "kernel" type for work
17962306a36Sopenharmony_ci		queue usages in the kernel space or "user" type for work queue
18062306a36Sopenharmony_ci		usages by applications in user space.
18162306a36Sopenharmony_ci
18262306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/cdev_minor
18362306a36Sopenharmony_ciDate:           Oct 25, 2019
18462306a36Sopenharmony_ciKernelVersion:  5.6.0
18562306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
18662306a36Sopenharmony_ciDescription:    The minor number assigned to this work queue by the character
18762306a36Sopenharmony_ci		device driver.
18862306a36Sopenharmony_ci
18962306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/mode
19062306a36Sopenharmony_ciDate:           Oct 25, 2019
19162306a36Sopenharmony_ciKernelVersion:  5.6.0
19262306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
19362306a36Sopenharmony_ciDescription:    The work queue mode type for this work queue.
19462306a36Sopenharmony_ci
19562306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/priority
19662306a36Sopenharmony_ciDate:           Oct 25, 2019
19762306a36Sopenharmony_ciKernelVersion:  5.6.0
19862306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
19962306a36Sopenharmony_ciDescription:    The priority value of this work queue, it is a value relative to
20062306a36Sopenharmony_ci		other work queue in the same group to control quality of service
20162306a36Sopenharmony_ci		for dispatching work from multiple workqueues in the same group.
20262306a36Sopenharmony_ci
20362306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/state
20462306a36Sopenharmony_ciDate:           Oct 25, 2019
20562306a36Sopenharmony_ciKernelVersion:  5.6.0
20662306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
20762306a36Sopenharmony_ciDescription:    The current state of the work queue.
20862306a36Sopenharmony_ci
20962306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/threshold
21062306a36Sopenharmony_ciDate:           Oct 25, 2019
21162306a36Sopenharmony_ciKernelVersion:  5.6.0
21262306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
21362306a36Sopenharmony_ciDescription:    The number of entries in this work queue that may be filled
21462306a36Sopenharmony_ci		via a limited portal.
21562306a36Sopenharmony_ci
21662306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/max_transfer_size
21762306a36Sopenharmony_ciDate:		Aug 28, 2020
21862306a36Sopenharmony_ciKernelVersion:	5.10.0
21962306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
22062306a36Sopenharmony_ciDescription:	The max transfer sized for this workqueue. Cannot exceed device
22162306a36Sopenharmony_ci		max transfer size. Configurable parameter.
22262306a36Sopenharmony_ci
22362306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
22462306a36Sopenharmony_ciDate:		Aug 28, 2020
22562306a36Sopenharmony_ciKernelVersion:	5.10.0
22662306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
22762306a36Sopenharmony_ciDescription:	The max batch size for this workqueue. Cannot exceed device
22862306a36Sopenharmony_ci		max batch size. Configurable parameter.
22962306a36Sopenharmony_ci		It's not visible when the device does not support batch.
23062306a36Sopenharmony_ci
23162306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/ats_disable
23262306a36Sopenharmony_ciDate:		Nov 13, 2020
23362306a36Sopenharmony_ciKernelVersion:	5.11.0
23462306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
23562306a36Sopenharmony_ciDescription:	Indicate whether ATS disable is turned on for the workqueue.
23662306a36Sopenharmony_ci		0 indicates ATS is on, and 1 indicates ATS is off for the workqueue.
23762306a36Sopenharmony_ci
23862306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/prs_disable
23962306a36Sopenharmony_ciDate:		Sept 14, 2022
24062306a36Sopenharmony_ciKernelVersion: 6.4.0
24162306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
24262306a36Sopenharmony_ciDescription:	Controls whether PRS disable is turned on for the workqueue.
24362306a36Sopenharmony_ci		0 indicates PRS is on, and 1 indicates PRS is off for the
24462306a36Sopenharmony_ci		workqueue. This option overrides block_on_fault attribute
24562306a36Sopenharmony_ci		if set. It's visible only on platforms that support the
24662306a36Sopenharmony_ci		capability.
24762306a36Sopenharmony_ci
24862306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/occupancy
24962306a36Sopenharmony_ciDate		May 25, 2021
25062306a36Sopenharmony_ciKernelVersion:	5.14.0
25162306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
25262306a36Sopenharmony_ciDescription:	Show the current number of entries in this WQ if WQ Occupancy
25362306a36Sopenharmony_ci		Support bit WQ capabilities is 1.
25462306a36Sopenharmony_ci
25562306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/enqcmds_retries
25662306a36Sopenharmony_ciDate		Oct 29, 2021
25762306a36Sopenharmony_ciKernelVersion:	5.17.0
25862306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
25962306a36Sopenharmony_ciDescription:	Indicate the number of retires for an enqcmds submission on a sharedwq.
26062306a36Sopenharmony_ci		A max value to set attribute is capped at 64.
26162306a36Sopenharmony_ci
26262306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/op_config
26362306a36Sopenharmony_ciDate:		Sept 14, 2022
26462306a36Sopenharmony_ciKernelVersion:	6.0.0
26562306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
26662306a36Sopenharmony_ciDescription:	Shows the operation capability bits displayed in bitmap format
26762306a36Sopenharmony_ci		presented by %*pb printk() output format specifier.
26862306a36Sopenharmony_ci		The attribute can be configured when the WQ is disabled in
26962306a36Sopenharmony_ci		order to configure the WQ to accept specific bits that
27062306a36Sopenharmony_ci		correlates to the operations allowed. It's visible only
27162306a36Sopenharmony_ci		on platforms that support the capability.
27262306a36Sopenharmony_ci
27362306a36Sopenharmony_ciWhat:           /sys/bus/dsa/devices/engine<m>.<n>/group_id
27462306a36Sopenharmony_ciDate:           Oct 25, 2019
27562306a36Sopenharmony_ciKernelVersion:  5.6.0
27662306a36Sopenharmony_ciContact:        dmaengine@vger.kernel.org
27762306a36Sopenharmony_ciDescription:    The group that this engine belongs to.
27862306a36Sopenharmony_ci
27962306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/group<m>.<n>/use_read_buffer_limit
28062306a36Sopenharmony_ciDate:		Dec 10, 2021
28162306a36Sopenharmony_ciKernelVersion:	5.17.0
28262306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
28362306a36Sopenharmony_ciDescription:	Enable the use of global read buffer limit for the group. See DSA
28462306a36Sopenharmony_ci		spec v1.2 9.2.18 GRPCFG Use Global Read Buffer Limit.
28562306a36Sopenharmony_ci		It's not visible when the device does not support Read Buffer
28662306a36Sopenharmony_ci		allocation control.
28762306a36Sopenharmony_ci
28862306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/group<m>.<n>/read_buffers_allowed
28962306a36Sopenharmony_ciDate:		Dec 10, 2021
29062306a36Sopenharmony_ciKernelVersion:	5.17.0
29162306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
29262306a36Sopenharmony_ciDescription:	Indicates max number of read buffers that may be in use at one time
29362306a36Sopenharmony_ci		by all engines in the group. See DSA spec v1.2 9.2.18 GRPCFG Read
29462306a36Sopenharmony_ci		Buffers Allowed.
29562306a36Sopenharmony_ci		It's not visible when the device does not support Read Buffer
29662306a36Sopenharmony_ci		allocation control.
29762306a36Sopenharmony_ci
29862306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/group<m>.<n>/read_buffers_reserved
29962306a36Sopenharmony_ciDate:		Dec 10, 2021
30062306a36Sopenharmony_ciKernelVersion:	5.17.0
30162306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
30262306a36Sopenharmony_ciDescription:	Indicates the number of Read Buffers reserved for the use of
30362306a36Sopenharmony_ci		engines in the group. See DSA spec v1.2 9.2.18 GRPCFG Read Buffers
30462306a36Sopenharmony_ci		Reserved.
30562306a36Sopenharmony_ci		It's not visible when the device does not support Read Buffer
30662306a36Sopenharmony_ci		allocation control.
30762306a36Sopenharmony_ci
30862306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/group<m>.<n>/desc_progress_limit
30962306a36Sopenharmony_ciDate:		Sept 14, 2022
31062306a36Sopenharmony_ciKernelVersion:	6.0.0
31162306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
31262306a36Sopenharmony_ciDescription:	Allows control of the number of work descriptors that can be
31362306a36Sopenharmony_ci		concurrently processed by an engine in the group as a fraction
31462306a36Sopenharmony_ci		of the Maximum Work Descriptors in Progress value specified in
31562306a36Sopenharmony_ci		the ENGCAP register. The acceptable values are 0 (default),
31662306a36Sopenharmony_ci		1 (1/2 of max value), 2 (1/4 of the max value), and 3 (1/8 of
31762306a36Sopenharmony_ci		the max value). It's visible only on platforms that support
31862306a36Sopenharmony_ci		the capability.
31962306a36Sopenharmony_ci
32062306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/group<m>.<n>/batch_progress_limit
32162306a36Sopenharmony_ciDate:		Sept 14, 2022
32262306a36Sopenharmony_ciKernelVersion:	6.0.0
32362306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
32462306a36Sopenharmony_ciDescription:	Allows control of the number of batch descriptors that can be
32562306a36Sopenharmony_ci		concurrently processed by an engine in the group as a fraction
32662306a36Sopenharmony_ci		of the Maximum Batch Descriptors in Progress value specified in
32762306a36Sopenharmony_ci		the ENGCAP register. The acceptable values are 0 (default),
32862306a36Sopenharmony_ci		1 (1/2 of max value), 2 (1/4 of the max value), and 3 (1/8 of
32962306a36Sopenharmony_ci		the max value). It's visible only on platforms that support
33062306a36Sopenharmony_ci		the capability.
33162306a36Sopenharmony_ci
33262306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/dsa<x>\!wq<m>.<n>/file<y>/cr_faults
33362306a36Sopenharmony_ciDate:		Sept 14, 2022
33462306a36Sopenharmony_ciKernelVersion:	6.4.0
33562306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
33662306a36Sopenharmony_ciDescription:	Show the number of Completion Record (CR) faults this application
33762306a36Sopenharmony_ci		has caused.
33862306a36Sopenharmony_ci
33962306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/dsa<x>\!wq<m>.<n>/file<y>/cr_fault_failures
34062306a36Sopenharmony_ciDate:		Sept 14, 2022
34162306a36Sopenharmony_ciKernelVersion:	6.4.0
34262306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
34362306a36Sopenharmony_ciDescription:	Show the number of Completion Record (CR) faults failures that this
34462306a36Sopenharmony_ci		application has caused. The failure counter is incremented when the
34562306a36Sopenharmony_ci		driver cannot fault in the address for the CR. Typically this is caused
34662306a36Sopenharmony_ci		by a bad address programmed in the submitted descriptor or a malicious
34762306a36Sopenharmony_ci		submitter is using bad CR address on purpose.
34862306a36Sopenharmony_ci
34962306a36Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/dsa<x>\!wq<m>.<n>/file<y>/pid
35062306a36Sopenharmony_ciDate:		Sept 14, 2022
35162306a36Sopenharmony_ciKernelVersion:	6.4.0
35262306a36Sopenharmony_ciContact:	dmaengine@vger.kernel.org
35362306a36Sopenharmony_ciDescription:	Show the process id of the application that opened the file. This is
35462306a36Sopenharmony_ci		helpful information for a monitor daemon that wants to kill the
35562306a36Sopenharmony_ci		application that opened the file.
356