Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1244890ybh; Mon, 13 Jul 2020 13:14:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+JjtC2qWPbZJQK0iKHNa2PhTcg1H8NWJaetp8qd654FxmivBmqCNKrpAYhmVZomQ9Xz1z X-Received: by 2002:a17:907:9495:: with SMTP id dm21mr1363702ejc.357.1594671254332; Mon, 13 Jul 2020 13:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594671254; cv=none; d=google.com; s=arc-20160816; b=UrNmDjrXs+XMCfmmfJ0ky+/U4jxbc7jSu3eCwYrln3T+8hvHa952SAcXaVEavOBioc xpI1S5VsZpjdsnypZ/3JdJ27f+1LG25uDZIjFLtRxs/SxtGUgdBi1jyewbWACH9kbdok 2nEAE5MOeihRNW22LUFvYCEFG1FjtWdPspT6gSSlchZDJ7NsnkUBtmWF+QS4B3j205qI lwqm+Xen1uzdrUH5i5qn4bALtkEpenL7Z++On/Gw28jWjaybU1fw7Bj3AoRPZrLMVASQ /6AnXvwhC2/4h32d9eUW7GET8jBD87ws6iooEkhihAj+oTEi4kHRgrdbNrWRe0g/o8hQ x70Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=AGnWhLgpAdSA5DqF667GgIo21Wi1+bJWoJ0nSHt29/8=; b=Pb7TvfIm/wSLl1KA6tDY8K1a7Sd2DFdUOn/DnpSd2Fpuh685GZjL//mtQju66Prkuf UqnxEkuqNnYsjIhYIDbc5b/I7j6OZYzMfQUyvGiBk44JSGf4VUu82HT3+eCwYaob8+1z 1an73gszxwMPvAnbMmUl73AgtwC3n0h6rrFi/QJAjY+AKZBA0jqi3E8j0p07M7ipMB3u KeGuS7071+FSk9FXk7dt5LLEShah5UjxbKyI2CoMXK8a/s5NgVHHAs2mVcuBliRshxPT Ez3Bpf6O6H768EdTpsXXdiMz+Z8m3as6OpSXO2aVEJ8F/2yxos6fbKQcwJRLP6ZlhTJE d1cQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x70si11371489ede.405.2020.07.13.13.13.49; Mon, 13 Jul 2020 13:14:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726974AbgGMUNL (ORCPT + 99 others); Mon, 13 Jul 2020 16:13:11 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:58364 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbgGMUNL (ORCPT ); Mon, 13 Jul 2020 16:13:11 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 51EBA8030866; Mon, 13 Jul 2020 20:13:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RqU2vW_Nx0sU; Mon, 13 Jul 2020 23:13:07 +0300 (MSK) Date: Mon, 13 Jul 2020 23:13:06 +0300 From: Serge Semin To: Vinod Koul CC: Serge Semin , Andy Shevchenko , Viresh Kumar , Dan Williams , Alexey Malahov , Thomas Bogendoerfer , Arnd Bergmann , Rob Herring , , , , Subject: Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback Message-ID: <20200713201306.4rfmvtjzklcldajc@mobilestation> References: <20200709224550.15539-1-Sergey.Semin@baikalelectronics.ru> <20200709224550.15539-6-Sergey.Semin@baikalelectronics.ru> <20200710084503.GE3703480@smile.fi.intel.com> <20200710093834.su3nsjesnhntpd6d@mobilestation> <20200713065131.GG34333@vkoul-mobl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200713065131.GG34333@vkoul-mobl> X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, but the patchset still under review procedure, while I still have some work, which depends on the changes provided by this patchset. It would be great to at least submit it for review before the next merge window, and super-great have it merged in before that. There is a Peter Ujfalusi comment to the patch "[PATCH v7 04/11] dmaengine: Introduce max SG list entries capability", which needs your attention. Could you please take a look at that? So I could submit the next patchset revision if you agree with the Peter' suggestion. -Sergey On Mon, Jul 13, 2020 at 12:21:31PM +0530, Vinod Koul wrote: > 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 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 provided it gets called from the dma_get_slave_caps() method and is > > > > able to override the generic DMA-device capabilities. > > > > > > > > In light of recent developments consider not to add 'slave' and a such words to the kernel. > > > > As long as the 'slave' word is used in the name of the dma_slave_caps > > structure and in the rest of the DMA-engine subsystem, it will be ambiguous > > to use some else terminology. If renaming needs to be done, then it should be > > done synchronously for the whole subsystem. > > Right, I have plans to tackle that during next merge window and have > started changes. Thankfully slave_dma can be replaced by peripheral dma > easily. But getting that in would be tricky as we need to change users > too. > > -- > ~Vinod