Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-13 Thread Vinod Koul
On Mon, 2012-03-12 at 21:53 +0530, Vinod Koul wrote: I applied the v2 on a branch and also rebased on top of slave-dma.next. There were few conflicts in imx-dma.c. Sacha, Javier, pls see that merge is right. This branch (rmk_cookie_fixes2_rebased) is not yet pushed, as I am not

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-13 Thread Nicolas Ferre
On 03/06/2012 11:33 PM, Russell King - ARM Linux : [v2 - more or less same description. Including lakml in cc for the full set] This patch series cleans up the handling of cookies in DMA engine drivers. This is done by providing a set of inline library functions for common tasks: -

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-13 Thread Russell King - ARM Linux
On Tue, Mar 13, 2012 at 02:10:36PM +0530, Vinod Koul wrote: Please see if the below patch is the right fix for build failures in addition to one suggested by Jassi. I'm not sure that Jassi's solution is correct - and I'm wondering whether any of the DMA engine drivers do the right thing when

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-13 Thread Vinod Koul
On Tue, 2012-03-13 at 12:31 +, Russell King - ARM Linux wrote: On Tue, Mar 13, 2012 at 02:10:36PM +0530, Vinod Koul wrote: Please see if the below patch is the right fix for build failures in addition to one suggested by Jassi. I'm not sure that Jassi's solution is correct - and I'm

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-12 Thread Russell King - ARM Linux
On Wed, Mar 07, 2012 at 07:24:26PM +0530, Vinod Koul wrote: On Tue, 2012-03-06 at 22:33 +, Russell King - ARM Linux wrote: [v2 - more or less same description. Including lakml in cc for the full set] This patch series cleans up the handling of cookies in DMA engine drivers. This

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-12 Thread Vinod Koul
On Mon, 2012-03-12 at 16:11 +, Russell King - ARM Linux wrote: On Wed, Mar 07, 2012 at 07:24:26PM +0530, Vinod Koul wrote: On Tue, 2012-03-06 at 22:33 +, Russell King - ARM Linux wrote: [v2 - more or less same description. Including lakml in cc for the full set] This patch

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-09 Thread Shawn Guo
On Tue, Mar 06, 2012 at 10:33:21PM +, Russell King - ARM Linux wrote: ... drivers/dma/imx-sdma.c | 23 ++-- ... drivers/dma/mxs-dma.c| 23 ++-- Tested-by: Shawn Guo shawn@linaro.org ___

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Linus Walleij
On Tue, Mar 6, 2012 at 11:33 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: This patch series cleans up the handling of cookies in DMA engine drivers. This is done by providing a set of inline library functions for common tasks: I just applied the latest patches right off and

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Russell King - ARM Linux
On Wed, Mar 07, 2012 at 09:33:49AM +0100, Linus Walleij wrote: On Tue, Mar 6, 2012 at 11:33 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: This patch series cleans up the handling of cookies in DMA engine drivers. This is done by providing a set of inline library functions for

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Vinod Koul
On Tue, 2012-03-06 at 22:33 +, Russell King - ARM Linux wrote: [v2 - more or less same description. Including lakml in cc for the full set] This patch series cleans up the handling of cookies in DMA engine drivers. This is done by providing a set of inline library functions for common

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Jassi Brar
On Wed, Mar 7, 2012 at 4:03 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: [v2 - more or less same description.  Including lakml in cc for the full set] This patch series cleans up the handling of cookies in DMA engine drivers. This is done by providing a set of inline library

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Russell King - ARM Linux
On Wed, Mar 07, 2012 at 11:39:25PM +0530, Jassi Brar wrote: Compilation is broken without the following minor fix. After that you may add Acked-by: Jassi Brar jassisinghb...@gmail.com diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 49c123f..abf35a3 100644 ---

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Jassi Brar
On Wed, Mar 7, 2012 at 11:51 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Mar 07, 2012 at 11:39:25PM +0530, Jassi Brar wrote: Compilation is broken without the following minor fix. After that you may add        Acked-by: Jassi Brar jassisinghb...@gmail.com diff --git

[PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-06 Thread Russell King - ARM Linux
[v2 - more or less same description. Including lakml in cc for the full set] This patch series cleans up the handling of cookies in DMA engine drivers. This is done by providing a set of inline library functions for common tasks: - moving the 'last completed cookie' into struct dma_chan -