Re: [PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-21 Thread Maxime Ripard
On Fri, Jul 17, 2015 at 08:39:26AM +0530, Vinod Koul wrote: > On Thu, Jul 16, 2015 at 04:11:05PM +0200, Maxime Ripard wrote: > > Hi Vinod, > > > > > > + /* > > > > +* The scatterlist API gives us only the address and > > > > +* length of each

Re: [PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-21 Thread Maxime Ripard
On Fri, Jul 17, 2015 at 08:39:26AM +0530, Vinod Koul wrote: On Thu, Jul 16, 2015 at 04:11:05PM +0200, Maxime Ripard wrote: Hi Vinod, + /* +* The scatterlist API gives us only the address and +* length of each elements. +

Re: [PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-16 Thread Vinod Koul
On Thu, Jul 16, 2015 at 04:11:05PM +0200, Maxime Ripard wrote: > Hi Vinod, > > > > + /* > > > + * The scatterlist API gives us only the address and > > > + * length of each elements. > > > + * > > > + * Unfortunately, we don't have the stride, which we

Re: [PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-16 Thread Maxime Ripard
Hi Vinod, > > + /* > > +* The scatterlist API gives us only the address and > > +* length of each elements. > > +* > > +* Unfortunately, we don't have the stride, which we > > +* will need to compute. > > +* > > +

Re: [PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-16 Thread Vinod Koul
On Mon, Jul 06, 2015 at 12:19:24PM +0200, Maxime Ripard wrote: > The XDMAC also supports memset operations over discontiguous areas. Add the > necessary logic to support this. > > Signed-off-by: Maxime Ripard > --- > drivers/dma/at_xdmac.c | 166 >

Re: [PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-16 Thread Vinod Koul
On Mon, Jul 06, 2015 at 12:19:24PM +0200, Maxime Ripard wrote: The XDMAC also supports memset operations over discontiguous areas. Add the necessary logic to support this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/dma/at_xdmac.c | 166

Re: [PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-16 Thread Maxime Ripard
Hi Vinod, + /* +* The scatterlist API gives us only the address and +* length of each elements. +* +* Unfortunately, we don't have the stride, which we +* will need to compute. +* +* That

Re: [PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-16 Thread Vinod Koul
On Thu, Jul 16, 2015 at 04:11:05PM +0200, Maxime Ripard wrote: Hi Vinod, + /* + * The scatterlist API gives us only the address and + * length of each elements. + * + * Unfortunately, we don't have the stride, which we + *

[PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-06 Thread Maxime Ripard
The XDMAC also supports memset operations over discontiguous areas. Add the necessary logic to support this. Signed-off-by: Maxime Ripard --- drivers/dma/at_xdmac.c | 166 - 1 file changed, 165 insertions(+), 1 deletion(-) diff --git

[PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-06 Thread Maxime Ripard
The XDMAC also supports memset operations over discontiguous areas. Add the necessary logic to support this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/dma/at_xdmac.c | 166 - 1 file changed, 165 insertions(+), 1