[PATCH 0/6] dmaengine: zynqmp_dma: Fix error paths and follow-up cleanups

From: Golla Nagendra

Date: Thu Aug 06 2026 - 08:33:57 EST


This series fixes error-path cleanup issues in alloc/probe flows and
applies follow-up cleanups in the Xilinx ZynqMP DMA driver.

Patch 1 fixes alloc_chan_resources() rollback after runtime PM has been
acquired, including software descriptor pool cleanup on coherent
allocation failure.

Patch 2 fixes channel probe/remove error handling by preserving
platform_get_irq() errors, initializing/staging chan->irq safely, and
registering the channel node only after IRQ setup succeeds.

Patch 3 updates stale kerneldoc comments to match current behavior.

Patch 4 applies minor whitespace formatting cleanup in
zynqmp_dma_chan_probe().

Patch 5 rejects zero-length memcpy preparations and documents the return
behavior.

Patch 6 removes an unused define and drops a duplicate interrupt enable
bit from the default IRQ mask.


Golla Nagendra (6):
dmaengine: zynqmp_dma: Fix alloc_chan_resources error cleanup
dmaengine: zynqmp_dma: Fix chan probe error handling
dmaengine: zynqmp_dma: Fix stale kerneldoc comments
dmaengine: zynqmp_dma: Fix minor whitespace
dmaengine: zynqmp_dma: Reject zero-length memcpy transfers
dmaengine: zynqmp_dma: Remove unused define and duplicate IRQ bit

drivers/dma/xilinx/zynqmp_dma.c | 72 +++++++++++++++++++++------------
1 file changed, 46 insertions(+), 26 deletions(-)

--
2.43.7