Re: [RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-02-01 Thread Vinod Koul
On Wed, 2012-02-01 at 12:58 +0100, Guennadi Liakhovetski wrote: > > The two things are completely orthogonal and shouldn't be clubbed. > > For your issue we need a separate debate on how to solve this... I am > > open to ideas... > > Well, I'm not sure whether they are necessarily always orthogona

Re: [RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-02-01 Thread Guennadi Liakhovetski
On Wed, 1 Feb 2012, Vinod Koul wrote: > On Wed, 2012-02-01 at 01:09 +0100, Guennadi Liakhovetski wrote: > > On Mon, 30 Jan 2012, Vinod Koul wrote: > > > > > On Thu, 2012-01-26 at 16:22 -0500, Alexandre Bounine wrote: > > > > As we agreed during our discussion about adding DMA Engine support for

Re: [RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-01-31 Thread Vinod Koul
On Wed, 2012-02-01 at 01:09 +0100, Guennadi Liakhovetski wrote: > On Mon, 30 Jan 2012, Vinod Koul wrote: > > > On Thu, 2012-01-26 at 16:22 -0500, Alexandre Bounine wrote: > > > As we agreed during our discussion about adding DMA Engine support for > > > RapidIO > > > subsystem, RapidIO and simila

Re: [RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-01-31 Thread Guennadi Liakhovetski
On Mon, 30 Jan 2012, Vinod Koul wrote: > On Thu, 2012-01-26 at 16:22 -0500, Alexandre Bounine wrote: > > As we agreed during our discussion about adding DMA Engine support for > > RapidIO > > subsystem, RapidIO and similar clients may benefit from adding an extra > > context > > parameter to dev

RE: [RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-01-30 Thread Vinod Koul
On Mon, 2012-01-30 at 08:55 -0800, Bounine, Alexandre wrote: > On Monday, January 30, 2012 at 4:31 AM, Vinod Koul wrote: > > > > On Thu, 2012-01-26 at 16:22 -0500, Alexandre Bounine wrote: > > > As we agreed during our discussion about adding DMA Engine support for > > > RapidIO > > > subsystem,

RE: [RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-01-30 Thread Bounine, Alexandre
On Monday, January 30, 2012 at 4:31 AM, Vinod Koul wrote: > > On Thu, 2012-01-26 at 16:22 -0500, Alexandre Bounine wrote: > > As we agreed during our discussion about adding DMA Engine support for > > RapidIO > > subsystem, RapidIO and similar clients may benefit from adding an extra > > context

Re: [RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-01-30 Thread Vinod Koul
On Thu, 2012-01-26 at 16:22 -0500, Alexandre Bounine wrote: > As we agreed during our discussion about adding DMA Engine support for RapidIO > subsystem, RapidIO and similar clients may benefit from adding an extra > context > parameter to device_prep_slave_sg() callback. > See https://lkml.org/lk

[RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-01-26 Thread Alexandre Bounine
As we agreed during our discussion about adding DMA Engine support for RapidIO subsystem, RapidIO and similar clients may benefit from adding an extra context parameter to device_prep_slave_sg() callback. See https://lkml.org/lkml/2011/10/24/275 for more details. Adding the context parameter will