[PATCH] dmaengine: ti: k3-udma: Fix teardown timeout for cyclic mode

Francesco Dolcini francesco at dolcini.it
Tue Mar 12 11:13:25 PDT 2024


Hello Vignesh,

On Mon, Aug 21, 2023 at 04:10:03PM +0530, Vignesh Raghavendra wrote:
> In cyclic mode, last descriptor needs to have EOP flag set so that
> teardown flushes data towards PDMA in case of MEM_TO_DMA.  Else,
> operation will not complete successfully leading to spurious timeout on
> channel terminate.
> 
> Without this terminating aplay cmd outputs false error msg like:
> [116.402800] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout!
> 
> This doesn't seem to be problem with UDMA-P on J7xx devices (although is
> a requirement as per spec) but shows up easily on BCDMA + McASP. Fix
> this by setting the appropriate flag
> 
> Fixes: 017794739702 ("dmaengine: ti: k3-udma: Initial support for K3 BCDMA")
> Suggested-by: Peter Ujfalusi <peter.ujfalusi at gmail.com>
> Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>

Any update on this? Not sure what's the current status here.
How can I help?

Francesco




More information about the linux-arm-kernel mailing list