[PATCH 0/2] Add support for MEMCPY_SG transfers

Adrian Larumbe
2021-07-06T23:46:09Z

Bring back dmaengine API support for scatter-gather memcpy's, which is a
follow-up from a previous patch series in which I wrongly tried to
implement the semantics of a MEMCPY_SG through the Slave SG interface.

The second patch fixes a race condition that I observed when calling
dmaengine_terminate_sync in the Xilinx DMA driver.

Adrian Larumbe (2):
dmaengine: xilinx_dma: Restore support for memcpy SG transfers
xilinx_dma: Fix read-after-free bug when terminating transfers

.../driver-api/dmaengine/provider.rst | 11 ++
drivers/dma/dmaengine.c | 7 +
drivers/dma/xilinx/xilinx_dma.c | 134 ++++++++++++++++++
include/linux/dmaengine.h | 20 +++
4 files changed, 172 insertions(+)

--
2.17.1