[PATCH v4 0/4] dma: add support for scatterlist to scatterlist copy

From: Ira W. Snyder
Date: Thu Sep 30 2010 - 17:47:52 EST


This series adds support for scatterlist to scatterlist copies to the
generic DMAEngine API. Both the fsldma and ste_dma40 drivers currently
implement a similar API using different, non-generic methods. This series
converts both of them to the new, standardized API.

By doing this as part of the core DMAEngine API, the individual drivers
have control over how to chain their descriptors together. In addition,
this makes graceful failure much easier to support.

The fsldma implementation has been tested on real hardware, using slightly
modified versions of the patches posted a few weeks ago, titled:
[PATCH RFCv2 0/5] CARMA Board Support

These patches will be re-submitted with the appropriate changes after we're
happy with this series.

Thanks to all that provided input!
Ira

Changes since v3:
- ste40_dma's implementation now returns NULL (thanks Dan!)
- fsldma now uses a custom command for external control
- fsldma now uses the standard struct dma_slave_config
- tested on real hardware

Ira W. Snyder (4):
dma: add support for scatterlist to scatterlist copy
fsldma: implement support for scatterlist to scatterlist copy
fsldma: improved DMA_SLAVE support
ste_dma40: implement support for scatterlist to scatterlist copy

arch/powerpc/include/asm/fsldma.h | 137 ---------------
drivers/dma/dmaengine.c | 2 +
drivers/dma/fsldma.c | 328 ++++++++++++++++++-------------------
drivers/dma/ste_dma40.c | 17 ++
include/linux/dmaengine.h | 9 +
5 files changed, 184 insertions(+), 309 deletions(-)
delete mode 100644 arch/powerpc/include/asm/fsldma.h

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/