2024-03-12 18:13:45

by Francesco Dolcini

[permalink] [raw]
Subject: Re: [PATCH] dmaengine: ti: k3-udma: Fix teardown timeout for cyclic mode

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 <[email protected]>
> Signed-off-by: Vignesh Raghavendra <[email protected]>

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

Francesco