Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1315699ybt; Thu, 9 Jul 2020 04:09:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ6Svd9y1QvHTU7lAE+QbNp4BTEzdEEQ8u4dQtLBYmPOOPM5uACi6Fzhl5MiugUIANIOBl X-Received: by 2002:a17:907:94c4:: with SMTP id dn4mr54276773ejc.150.1594292991763; Thu, 09 Jul 2020 04:09:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594292991; cv=none; d=google.com; s=arc-20160816; b=h6mIs/ppllBehc16UCZANKexe7BJWm1nf/SQiUu1zomhmbR17eGvDsUQlYP715kZIP diaQZLXPJAEqFcKfYtdyTgwkiFhBdZm5ppWrN+5FthcUDR0y42m/Sx2z3HkzsGH+LVHM 08HuHKSi1AVE90IA37dE3SsBat3D1MfPTGzBgt3u4ESIgmwops6COGRcIW6hRD1CrOpH B3YukMTxycThijrtz2+fYFyV62nQ93IMoVl5X4mIrI9SJg6rvgLwNnbaesJL6V/jC6Hb S3BpBVVNNHtdqp7ww1TKz3JQuS9rR2ZZ4dExgDmkgXuUNXN28HlZUL88LfyDMrqzDboI DXRg== 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=htJ85s/MXrAz0KMc6QINRq/L2hxHBgh05J6PuOO06TE=; b=oJylPpEiwcnJ2oC1DqUjuYkRjt0WO9wDhPmOGmDYi4DVSaYXWEWf7NsHNN/osc8DDI iYW2XMzxYy3qT7Vta6v7PPG9WnKr7uPmBlR5B+4VhlR2Koz7AJJxOidztIUOajmmOLTT i9zt0vuTqt6tFp0rNkEuAin0Mmvhc0g1ayR+FP0+Pcnk0iZ51841LvPaToD7NNaQpg57 XIgVcP0eane271KHzCiOP0aVbX4lHB0tjpz8ktZHOpLxpv8HrtthngRztqkLCAU+nSeh 9bbHAKuPyx8T2uZjIgXfzHa+B7ix92e+cOY7FZMt9EeaOplt+vq3cvQqcsd57hMrMGfH fL7g== 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 q17si1650813eja.355.2020.07.09.04.09.26; Thu, 09 Jul 2020 04:09:51 -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 S1726867AbgGILJR (ORCPT + 99 others); Thu, 9 Jul 2020 07:09:17 -0400 Received: from mga07.intel.com ([134.134.136.100]:39568 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726575AbgGILJQ (ORCPT ); Thu, 9 Jul 2020 07:09:16 -0400 IronPort-SDR: 45nC6U7Bv7mJjVYTZWqGyWG55S2sfdSXKEcrPpoWLWF++DAuAmuc7F3bo9BMjq72Tw1aXQIta9 /YoDptNR1RFQ== X-IronPort-AV: E=McAfee;i="6000,8403,9676"; a="212891107" X-IronPort-AV: E=Sophos;i="5.75,331,1589266800"; d="scan'208";a="212891107" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2020 04:09:16 -0700 IronPort-SDR: OWaLNeZBmurGE0tfls9Q2CUa/rhJAuCmUH8nFuOlGcWQl+Rl23mb1bdok7/IQ+rBvSwIphLnW6 cN3S2miYfZjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,331,1589266800"; d="scan'208";a="323211719" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by FMSMGA003.fm.intel.com with ESMTP; 09 Jul 2020 04:09:13 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1jtUQU-000qRR-HO; Thu, 09 Jul 2020 14:09:14 +0300 Date: Thu, 9 Jul 2020 14:09:14 +0300 From: Andy Shevchenko To: Amireddy Mallikarjuna reddy Cc: dmaengine@vger.kernel.org, vkoul@kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, chuanhua.lei@linux.intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, malliamireddy009@gmail.com Subject: Re: [PATCH v4 2/2] Add Intel LGM soc DMA support. Message-ID: <20200709110914.GW3703480@smile.fi.intel.com> References: <6be9b9cfbf6708fe371f280cb94cbdc9c04bdccb.1594273437.git.mallikarjunax.reddy@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6be9b9cfbf6708fe371f280cb94cbdc9c04bdccb.1594273437.git.mallikarjunax.reddy@linux.intel.com> 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 Thu, Jul 09, 2020 at 02:01:06PM +0800, Amireddy Mallikarjuna reddy wrote: > Add DMA controller driver for Lightning Mountain(LGM) family of SoCs. > > The main function of the DMA controller is the transfer of data from/to any > DPlus compliant peripheral to/from the memory. A memory to memory copy > capability can also be configured. > > This ldma driver is used for configure the device and channnels for data > and control paths. > +#include "../virt-dma.h" I didn't find any evidence this driver utilizes virt-dma API in full. For example, there is a virt_dma_desc structure and descriptor management around it. Why don't you use it? -- With Best Regards, Andy Shevchenko