Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1904822imu; Wed, 21 Nov 2018 03:55:51 -0800 (PST) X-Google-Smtp-Source: AFSGD/UAzf6QVsXDOs6t/eKiB02o0KpjNH10VZ/N0ryerBFAupV7Hsg0yKG28t/JNs2+V6AzDFDf X-Received: by 2002:a17:902:162:: with SMTP id 89-v6mr6436766plb.293.1542801351328; Wed, 21 Nov 2018 03:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542801351; cv=none; d=google.com; s=arc-20160816; b=Rq/tSa7CQe7KFrYFe/neWTGOr6qiMlID58NDFnjA374yXGvJJcldzCKnBsg168eQ7h D5TokMhr6huy+R6fj0QacsG4SzT8BpN34jtqHodNizmT/YbDE3++d3P+1ULQTj1CDs0q OqOp56MUhEKcX2HtIeZ8hyrhadXsZJdXDlRiBwN5Wt+tryZ1rrN48NLFGa2aPA93Tn33 sbPzC2k72bQZvX/hV87ytt10hKD0C8N+s/gMBASs0TClxW9LZSylvCM+2MrDU7rOk124 oFrX5goSTQZJlQ52Sn1GTd3TzwGk/sZGr7xIowab+DAw0Vc0kaknXRub5hceKizPpAha f38g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=x8AU36GTfmn+vDleLYsI4KzAlV1Sm4nGY6ajUuvijuo=; b=H09xYss6bIM0PvQJEFQyym9qNIUU/C6L+99VZMLDPNCSqLck89an41kHtq5/xXKKuw 4Jmj3Sk6A5W5pm7ZzqkYzeeCTJmqHWNr7sPY8fyAu2uJatUKoJJDzZIIOVo0zZv+gflC KgSo1goD0ZC7zqebVWRTeezz2OnOXh4xMmt55/iLPzOLN8GnFe/2v8tM0nHObUxt9/Zd q4BesABK/breROUz/h40Qd3mOXMt4Yth6n0TxLAeh0I7ASpROH3pIUXEvED65zpzx68Z quGXdV9VT2Qfo6RXbJALKUV0LFS6WNdkOi7VX8qFMrZxEMU3LtAMmnu+VCLLD4GslyyF WB8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WxXd8DVz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cf14-v6si48381503plb.422.2018.11.21.03.55.36; Wed, 21 Nov 2018 03:55:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WxXd8DVz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729532AbeKUWSo (ORCPT + 99 others); Wed, 21 Nov 2018 17:18:44 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:37614 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727343AbeKUWSo (ORCPT ); Wed, 21 Nov 2018 17:18:44 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id wALBiXxW085690; Wed, 21 Nov 2018 05:44:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1542800673; bh=x8AU36GTfmn+vDleLYsI4KzAlV1Sm4nGY6ajUuvijuo=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=WxXd8DVzOpTfNWfxzUsJQbCUHDfSXSgnWrzwNsfOIRWRblwCmi+VEK8qDqA2iKeDK ZtcJURU5gG2va/1hxC0vAj1ShlOHXgQOkveMEnB/XxmJCahKBSX1655PlCpr2iBknS gh3mcYj1FuCWCKgDlmGvh94oRAskp1hYrGHNzhIs= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wALBiXNu056393 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 21 Nov 2018 05:44:33 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 21 Nov 2018 05:44:32 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 21 Nov 2018 05:44:33 -0600 Received: from [172.24.190.215] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id wALBiTQu008910; Wed, 21 Nov 2018 05:44:30 -0600 Subject: Re: [PATCH v2 0/3] Add support for using external dma in SDHCI To: Chunyan Zhang , Ulf Hansson , Adrian Hunter CC: , , Arnd Bergmann , Mark Brown , Kishon Vijay Abraham I , Sekhar Nori , Chunyan Zhang References: <1542007566-9449-1-git-send-email-zhang.chunyan@linaro.org> From: Faiz Abbas Message-ID: Date: Wed, 21 Nov 2018 17:17:12 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1542007566-9449-1-git-send-email-zhang.chunyan@linaro.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chunyan, On 12/11/18 12:56 PM, Chunyan Zhang wrote: > Currently the generic SDHCI code in the Linux kernel supports the SD > standard DMA integrated into the host controller but does not have any > support for external DMA controllers implemented using dmaengine meaning > that custom code is needed for any systems that use a generic DMA > controller with SDHCI which in practice means any SDHCI controller that > doesn't have an integrated DMA controller so we should have this as a > generic feature. > > There are already a number of controller specific drivers that have dmaengine > code, and some could use sdhci.c actually, but needed to implement mmc_ops->request() > in their specific driver for sending command with external dma using dmaengine > framework, with this patchset, them will take advantage of the generic support. > TI's omap controller is the case as an example. > > Any comments are very appreciated. > This is great. It helps us move am335x and am43xx platforms to sdhci-omap. What platforms have you tested this on? Thanks, Faiz