[PATCH v3 0/4] dmaengine: dma-axi-dmac: Some memory related fixes

From: Nuno Sá via B4 Relay

Date: Wed Apr 08 2026 - 08:43:51 EST


Here it goes v3. Given there are some discussions about adding devlinks
in damengine, I dropped the patch implementing the .device_release() for
now.

Signed-off-by: Nuno Sá <nuno.sa@xxxxxxxxxx>
---
Changes in v3:
- Drop commit ("dmaengine: dma-axi-dmac: fix use-after-free on unbind")
- Patch 3:
* New patch
- Patch 4:
* Rework to use DMA Pool API.

---
Nuno Sá (4):
dmaengine: Fix possible use after free
dmaengine: dma-axi-dmac: Properly free struct axi_dmac_desc
dmaengine: dma-axi-dmac: Drop struct clk from main struct
dmaengine: dma-axi-dmac: Fig BUG() on vunmap()

drivers/dma/dma-axi-dmac.c | 77 +++++++++++++++++++++++++++-------------------
drivers/dma/dmaengine.c | 3 +-
2 files changed, 47 insertions(+), 33 deletions(-)
---
base-commit: b7560798466a07d9c3fb011698e92c335ab28baf
change-id: 20260325-dma-dmac-handle-vunmap-84a06df7d133
--

Thanks!
- Nuno Sá