linux/drivers/dma/dw-edma
Kory Maincent bbcc1c83f3 dmaengine: dw-edma: eDMA: 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 eDMA 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: 7e4b8a4fbe ("dmaengine: Add Synopsys eDMA IP version 0 support")
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://lore.kernel.org/r/20240129-b4-feature_hdma_mainline-v7-6-8e8c1acb7a46@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-02-07 09:30:52 +01:00
..
dw-edma-core.c dmaengine: dw-edma: Add support for native HDMA 2023-05-24 12:20:45 +05:30
dw-edma-core.h dmaengine: dw-edma: Create a new dw_edma_core_ops structure to abstract controller operation 2023-05-24 12:20:45 +05:30
dw-edma-pcie.c dmaengine: dw-edma: Rename dw_edma_core_ops structure to dw_edma_plat_ops 2023-05-24 12:20:45 +05:30
dw-edma-v0-core.c dmaengine: dw-edma: eDMA: Add sync read before starting the DMA transfer in remote setup 2024-02-07 09:30:52 +01:00
dw-edma-v0-core.h dmaengine: dw-edma: Create a new dw_edma_core_ops structure to abstract controller operation 2023-05-24 12:20:45 +05:30
dw-edma-v0-debugfs.c dmaengine: dw-edma: increase size of 'name' in debugfs code 2024-01-19 18:17:34 +05:30
dw-edma-v0-debugfs.h dmaengine: dw-edma: Use DMA engine device debugfs subdirectory 2023-02-10 17:15:23 -06:00
dw-edma-v0-regs.h dmaengine: dw-edma: Fix comments offset characters' alignment 2021-03-16 22:58:52 +05:30
dw-hdma-v0-core.c dmaengine: dw-edma: HDMA: Add sync read before starting the DMA transfer in remote setup 2024-02-07 09:30:51 +01:00
dw-hdma-v0-core.h dmaengine: dw-edma: Add support for native HDMA 2023-05-24 12:20:45 +05:30
dw-hdma-v0-debugfs.c dmaengine: dw-edma: increase size of 'name' in debugfs code 2024-01-19 18:17:34 +05:30
dw-hdma-v0-debugfs.h dmaengine: dw-edma: Add HDMA DebugFS support 2023-05-24 12:20:45 +05:30
dw-hdma-v0-regs.h dmaengine: dw-edma: HDMA_V0_REMOTEL_STOP_INT_EN typo fix 2024-02-07 09:30:51 +01:00
Kconfig dmaengine: dw-edma: Depend on DW_EDMA instead of selecting it 2023-02-22 13:46:04 -06:00
Makefile dmaengine: dw-edma: Add HDMA DebugFS support 2023-05-24 12:20:45 +05:30