Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7158122imu; Thu, 27 Dec 2018 13:34:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/XrFFxaDVF8spSNYX7JhUIBMlG6oY7QqpFWG9Ck/ICL7aY2naTuHPfM0OFOFEy3DQwBjyBj X-Received: by 2002:aa7:83c6:: with SMTP id j6mr25725493pfn.91.1545946483792; Thu, 27 Dec 2018 13:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545946483; cv=none; d=google.com; s=arc-20160816; b=YmGHMDsEob7Il8BI67Tp6RtHXP8IirdMlTX2aDGmi4v8t/fHHlwVManhaT9X/OUOjs anRoI0EX8PC//NJAoHdU8o45NLFXgWwTOJuSgPEVZ51DuWg6sFLrqa124ZRVGex54rwH GzejPFBhTe2z7wZ5Aohz+Y6oAdD8h4Fj8M9DMUHSfNOMbZ6o7P/gB/PKIBkXKfJzJvCS PJvKqguLzxiESKeB7eP0u6UAYrAJHscE7c4U7+B2qPxXCHBwd0z0hny5BzMQ3beT2EFA hfyadVc+OwVYaomrC1QplYEYguBMypwovGCNgFafSuAdzAIo7foceMscsF6S87SWV2oV 0crg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=FXaipZicuaA3PxmcnsRTC44H8F4Ri9DgI3x3aUybNYg=; b=iI7AjO6uSF2vDHeqARoxnSQpbsfYVU6DGv3vfRVNoMyWFL9d3cAsQw/+zF6OMTKveL UptuX0BtRuko4TcfV9KOzT8VFQApHNLo2ergdtk4BUnlzicxVUDKtwFPg9HG1BJrTbky zeMZ/Aya9hL/Aj+VJygkKNUri5oc4cZlRmvRxzOcQxdWLKJcmpdzB0FyGuBhEHpFQf1T hlF+mpqv5NdWcQ1Q0q/XpB4E5+sMwH+e2TmmN3rLVYdf04XCHgQLCSOcQFwtxO8bX3hn i1wkOPxTQpH4WIeFb3BRQSrQ1B5dsV1JLvBSy9FAXKuLF4Oipt7SZoXgophBXjEUUPgI abXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KBwFrKgj; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 186si17851101pgi.424.2018.12.27.13.34.27; Thu, 27 Dec 2018 13:34:43 -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=@gmail.com header.s=20161025 header.b=KBwFrKgj; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730032AbeL0IDi (ORCPT + 99 others); Thu, 27 Dec 2018 03:03:38 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34822 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726845AbeL0IDi (ORCPT ); Thu, 27 Dec 2018 03:03:38 -0500 Received: by mail-wr1-f66.google.com with SMTP id 96so17521444wrb.2; Thu, 27 Dec 2018 00:03:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FXaipZicuaA3PxmcnsRTC44H8F4Ri9DgI3x3aUybNYg=; b=KBwFrKgj5lyUpNQ62v9jc36LU4zWga+GAXj++ueulmGgv/V6f/z1tDobaR7WVwld9t jOH+tHjVxNwEdT/kLuPODHHGYSZHNv9RNbLVZ2PpNHVreObDgZl9zV+sa5NZaOQTWRKO a+staD/ljZHaRBEhUncJ/fUUNnkl2E6+2M0PV0ZcyWIAlFbF8l5s4BiXqvy37O9z6gMj AFhtMFq9EGGDW02ZDzUK4f/IVTyCUhLZH8AHbPQd5ncmpKDybkQOZu2kczOgWy89H+lC MQVhgtOC+KJPjki7v4l5wwWeXPRC2gTB6xgHPHEKmn52OMXFOcIZmCKzmiSxTprYtMWM b4og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FXaipZicuaA3PxmcnsRTC44H8F4Ri9DgI3x3aUybNYg=; b=h/sGyEPKPerZZS2Tw4fUxkc8ywu0iNq8KzcpiYQbRpUp2aqmM+8XpDD1qFmWurTTHG IJ/zp57A5joHRVOjFVundjzFnIOHFd4GVZ0NoDcLJoP8fpN37Adb0LuSvcOZZWehLeGT lYyV/PWPJ53aDndxJp5Tk6XMvlG09sOL1HvxyCJ8SfBSj5XiaG2gYhDJNN+HPd+g3et2 tzGtC1zD3nrRyritJA0UI/ipSHs9sjIjk7Ika26jk6VHXwva7YQfBOqWoTKFMQqTN0uq GvCUiTEfw3aCSeytDKmuNatMyALfmT62V54EpLjGcsVQDZrl5OCfPnnmCFuRDQLUnWup eAaQ== X-Gm-Message-State: AJcUukczg5xgFXwBA2SNfYUbKPNwYKmRQC36Z5oLO+F/o1tg4S6YogX7 wGRc3OZv8cCGpc80zTFIUcbxluQa2I81GKTi+84= X-Received: by 2002:adf:f0c5:: with SMTP id x5mr20339550wro.77.1545897816080; Thu, 27 Dec 2018 00:03:36 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: <0e683aef-383c-8200-0059-44a9abb654b8@intel.com> From: Chunyan Zhang Date: Thu, 27 Dec 2018 16:02:59 +0800 Message-ID: Subject: Re: [PATCH V4 1/3] mmc: sdhci: add support for using external DMA devices To: Adrian Hunter Cc: Chunyan Zhang , Ulf Hansson , Faiz Abbas , linux-mmc@vger.kernel.org, Linux Kernel Mailing List , Arnd Bergmann , Mark Brown , Kishon Vijay Abraham I , Sekhar Nori Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Happy new year to all, Chunyan