[PATCH 0/2] dmaengine: Use-after-free fix and dummy DMAC

From: Vincent Whitchurch
Date: Mon Jul 17 2023 - 09:08:48 EST


This series has a fix for a use-after-free in the DMA engine framework
and adds a dummy CPU-based "DMA" controller driver which can be used for
testing the DMA engine framework and clients on systems without a real
DMA engine, such as under KVM.

---
Vincent Whitchurch (2):
dmaengine: Fix use-after-free on release
dmaengine: Add dummy DMA controller driver

drivers/dma/Kconfig | 14 +++
drivers/dma/Makefile | 1 +
drivers/dma/dmaengine.c | 30 ++++--
drivers/dma/dummy-dmac.c | 258 +++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 294 insertions(+), 9 deletions(-)
---
base-commit: fdf0eaf11452d72945af31804e2a1048ee1b574c
change-id: 20230717-dummy-dmac-9a2e7e3ddb29

Best regards,
--
Vincent Whitchurch <vincent.whitchurch@xxxxxxxx>