Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp367887ybt; Fri, 10 Jul 2020 01:47:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzekX+8XN4v3RLI67LI+SRWdrKrO+pFLyRvSZ0SbuwIJk1H6jSGJ6aaD5RD2iQNn5Iodpzo X-Received: by 2002:a05:6402:1841:: with SMTP id v1mr63092045edy.198.1594370858570; Fri, 10 Jul 2020 01:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594370858; cv=none; d=google.com; s=arc-20160816; b=WRE07iHtImoSVG5vGsztiygVlyczGdG2l5G1RZZzvcgB9hY2ql8IDq4L8dTXe3MxFR M0GLkzQ67fSEm5kUufyDdTbVQ3b4hjw9J0TfNM1Fa4sDV4qvVFR4T+cpYIAH+bhJtMoM yAiNGVbKSxFouiKHJAU5o9VxHpFOGjH48WB0bjcHVxDiS5G/Hfi6EAEfK/NyPIeN7Orc VMsSlDxhiMiY3o+hRftNX7K5MA0uDr+5El+QxEZFmxWrOtPwVZARqO0v0nozsYEHEtA2 LLW1+64Lc/iPwqak+XMcvzDe9APik3SmdJoQedbqgsJJ1fosUHA1iQiaLQGsDM0WTtUw n+4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=wfyMZIibeo3BSTRJQTJ0RrHdKoQKZvAyTQHRhTpWrv8=; b=zuOUsY3c4c7hbKi4E9BKLHadMM+6Go9b4Un0NsIkC7pXybw0WuC6chAKNhAAwnGze6 za6WfG4d5Fz/jniU+ObjzBqxfRQtdjkxi9vgFXlgEV7j8OYHIP19uEOML2WTUr+wA2h5 MomRFVUSUa0xx11S7jBTWstdowU2RCq03PhJHKn5H34f33UJjvR+pJzEuAKgp+yh7sSf tYL9SYy9v9iYtdeVitg28QNTCN+k5ofW5qBi+P3bkuxbRogGKmCsDh94Iu1lhFV1ZJ1b q7+HCe7HnXkJhmxIe8jQ1bFopFdHNlx4WyTd/kH9obhQw0tA4h8tnHwCjFLK+g7f52s8 tCEw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p14si3588845ejr.470.2020.07.10.01.47.15; Fri, 10 Jul 2020 01:47:38 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727907AbgGJIpI (ORCPT + 99 others); Fri, 10 Jul 2020 04:45:08 -0400 Received: from mga07.intel.com ([134.134.136.100]:24374 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727780AbgGJIpH (ORCPT ); Fri, 10 Jul 2020 04:45:07 -0400 IronPort-SDR: 9hRgbwXRXcbgbnZ8vur1a3PR/ynxpmLLJRCD84paMBm7VBzB3/8dF2kITVgD7GTH/tGf5S7B5s QjnS06IXOXQg== X-IronPort-AV: E=McAfee;i="6000,8403,9677"; a="213056418" X-IronPort-AV: E=Sophos;i="5.75,335,1589266800"; d="scan'208";a="213056418" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2020 01:45:05 -0700 IronPort-SDR: c0JgcaSniB4CoBNI3AJkJW888/iyZ2r740ImfuM+/UZsaaY2DXyshWTX5zLS/+VKFCjSvjTZdZ Xz0Y9Sa2HEHg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,335,1589266800"; d="scan'208";a="458218230" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga005.jf.intel.com with ESMTP; 10 Jul 2020 01:45:02 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1jtoeV-0011Op-Fz; Fri, 10 Jul 2020 11:45:03 +0300 Date: Fri, 10 Jul 2020 11:45:03 +0300 From: Andy Shevchenko To: Serge Semin Cc: Vinod Koul , Viresh Kumar , Dan Williams , Serge Semin , Alexey Malahov , Thomas Bogendoerfer , Arnd Bergmann , Rob Herring , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback Message-ID: <20200710084503.GE3703480@smile.fi.intel.com> References: <20200709224550.15539-1-Sergey.Semin@baikalelectronics.ru> <20200709224550.15539-6-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200709224550.15539-6-Sergey.Semin@baikalelectronics.ru> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- With Best Regards, Andy Shevchenko