Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-29 Thread Kuninori Morimoto
Hi Vinod > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > > > push used descriptor to list of free descriptors, and next DMA transfer > > > > try to reuse it from this list. But because it is using *_tail(), > > > > this reuse effect can't be obtained without using

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-29 Thread Kuninori Morimoto
Hi Vinod > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > > > push used descriptor to list of free descriptors, and next DMA transfer > > > > try to reuse it from this list. But because it is using *_tail(), > > > > this reuse effect can't be obtained without using

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-26 Thread Vinod Koul
On Tue, May 24, 2016 at 12:50:28PM +0300, Laurent Pinchart wrote: Hey Laurent, > On Saturday 14 May 2016 13:27:31 Vinod Koul wrote: > > On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > > From: Kuninori Morimoto > > > > > > Current

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-26 Thread Vinod Koul
On Tue, May 24, 2016 at 12:50:28PM +0300, Laurent Pinchart wrote: Hey Laurent, > On Saturday 14 May 2016 13:27:31 Vinod Koul wrote: > > On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > > From: Kuninori Morimoto > > > > > > Current rcar_dmac_desc_put() is using

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-24 Thread Laurent Pinchart
Hi Vinod, On Saturday 14 May 2016 13:27:31 Vinod Koul wrote: > On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > push used descriptor to

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-24 Thread Laurent Pinchart
Hi Vinod, On Saturday 14 May 2016 13:27:31 Vinod Koul wrote: > On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > push used descriptor to list of free descriptors, and next

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-14 Thread Vinod Koul
On Wed, May 11, 2016 at 03:28:04AM +, Kuninori Morimoto wrote: > > Hi Laurent, Vinod, > > > > > From: Kuninori Morimoto > > > > > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > > > push used descriptor to list of free

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-14 Thread Vinod Koul
On Wed, May 11, 2016 at 03:28:04AM +, Kuninori Morimoto wrote: > > Hi Laurent, Vinod, > > > > > From: Kuninori Morimoto > > > > > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > > > push used descriptor to list of free descriptors, and next DMA transfer > > > >

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-14 Thread Vinod Koul
On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > push used descriptor to list of free descriptors, and next DMA transfer > try to reuse it from

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-14 Thread Vinod Koul
On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > push used descriptor to list of free descriptors, and next DMA transfer > try to reuse it from this list. But because it is

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-10 Thread Kuninori Morimoto
Hi Laurent, Vinod, > > > From: Kuninori Morimoto > > > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > > push used descriptor to list of free descriptors, and next DMA transfer > > > try to reuse it from this list. But because it is

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-10 Thread Kuninori Morimoto
Hi Laurent, Vinod, > > > From: Kuninori Morimoto > > > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > > push used descriptor to list of free descriptors, and next DMA transfer > > > try to reuse it from this list. But because it is using *_tail(), > > > this reuse

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-09 Thread Laurent Pinchart
Hi Vinod, On Monday 02 May 2016 15:07:12 Vinod Koul wrote: > On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > push used descriptor to

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-09 Thread Laurent Pinchart
Hi Vinod, On Monday 02 May 2016 15:07:12 Vinod Koul wrote: > On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > > push used descriptor to list of free descriptors, and next

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-02 Thread Vinod Koul
On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > push used descriptor to list of free descriptors, and next DMA transfer > try to reuse it from

Re: [PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-05-02 Thread Vinod Koul
On Fri, Apr 22, 2016 at 01:50:04AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Current rcar_dmac_desc_put() is using list_add_tail() in order to > push used descriptor to list of free descriptors, and next DMA transfer > try to reuse it from this list. But because it is

[PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-04-21 Thread Kuninori Morimoto
From: Kuninori Morimoto Current rcar_dmac_desc_put() is using list_add_tail() in order to push used descriptor to list of free descriptors, and next DMA transfer try to reuse it from this list. But because it is using *_tail(), this reuse effect can't be

[PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-04-21 Thread Kuninori Morimoto
From: Kuninori Morimoto Current rcar_dmac_desc_put() is using list_add_tail() in order to push used descriptor to list of free descriptors, and next DMA transfer try to reuse it from this list. But because it is using *_tail(), this reuse effect can't be obtained without using all of them. For