Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-14 Thread Dave Jiang
On 7/14/2020 9:29 AM, Serge Semin wrote: On Tue, Jul 14, 2020 at 09:18:16AM -0700, Dave Jiang wrote: On 7/14/2020 9:08 AM, Vinod Koul wrote: On 13-07-20, 13:55, Dave Jiang wrote: On 7/10/2020 2:38 AM, Serge Semin wrote: On Fri, Jul 10, 2020 at 11:45:03AM +0300, Andy Shevchenko wrote:

Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-14 Thread Serge Semin
On Tue, Jul 14, 2020 at 09:18:16AM -0700, Dave Jiang wrote: > > > On 7/14/2020 9:08 AM, Vinod Koul wrote: > > On 13-07-20, 13:55, Dave Jiang wrote: > > > > > > > > > On 7/10/2020 2:38 AM, Serge Semin wrote: > > > > On Fri, Jul 10, 2020 at 11:45:03AM +0300, Andy Shevchenko wrote: > > > > > On Fr

Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-14 Thread Dave Jiang
On 7/14/2020 9:08 AM, Vinod Koul wrote: On 13-07-20, 13:55, Dave Jiang wrote: On 7/10/2020 2:38 AM, Serge Semin wrote: On Fri, Jul 10, 2020 at 11:45:03AM +0300, Andy Shevchenko wrote: On Fri, Jul 10, 2020 at 01:45:44AM +0300, Serge Semin wrote: There are DMA devices (like ours version of

Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-14 Thread Vinod Koul
On 13-07-20, 13:55, Dave Jiang wrote: > > > On 7/10/2020 2:38 AM, Serge Semin wrote: > > On Fri, Jul 10, 2020 at 11:45:03AM +0300, Andy Shevchenko wrote: > > > On Fri, Jul 10, 2020 at 01:45:44AM +0300, Serge Semin wrote: > > > > There are DMA devices (like ours version of Synopsys DW DMAC) which

Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-13 Thread Dave Jiang
On 7/10/2020 2:38 AM, Serge Semin wrote: On Fri, Jul 10, 2020 at 11:45:03AM +0300, Andy Shevchenko wrote: On Fri, Jul 10, 2020 at 01:45:44AM +0300, Serge Semin wrote: There are DMA devices (like ours version of Synopsys DW DMAC) which have DMA capabilities non-uniformly redistributed between

Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-13 Thread Serge Semin
Hello Vinod, Could you please keep on this patchset review? Really, the patchset isn't that big and complicated to be working on it for such a long time. I've sent it out at the time of the kernel 5.6. I've considered all the Andy's comments since then. There is going to be 5.9 merge window soon

Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-12 Thread Vinod Koul
On 10-07-20, 12:38, Serge Semin wrote: > On Fri, Jul 10, 2020 at 11:45:03AM +0300, Andy Shevchenko wrote: > > On Fri, Jul 10, 2020 at 01:45:44AM +0300, Serge Semin wrote: > > > There are DMA devices (like ours version of Synopsys DW DMAC) which have > > > DMA capabilities non-uniformly redistribute

Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-10 Thread Serge Semin
On Fri, Jul 10, 2020 at 11:45:03AM +0300, Andy Shevchenko wrote: > On Fri, Jul 10, 2020 at 01:45:44AM +0300, Serge Semin wrote: > > There are DMA devices (like ours version of Synopsys DW DMAC) which have > > DMA capabilities non-uniformly redistributed between the device channels. > > In order to

Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-10 Thread Andy Shevchenko
On Fri, Jul 10, 2020 at 01:45:44AM +0300, Serge Semin wrote: > There are DMA devices (like ours version of Synopsys DW DMAC) which have > DMA capabilities non-uniformly redistributed between the device channels. > In order to provide a way of exposing the channel-specific parameters to > the DMA en

[PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-09 Thread Serge Semin
There are DMA devices (like ours version of Synopsys DW DMAC) which have DMA capabilities non-uniformly redistributed between the device channels. In order to provide a way of exposing the channel-specific parameters to the DMA engine consumers, we introduce a new DMA-device callback. In case if pr