Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL081 PrimeCells

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dan Williams
Date: Wednesday, December 22, 2010 - 6:11 pm

On Wed, Dec 22, 2010 at 4:10 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:

This is generic offload (async_{memcpy|xor|etc...}) versus the slave
usage confusion .  In the async_<operation> case the client (md/raid5)
has no idea if a dmaengine is offloading the operation behind the
scenes and should not make any assumptions about submission context
beyond what is allowed in the document.  In the slave case the client
driver knows that it is talking to a specific dma driver.  The
contract between the client driver and dma driver is undocumented.
The slave usage model really is a "I want to use dmaengine to find my
dma device driver / manage channels, and I want a common prep / submit
mechanism, but otherwise stay out of my way".  Drivers that do not
want to meet the constraints expected by the opportunistic offload
clients should do what ste_dma40 does and add "depends on !(NET_DMA ||
ASYNC_TX_DMA)"

--
Dan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Maurus Cuelenaere, (Tue Jun 15, 4:17 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Maurus Cuelenaere, (Tue Jun 15, 5:04 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Tue Dec 21, 11:20 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Tue Dec 21, 3:25 pm)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Wed Dec 22, 5:22 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Wed Dec 22, 5:29 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Wed Dec 22, 4:54 pm)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Wed Dec 22, 5:10 pm)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Dan Williams, (Wed Dec 22, 6:11 pm)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Thu Dec 23, 2:18 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Thu Dec 23, 5:30 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Fri Dec 31, 2:50 pm)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Sat Jan 1, 8:15 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Sat Jan 1, 8:36 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Sun Jan 2, 4:22 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Mon Jan 3, 4:14 am)
Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL08 ..., Russell King - ARM Linux, (Mon Jan 3, 8:19 am)