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

Nuno Sá via B4 Relay posted 4 patches 1 month, 2 weeks ago
drivers/dma/dma-axi-dmac.c | 77 +++++++++++++++++++++++++++-------------------
drivers/dma/dmaengine.c    |  3 +-
2 files changed, 47 insertions(+), 33 deletions(-)
[PATCH v4 0/4] dmaengine: dma-axi-dmac: Some memory related fixes
Posted by Nuno Sá via B4 Relay 1 month, 2 weeks ago
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@analog.com>
---
Changes in v4:
- Patch 1:
  * Commit reword as per Frank suggestion
- Patch 2:
  * Commit reword as per Frank suggestion
- Patch 3:
  * Commit reword as per Frank suggestion
- Patch 4:
  * Commit subjectreword as per Frank suggestion
  * Added Fixes tag
- Link to v3: https://patch.msgid.link/20260408-dma-dmac-handle-vunmap-v3-0-2456ad292154@analog.com

---
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: use DMA pool to manange DMA descriptor

 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á


Re: [PATCH v4 0/4] dmaengine: dma-axi-dmac: Some memory related fixes
Posted by Vinod Koul 4 days, 13 hours ago
On Fri, 24 Apr 2026 18:40:13 +0100, Nuno Sá wrote:
> Here it goes v3. Given there are some discussions about adding devlinks
> in damengine, I dropped the patch implementing the .device_release() for
> now.
> 
> 

Applied, thanks!

[1/4] dmaengine: Fix possible use after free
      commit: 92f853f0645aebf1d05d333e97ab7c342ace1892
[2/4] dmaengine: dma-axi-dmac: Properly free struct axi_dmac_desc
      commit: 4910ce1b3b35687bb2a5e742c4bfbea3c647c980
[3/4] dmaengine: dma-axi-dmac: Drop struct clk from main struct
      commit: a725ac2055271fe8123fa854bfeff6e349f7cf0e
[4/4] dmaengine: dma-axi-dmac: use DMA pool to manange DMA descriptor
      commit: 9e942c8579130e62734c14338e9f451780669164

Best regards,
-- 
~Vinod