diff options
| author | Frank Li <Frank.Li@nxp.com> | 2026-07-13 13:03:19 -0400 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-07-14 17:25:01 +0530 |
| commit | 99c46385edb155cfd2919b4a44d97f9ea811639e (patch) | |
| tree | fb08be90ae6d7a958181b30af01849d0ea0b72df /include/linux/debugobjects.h | |
| parent | bf1af4dfdc017dfe989c0dbcf0e608dc95f1d2cb (diff) | |
dmaengine: dw-edma: Move control field update of DMA link to the last step
The control field in a DMA link list entry must be updated as the final
step because it includes the CB bit, which indicates whether the entry is
ready. Add dma_wmb() to ensure the correct memory write ordering.
Currently the driver does not update DMA link entries while the DMA is
running, so no visible failure occurs. However, fixing the ordering now
prepares the driver for supporting link entry updates during DMA operation.
Tested-by: Koichiro Den <den@valinux.co.jp>
Tested-By: Devendra Verma <devendra.verma@amd.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260713-edma_ll-v7-1-6fb7498c901e@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
