Skip to content
Commit 712a92a4 authored by Kory Maincent's avatar Kory Maincent Committed by Vinod Koul
Browse files

dmaengine: dw-edma: HDMA: Add sync read before starting the DMA transfer in remote setup



The Linked list element and pointer are not stored in the same memory as
the HDMA controller register. If the doorbell register is toggled before
the full write of the linked list a race condition error will occur.
In remote setup we can only use a readl to the memory to assure the full
write has occurred.

Fixes: e74c3957 ("dmaengine: dw-edma: Add support for native HDMA")
Reviewed-by: default avatarSerge Semin <fancer.lancer@gmail.com>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: default avatarKory Maincent <kory.maincent@bootlin.com>
Link: https://lore.kernel.org/r/20240129-b4-feature_hdma_mainline-v7-5-8e8c1acb7a46@bootlin.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent e2f6a578
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment