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. This is different to the previous implementation, which called device_prep_dma_memcpy() multiple times. Neither implementation has been tested on real hardware. I attempted a conversion of the ste_dma40 driver which should do the right thing, but the authors should check and make sure. Ira W. Snyder (4): dma: add support for scatterlist to scatterlist copy fsldma: implement support for scatterlist to scatterlist copy fsldma: remove DMA_SLAVE support ste_dma40: implement support for scatterlist to scatterlist copy arch/powerpc/include/asm/fsldma.h | 115 ++------------ drivers/dma/dmaengine.c | 2 + drivers/dma/fsldma.c | 321 +++++++++++++++++-------------------- drivers/dma/ste_dma40.c | 17 ++ include/linux/dmaengine.h | 6 + 5 files changed, 185 insertions(+), 276 deletions(-) _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
