dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: dmaengine: add explanation for DMA_ASYNC_TX capability
@ 2025-04-21  1:02 kendrajmoore
  2025-05-06 13:16 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: kendrajmoore @ 2025-04-21  1:02 UTC (permalink / raw)
  To: dmaengine; +Cc: vkoul, corbet, linux-doc, linux-kernel, Kendra Moore

From: Kendra Moore <kendra.j.moore3443@gmail.com>

This patch replaces the TODO for DMA_ASYNC_TX in the DMA engine
provider documentation. The flag is automatically set by the DMA
framework when a device supports key asynchronous memory-to-memory
operations such as memcpy, memset, xor, pq, xor_val, and pq_val.

It must not be set by drivers directly.

Signed-off-by: Kendra Moore <kendra.j.moore3443@gmail.com>
---
 Documentation/driver-api/dmaengine/provider.rst | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Documentation/driver-api/dmaengine/provider.rst b/Documentation/driver-api/dmaengine/provider.rst
index 3085f8b460fa..aac2a18bd453 100644
--- a/Documentation/driver-api/dmaengine/provider.rst
+++ b/Documentation/driver-api/dmaengine/provider.rst
@@ -217,10 +217,12 @@ Currently, the types available are:
 
 - DMA_ASYNC_TX
 
-  - Must not be set by the device, and will be set by the framework
-    if needed
+  - The device supports asynchronous memory-to-memory operations,
+    including memcpy, memset, xor, pq, xor_val, and pq_val.
 
-  - TODO: What is it about?
+  - This capability is automatically set by the DMA engine
+    framework and must not be configured manually by device
+    drivers.
 
 - DMA_SLAVE
 
-- 
2.39.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs: dmaengine: add explanation for DMA_ASYNC_TX capability
  2025-04-21  1:02 [PATCH] docs: dmaengine: add explanation for DMA_ASYNC_TX capability kendrajmoore
@ 2025-05-06 13:16 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2025-05-06 13:16 UTC (permalink / raw)
  To: kendrajmoore, dmaengine; +Cc: vkoul, linux-doc, linux-kernel, Kendra Moore

kendrajmoore <kendra.j.moore3443@gmail.com> writes:

> From: Kendra Moore <kendra.j.moore3443@gmail.com>
>
> This patch replaces the TODO for DMA_ASYNC_TX in the DMA engine
> provider documentation. The flag is automatically set by the DMA
> framework when a device supports key asynchronous memory-to-memory
> operations such as memcpy, memset, xor, pq, xor_val, and pq_val.
>
> It must not be set by drivers directly.
>
> Signed-off-by: Kendra Moore <kendra.j.moore3443@gmail.com>
> ---
>  Documentation/driver-api/dmaengine/provider.rst | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-06 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-21  1:02 [PATCH] docs: dmaengine: add explanation for DMA_ASYNC_TX capability kendrajmoore
2025-05-06 13:16 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).