linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFCv3 0/4] dma: add support for scatterlist to scatterlist copy
@ 2010-09-27 22:57 Ira W. Snyder
  2010-09-27 22:57 ` [PATCH 1/4] " Ira W. Snyder
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Ira W. Snyder @ 2010-09-27 22:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dan Williams, linuxppc-dev

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(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-09-30  7:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-27 22:57 [PATCH RFCv3 0/4] dma: add support for scatterlist to scatterlist copy Ira W. Snyder
2010-09-27 22:57 ` [PATCH 1/4] " Ira W. Snyder
2010-09-27 22:57 ` [PATCH 2/4] fsldma: implement " Ira W. Snyder
2010-09-27 22:57 ` [PATCH 3/4] fsldma: remove DMA_SLAVE support Ira W. Snyder
2010-09-29 21:52   ` Dan Williams
2010-09-29 22:19     ` Ira W. Snyder
2010-09-27 22:57 ` [PATCH 4/4] ste_dma40: implement support for scatterlist to scatterlist copy Ira W. Snyder
2010-09-29 21:19   ` Dan Williams
2010-09-30  7:13     ` Per Friden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).