Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp22884imu; Wed, 2 Jan 2019 01:19:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN7pZ6Zm+iJpFO+S0Kf0TzHhwR/vu9shRjiaxlpbzTI+V0ii8orNnc3Mwt53ONUn+Vlyhh2T X-Received: by 2002:a63:bc02:: with SMTP id q2mr12960196pge.116.1546420746555; Wed, 02 Jan 2019 01:19:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546420746; cv=none; d=google.com; s=arc-20160816; b=l2WbJKQRmho7sd9eB8iKfgfD/xhBIaTe6jofQrUAP4SjMkL2f0cdwKJPhOj3QEaejw e0ploMNdrGFIVWSa/d+QsYioAGIRFY8Ra457Dn7xyCX+/W9JGsiu1MNWSyItduIK0xyK BQEl6Z1LgYbcafnYBRXVYXGOwQMwSeceFx+yed1s9P+4KxO2Ok/yV3AII3z3dZtkJmC9 ZKAhPw89ND0sPHon2eXUSt8BLVxYIxax/4rVSPGViqYNnURpl+T9y46MJaYP/9rDmpER UgmTv3ZrOUFkBcSc56oNVE8H3p+2sOduDKHs8iHKU7iV87K6+MuDPQrUwUBrJm6dEnK1 XHDg== 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=Dbbfcr2Z83lDGzZ9bITKlN6X9XQCAz28Vy5dbqwInfE=; b=GAJX1ULXFWks7PcL5BAZAmMnGftc+NZpVJicyhsYL5HNl4QAl3fiazFwt2Q8xNy7lp VxtP1AG08PuEavD48lVwLmq/tsnb6HFRImNqsF6I7uS2iIqr22JuireI1beGS0sE/ANh W7z/I27idoagWvs9YVRpp2CMOjUcWQb9AoRPBGvkSzDEJevDsC/r+0wj7Lnra7ORx2w7 AlyiWWdMSiWTIgiy+RtspqoBjTX2huf1HzdbVB5Jg2twwfbmwyjWkuA1m84/viBBVZOB bImfiYsp9rvpfFtQ/Q3KRASh7B+nrylxEa4XeVNJqKSYMmhp9bul6f0avvXcfajD5BAR sRcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=T4YgV3zd; 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 z31si11952446plb.402.2019.01.02.01.18.48; Wed, 02 Jan 2019 01:19:06 -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=T4YgV3zd; 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 S1728946AbfABIXo (ORCPT + 99 others); Wed, 2 Jan 2019 03:23:44 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:52524 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728870AbfABIXo (ORCPT ); Wed, 2 Jan 2019 03:23:44 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x028NZTj081582; Wed, 2 Jan 2019 02:23:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1546417415; bh=Dbbfcr2Z83lDGzZ9bITKlN6X9XQCAz28Vy5dbqwInfE=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=T4YgV3zdZP93waJPKkHhemNhe+6Exwy78EcFTbcoJLg1rJWWIh71alm1a6CbNTp70 DwJQ8fzYzbk7qYMq2HlQyo1DOD24KczKnUddFznj0ImGSTFLUgoFuy0/UPBeLvURqb h50c17IBruc6tSSJuUH+1jQZcLDJOK2DnodlhFH8= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x028NZlY039848 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Jan 2019 02:23:35 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 2 Jan 2019 02:23:35 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 2 Jan 2019 02:23:35 -0600 Received: from [172.24.190.215] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x028NVUQ001262; Wed, 2 Jan 2019 02:23:32 -0600 Subject: Re: [PATCH V4 1/3] mmc: sdhci: add support for using external DMA devices To: Chunyan Zhang , Adrian Hunter CC: Chunyan Zhang , Ulf Hansson , , Linux Kernel Mailing List , Arnd Bergmann , Mark Brown , Kishon Vijay Abraham I , Sekhar Nori References: <1544519572-21921-1-git-send-email-zhang.chunyan@linaro.org> <1544519572-21921-2-git-send-email-zhang.chunyan@linaro.org> <0e683aef-383c-8200-0059-44a9abb654b8@intel.com> From: Faiz Abbas Message-ID: Date: Wed, 2 Jan 2019 13:56:25 +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: 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 Adrian, On 27/12/18 1:32 PM, Chunyan Zhang wrote: > On Thu, 27 Dec 2018 at 15:44, Adrian Hunter wrote: >> >> On 11/12/18 11:12 AM, Chunyan Zhang wrote: >>> Some standard SD host controllers can support both external dma >>> controllers as well as ADMA/SDMA in which the SD host controller >>> acts as DMA master. TI's omap controller is the case as an example. >>> >>> Currently the generic SDHCI code supports ADMA/SDMA integrated in >>> 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 an external DMA controller with SDHCI. >>> >>> Signed-off-by: Chunyan Zhang >> >> FYI, I am waiting on successful testing before reviewing these patches again. > > Yeah, that makes sense, thanks Adrian! > > I intend to send out another new patchset after the holidays. > After had another look at omap_hsmmc, I knew something need to be > modified (emailed Faiz about this privately), but I was still not sure > if it can fix the problem Faiz found. > I am currently working on moving am335 and am43 devices from omap_hsmmc to sdhci-omap driver. External DMA would be an integral part of this. The plan is to post these patches as a part of my series after testing on all those devices. Thanks, Faiz