Skip to contentSkip to conversation

docs: dmaengine: add explanation for phys field in dma_async_tx_descriptor structure

PATCH Applied Bhanu Seshu Kumar Valluri 3 participants 4 messages Nov 13, 2025 – Dec 16, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: dmaengine: add explanation for phys field in dma_async_tx_descriptor structure

Describe the need to initialize the phys field in the dma_async_tx_descriptor structure during its initialization.

---
 Documentation/driver-api/dmaengine/provider.rst | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/driver-api/dmaengine/provider.rst +4 -1
index 1594598b3..f4ed98f70 100644
@@ -411,7 +411,7 @@ supported.
   - This structure can be initialized using the function
     ``dma_async_tx_descriptor_init``.
 
-  - You'll also need to set two fields in this structure:
+  - You'll also need to set following fields in this structure:
 
     - flags:
       TODO: Can it be modified by the driver itself, or
@@ -421,6 +421,9 @@ supported.
       that is supposed to push the current transaction descriptor to a
       pending queue, waiting for issue_pending to be called.
 
+    - phys: Physical address of the descriptor which is used later by
+      the dma engine to read the descriptor and initiate transfer.
+
   - In this structure the function pointer callback_result can be
     initialized in order for the submitter to be notified that a
     transaction has completed. In the earlier code the function pointer
Signature · 1 line
2.34.1
#1 lore raw
Quoted 22 lines · Bhanu Seshu Kumar Valluri

Describe the need to initialize the phys field in the dma_async_tx_descriptor structure during its initialization.

---
 Documentation/driver-api/dmaengine/provider.rst | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/driver-api/dmaengine/provider.rst +1 -1
index 1594598b3..f4ed98f70 100644
@@ -411,7 +411,7 @@ supported.
   - This structure can be initialized using the function
     ``dma_async_tx_descriptor_init``.
 
-  - You'll also need to set two fields in this structure:
+  - You'll also need to set following fields in this structure:
 
     - flags:
       TODO: Can it be modified by the driver itself, or

Documentation/driver-api/dmaengine/provider.rst supported. · line 429

Quoted 9 lines
Documentation/driver-api/dmaengine/provider.rst +3 -0
@@ -421,6 +421,9 @@ supported.
       that is supposed to push the current transaction descriptor to a
       pending queue, waiting for issue_pending to be called.
 
+    - phys: Physical address of the descriptor which is used later by
+      the dma engine to read the descriptor and initiate transfer.
+
   - In this structure the function pointer callback_result can be
     initialized in order for the submitter to be notified that a
     transaction has completed. In the earlier code the function pointer

Hi,

I just wanted to check if you had a chance to review it or if any changes are needed from my side.

Regards,
Bhanu Seshu Kumar Valluri

Reviewed-by on v1 1/1
#2 lore raw
In reply to Bhanu Seshu Kumar Valluri
Quoted 14 lines · Bhanu Seshu Kumar Valluri
Documentation/driver-api/dmaengine/provider.rst +1 -1
index 1594598b3..f4ed98f70 100644
@@ -411,7 +411,7 @@ supported.
   - This structure can be initialized using the function
     ``dma_async_tx_descriptor_init``.
 
-  - You'll also need to set two fields in this structure:
+  - You'll also need to set following fields in this structure:
 
     - flags:
       TODO: Can it be modified by the driver itself, or

Documentation/driver-api/dmaengine/provider.rst supported. · line 429

Quoted 9 lines
Documentation/driver-api/dmaengine/provider.rst +3 -0
@@ -421,6 +421,9 @@ supported.
       that is supposed to push the current transaction descriptor to a
       pending queue, waiting for issue_pending to be called.
 
+    - phys: Physical address of the descriptor which is used later by
+      the dma engine to read the descriptor and initiate transfer.
+
   - In this structure the function pointer callback_result can be
     initialized in order for the submitter to be notified that a
     transaction has completed. In the earlier code the function pointer

The wording LGTM, thanks!

Signature · 1 line
An old man doll... just what I always wanted! - Clara
maintainer Applied
#3 lore raw
In reply to Bhanu Seshu Kumar Valluri
Quoted 4 lines · Bhanu Seshu Kumar Valluri

Describe the need to initialize the phys field in the dma_async_tx_descriptor structure during its initialization.

Applied, thanks!

[1/1] docs: dmaengine: add explanation for phys field in dma_async_tx_descriptor structure

      commit: 08be54a9e56f9523b50d1923a94a48ef5890c0bc

Best regards,

Signature · 1 line
~Vinod