Skip to content

dmaengine: k3dma: Fix non-cyclic mode

Antonio Borneo lkml 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 1 replyApplied

Changes in v2 from the cover letter

- split the patch
- change patch title to "dmaengine: ..."

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3dmaengine: k3dma: fix non-cyclic modedrivers/dma/k3dma.c+3 -10 replies
2/3dmaengine: k3dma: fix double free of descriptordrivers/dma/k3dma.c+1 -50 replies
3/3dmaengine: k3dma: remove useless ON_WARN_ONCE()drivers/dma/k3dma.c+0 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] dmaengine: k3dma: Fix non-cyclic mode

Commit 36387a2b1f62b5c087c5fe6f0f7b23b94f722ad7 ("k3dma: Fix memory handling in preparation for cyclic mode") broke the logic around ds_run/ds_done in case of non-cyclic DMA.

This v2 splits the initial patch in three parts:
- the real fix for non-cyclic mode
- another fix for a double free introduced in the same commit
- cosmetic removal of useless ON_WARN_ONCE()

Thread in https://patchwork.kernel.org/patch/9833791/

v1 -> v2
- split the patch
- change patch title to "dmaengine: ..."

Antonio Borneo (3):
dmaengine: k3dma: fix non-cyclic mode
dmaengine: k3dma: fix double free of descriptor
dmaengine: k3dma: remove useless ON_WARN_ONCE()

 drivers/dma/k3dma.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
Signature · 1 line
1.9.1