# \[PATCH 0/3\] Add support for MEMCPY\_SG transfers

- From: Adrian Larumbe \<hidden\>
- Date: 2021-11-01 18:32:31 
- List: dmaengine
- Page: https://ratatoskr.run/dmaengine/2021/11/8813708
- Thread: https://ratatoskr.run/dmaengine/2021/07/8809195/t.md

```text
Bring back dmaengine API support for scatter-gather memcpy's.

Changes in patch v2:
  * Expanded API function documentation to elaborate on its semantics,
    limitations and corner case behaviour.
  * Broke the patch series into three different ones: documentation, core
    API change and consumer driver

v1 - https://lore.kernel.org/dmaengine/20210706234338.7696-1-adrian.martinezlarumbe@imgtec.com

Adrian Larumbe (3):
  dmaengine: Add documentation for new memcpy scatter-gather function
  dmaengine: Add core function and capability check for DMA_MEMCPY_SG
  dmaengine: Add consumer for the new DMA_MEMCPY_SG API function.

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


base-commit: e0674853943287669a82d1ffe09a700944615978
-- 
2.33.1

```
