[PATCH v2 00/11] dmaengine: Fix teardown races, resource leaks, and error handling
Lee Jones
lee at kernel.org
Tue Nov 17 08:37:01 PST 2026
These issues were reported by Sashiko.
v1 => v2:
- ae4dma: Make the completion work terminable, so that cancelling it can
no longer hang, and stop it before destroying the descriptor cache
(Basavaraj)
- jz4780: Correct the Fixes: tag
v1: https://lore.kernel.org/all/20261111215349.1983909-1-lee@kernel.org/
Cc: Akinobu Mita <akinobu.mita at gmail.com>
Cc: Alex Smith <alex at alex-smith.me.uk>
Cc: Andrey Volkov <avolkov at varma-el.com>
Cc: Basavaraj Natikar <Basavaraj.Natikar at amd.com>
Cc: Colin Ian King <colin.i.king at gmail.com>
Cc: Dale Farnsworth <dfarnsworth at mvista.com>
Cc: dmaengine at vger.kernel.org
Cc: Frank Li <Frank.Li at kernel.org>
Cc: Gary R Hook <gary.hook at amd.com>
Cc: Grant Likely <grant.likely at secretlab.ca>
Cc: Jacky Huang <ychuang3 at nuvoton.com>
Cc: Joachim Eastwood <manabian at gmail.com>
Cc: Linus Walleij <linusw at kernel.org>
Cc: linux-amlogic at lists.infradead.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-mips at vger.kernel.org
Cc: Paul Cercueil <paul at crapouillou.net>
Cc: Peter Pearse <peter.pearse at arm.com>
Cc: Philipp Stanner <pstanner at redhat.com>
Cc: Raju Rangoju <Raju.Rangoju at amd.com>
Cc: Robin Murphy <robin.murphy at arm.com>
Cc: Sanjay R Mehta <sanju.mehta at amd.com>
Cc: Shan-Chun Hung <schung at nuvoton.com>
Cc: Sylvain Munaut <tnt at 246tNt.com>
Cc: Vinod Koul <vkoul at kernel.org>
Cc: Xianwei Zhao <xianwei.zhao at amlogic.com>
Lee Jones (11):
dmaengine: pl08x: Defer OF DMA controller registration until slave
setup
dmaengine: ae4dma: Let the pending work exit before cancelling it
dmaengine: ae4dma: Unregister DMA engine in ae4_pci_remove()
dmaengine: ptdma: Unmap descriptor in pt_do_cleanup()
dmaengine: ptdma: Remove completed descriptor under vc.lock in
pt_cmd_callback_work()
dmaengine: amlogic: Destroy free_wq after devres DMA device
unregistration
dmaengine: arm-dma350: Query dma_cookie_status() under vc.lock in
d350_tx_status()
dmaengine: bestcomm: Defer publishing bcom_eng until initialisation
completes
dmaengine: bestcomm: Check rh_create() return value in
bcom_sram_init()
dmaengine: jz4780: Fix descriptor cleanup on hwdesc setup failure
dmaengine: dmatest: Avoid unsigned underflow in min_odd()
drivers/dma/amba-pl08x.c | 23 +++++++++
drivers/dma/amd/ae4dma/ae4dma-dev.c | 8 +++
drivers/dma/amd/ae4dma/ae4dma-pci.c | 6 +++
drivers/dma/amd/ae4dma/ae4dma.h | 1 +
drivers/dma/amd/ptdma/ptdma-dmaengine.c | 3 +-
drivers/dma/amlogic-dma.c | 3 +-
drivers/dma/arm-dma350.c | 3 +-
drivers/dma/bestcomm/bestcomm.c | 69 +++++++++++++------------
drivers/dma/bestcomm/sram.c | 6 +++
drivers/dma/dma-jz4780.c | 5 +-
drivers/dma/dmatest.c | 6 +++
11 files changed, 93 insertions(+), 40 deletions(-)
--
2.56.0.679.gc527c65306-goog
More information about the linux-arm-kernel
mailing list