[PATCH 00/10] dmaengine: Fix teardown races, resource leaks, and error handling

Lee Jones lee at kernel.org
Wed Nov 11 13:52:38 PST 2026


These issues were reported by Sashiko.

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>
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel at imgtec.com>

Lee Jones (10):
  dmaengine: pl08x: Defer OF DMA controller registration until slave
    setup
  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-pci.c     |  1 +
 drivers/dma/amd/ptdma/ptdma-dmaengine.c |  4 +-
 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 +++
 9 files changed, 80 insertions(+), 40 deletions(-)

-- 
2.56.0.567.gdb80ae8cd5-goog




More information about the linux-arm-kernel mailing list