1
linux/drivers/dma/ti
Jai Luthra d35f406429 dmaengine: ti: k3-udma: Set EOP for all TRs in cyclic BCDMA transfer
When receiving data in cyclic mode from PDMA peripherals, where reload
count is set to infinite, any TR in the set can potentially be the last
one of the overall transfer. In such cases, the EOP flag needs to be set
in each TR and PDMA's Static TR "Z" parameter should be set, matching
the size of the TR.

This is required for the teardown to function properly and cleanup the
internal state memory. This only affects platforms using BCDMA and not
those using UDMA-P, which could set EOP flag in the teardown TR
automatically.

Similarly when transmitting data in cyclic mode to PDMA peripherals, the
EOP flag needs to be set to get the teardown completion signal
correctly.

Fixes: 0177947397 ("dmaengine: ti: k3-udma: Initial support for K3 BCDMA")
Tested-by: Francesco Dolcini <francesco.dolcini@toradex.com> # Toradex Verdin AM62
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Jai Luthra <jai.luthra@linux.dev>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20240930-z_cnt-v2-1-9d38aba149a2@linux.dev
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-10-14 23:41:05 +05:30
..
cppi41.c dmaengine: ti: cppi41: add missing MODULE_DESCRIPTION() macro 2024-06-28 13:03:59 +05:30
dma-crossbar.c
edma.c
k3-psil-am62.c
k3-psil-am62a.c
k3-psil-am62p.c
k3-psil-am64.c
k3-psil-am654.c
k3-psil-j721e.c
k3-psil-j721s2.c
k3-psil-j784s4.c
k3-psil-j7200.c
k3-psil-priv.h
k3-psil.c dmaengine: ti: add missing MODULE_DESCRIPTION() macros 2024-06-28 13:04:38 +05:30
k3-udma-glue.c dmaengine updates for v6.11 2024-07-24 12:34:47 -07:00
k3-udma-private.c
k3-udma.c dmaengine: ti: k3-udma: Set EOP for all TRs in cyclic BCDMA transfer 2024-10-14 23:41:05 +05:30
k3-udma.h dmaengine: ti: k3-udma: Remove unused declarations 2024-08-28 23:35:13 +05:30
Kconfig
Makefile
omap-dma.c dmaengine: ti: omap-dma: Initialize sglen after allocation 2024-08-05 22:28:13 +05:30