Re: [PATCH v2 3/6] dmaengine: dw: Set DMA device max segment size parameter

2020-05-17 Thread Serge Semin
On Fri, May 15, 2020 at 01:53:13PM +0300, Andy Shevchenko wrote: > On Fri, May 15, 2020 at 11:46:01AM +0530, Vinod Koul wrote: > > On 12-05-20, 15:35, Andy Shevchenko wrote: > > > On Tue, May 12, 2020 at 12:16:22AM +0300, Serge Semin wrote: > > > > On Fri, May 08, 2020 at 02:21:52PM +0300, Andy

Re: [PATCH v2 3/6] dmaengine: dw: Set DMA device max segment size parameter

2020-05-15 Thread Andy Shevchenko
On Fri, May 15, 2020 at 11:46:01AM +0530, Vinod Koul wrote: > On 12-05-20, 15:35, Andy Shevchenko wrote: > > On Tue, May 12, 2020 at 12:16:22AM +0300, Serge Semin wrote: > > > On Fri, May 08, 2020 at 02:21:52PM +0300, Andy Shevchenko wrote: > > > > On Fri, May 08, 2020 at 01:53:01PM +0300, Serge

Re: [PATCH v2 3/6] dmaengine: dw: Set DMA device max segment size parameter

2020-05-15 Thread Vinod Koul
On 12-05-20, 15:35, Andy Shevchenko wrote: > On Tue, May 12, 2020 at 12:16:22AM +0300, Serge Semin wrote: > > On Fri, May 08, 2020 at 02:21:52PM +0300, Andy Shevchenko wrote: > > > On Fri, May 08, 2020 at 01:53:01PM +0300, Serge Semin wrote: > > > > Maximum block size DW DMAC configuration

Re: [PATCH v2 3/6] dmaengine: dw: Set DMA device max segment size parameter

2020-05-12 Thread Serge Semin
On Tue, May 12, 2020 at 03:35:51PM +0300, Andy Shevchenko wrote: > On Tue, May 12, 2020 at 12:16:22AM +0300, Serge Semin wrote: > > On Fri, May 08, 2020 at 02:21:52PM +0300, Andy Shevchenko wrote: > > > On Fri, May 08, 2020 at 01:53:01PM +0300, Serge Semin wrote: > > > > Maximum block size DW DMAC

Re: [PATCH v2 3/6] dmaengine: dw: Set DMA device max segment size parameter

2020-05-12 Thread Andy Shevchenko
On Tue, May 12, 2020 at 12:16:22AM +0300, Serge Semin wrote: > On Fri, May 08, 2020 at 02:21:52PM +0300, Andy Shevchenko wrote: > > On Fri, May 08, 2020 at 01:53:01PM +0300, Serge Semin wrote: > > > Maximum block size DW DMAC configuration corresponds to the max segment > > > size DMA parameter in

Re: [PATCH v2 3/6] dmaengine: dw: Set DMA device max segment size parameter

2020-05-11 Thread Serge Semin
On Fri, May 08, 2020 at 02:21:52PM +0300, Andy Shevchenko wrote: > +Cc (Vineet, for information you probably know) > > On Fri, May 08, 2020 at 01:53:01PM +0300, Serge Semin wrote: > > Maximum block size DW DMAC configuration corresponds to the max segment > > size DMA parameter in the DMA core

Re: [PATCH v2 3/6] dmaengine: dw: Set DMA device max segment size parameter

2020-05-08 Thread Vineet Gupta
On 5/8/20 4:21 AM, Andy Shevchenko wrote: > Yeah, I have locally something like this and I didn't dare to upstream because > there is an issue. We have this information per DMA controller, while we > actually need this on per DMA channel basis. > > Above will work only for synthesized DMA with all

Re: [PATCH v2 3/6] dmaengine: dw: Set DMA device max segment size parameter

2020-05-08 Thread Andy Shevchenko
+Cc (Vineet, for information you probably know) On Fri, May 08, 2020 at 01:53:01PM +0300, Serge Semin wrote: > Maximum block size DW DMAC configuration corresponds to the max segment > size DMA parameter in the DMA core subsystem notation. Lets set it with a > value specific to the probed DW DMA

[PATCH v2 3/6] dmaengine: dw: Set DMA device max segment size parameter

2020-05-08 Thread Serge Semin
Maximum block size DW DMAC configuration corresponds to the max segment size DMA parameter in the DMA core subsystem notation. Lets set it with a value specific to the probed DW DMA controller. It shall help the DMA clients to create size-optimized SG-list items for the controller. This in turn