Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3015238pxu; Tue, 8 Dec 2020 00:53:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVhX8aoO4L+AC75+Ck5IhnWS/hZjuWGzZYxP4qrZ61zq1e7Gp/TJlerfNQ+n0UMfljJhbj X-Received: by 2002:a17:906:7687:: with SMTP id o7mr22626485ejm.209.1607417601975; Tue, 08 Dec 2020 00:53:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607417601; cv=none; d=google.com; s=arc-20160816; b=tLlmx9YlqbqbgkQATbUdcHxAByrF9M6e8d/GN+PdUBjxU958o4ZOpDjYDiaP3GvQGi fJr/sq/kMf8b4RK7nSeAy2Ea3GCdkRPsQhQLaTj3Jvws53tgu683+fM1WgB08dzenTNa pjZD8sDR4LYTEQR2LpynxWdkYJuXWRrjIRDw1Xisk6Jx+v31VQjqChE9/+9Dq4B07dsT WPcPxt2NuW/RFoJC7JUwGlY3SpoK0If7MrCdnWvn6EXPX0a3Nr4JMkLO0pleJERpNkmZ h67NtiGcwrQzWHvW/cqlVi3Vbg0BN7NCgHIs57u+hw9MHUNtU6X4sUpU9fYtuYr57ZOC fG2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:to:subject:ironport-sdr:ironport-sdr; bh=koafJIALD4JlFZ+lypw8yJ30TT3KG4uzy96+lHd7ruw=; b=ohg6APs5PQtB83i0bmIQaPI2dhFS7AKQ3rSVHfifSVG2i1VsERRZZp/OghWpDtZPBJ 4PK6pA4PRanV1522gqL98j2HseV+jjk8qpTnM7t7+FESUM4ekVIRS+bNIEGktIq5yuef 4p+dJiIYqL/Ai3f9kAOaFcGorIVJdZDmZkTafx7pD+vQobjrAaN0NZZ7G0YfFQQymX8u sqOVsJTCNR63OKn0UO9wDdpTTt7WVlgEtmOXQCOvzciHpXgG+HN9PWWixvdGXAKcIoj/ Xys4cJojEPMJb/ny/KawAlo28A5MIPmK+ZIocsuyPcE6HcbJBT3LQSpODfVDgUsXiy6U K3Aw== 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 l11si6827286ejx.27.2020.12.08.00.52.58; Tue, 08 Dec 2020 00:53:21 -0800 (PST) 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 S1728184AbgLHIti (ORCPT + 99 others); Tue, 8 Dec 2020 03:49:38 -0500 Received: from mga09.intel.com ([134.134.136.24]:18181 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725927AbgLHIti (ORCPT ); Tue, 8 Dec 2020 03:49:38 -0500 IronPort-SDR: llUxlM0XzVXBBN1SffG6Z6aC+VRx4ZM3kYwRc8kUP1IZPxk8G+RZebdvTX+ZVd8DwkfFkOkiwt mereTPu+h73Q== X-IronPort-AV: E=McAfee;i="6000,8403,9828"; a="174002494" X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="174002494" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2020 00:48:51 -0800 IronPort-SDR: pMczkkcSRYKv/O4u8W5KLpKfRiGFd5mjH1wslwYA8X5ddg7EHrvtiH8YMX2mtQ5UH5SdUgMe/r x4y2bWuiNdPA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="347815745" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.94]) ([10.237.72.94]) by orsmga002.jf.intel.com with ESMTP; 08 Dec 2020 00:48:49 -0800 Subject: Re: [RFC PATCH v3.1 00/27] Add support UHS-II for GL9755 To: AKASHI Takahiro , ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, ben.chuang@genesyslogic.com.tw, greg.tu@genesyslogic.com.tw References: <20201106022726.19831-1-takahiro.akashi@linaro.org> <20201125074125.GC62993@laputa> <20201201030937.GE43403@laputa> <523f9ed9-318e-7121-d58d-c3843d9b9b7c@intel.com> <20201208075815.GC31973@laputa> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <5eef5f29-624e-6413-dd9a-eacebf75fbc0@intel.com> Date: Tue, 8 Dec 2020 10:48:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201208075815.GC31973@laputa> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/12/20 9:58 am, AKASHI Takahiro wrote: > Adrian, > > On Thu, Dec 03, 2020 at 11:55:23AM +0200, Adrian Hunter wrote: >> On 1/12/20 5:09 am, AKASHI Takahiro wrote: >>> Adrian, >>> >>> Thank you for your review comments. >>> >>> On Thu, Nov 26, 2020 at 10:18:55AM +0200, Adrian Hunter wrote: >>>> On 25/11/20 9:41 am, AKASHI Takahiro wrote: >>>>> Gentle ping; >>>>> >>>>> On Fri, Nov 06, 2020 at 11:26:59AM +0900, AKASHI Takahiro wrote: >>>>>> This is an interim snapshot of our next version, v4, for enabling >>>>>> UHS-II on MMC/SD. >>>>>> >>>>>> It is focused on 'sdhci' side to address Adrian's comments regarding >>>>>> "modularising" sdhci-uhs2.c. >>>>>> The whole aim of this version is to get early feedback from Adrian (and >>>>>> others) on this issue. Without any consensus about the code structure, >>>>> >>>>> Any comments so far? >>>>> >>>> >>>> Overall, I like this approach of separating UHS2 from legacy sdhci as much >>>> as possible. The only major change, is to drop support for legacy quirks >>>> and features that you do not need. The reason for that, is that there may >>>> be few drivers that end up with UHS-II support (opting instead for SD >>>> Express), so there is no point going to a lot of trouble to support things >>>> that never get used. >>>> >>>> From what I have seen that looks like it includes: >>>> - any quirks >>> >>> GLI driver (gl9755) needs >>> * SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC >>> * SDHCI_QUIRK2_BROKEN_DDR50 >>> but they are managed in sdhci code. >>> >>>> - SDHCI LED support >>>> - external DMA support >>> >>> Should we add 'depends on !SDHCI_UHS2' to MMC_SDHCI_EXTERNAL_DMA? >>> >>>> In this regard, the important thing is to have a comment somewhere that >>>> lists what is not supported. >>>> >>>> I have only looked at SDHCI patches so far, and only up to about patch 20, >>>> but maybe that gives you enough to go on for a while. >>> >>> Well, I have almost done. >>> Can I expect your comments on the patches #21-#27 as well soon? >> >> I have made some more comments and that is all for now, except for anything >> more you wish to discuss. > > Thank you. > I assume that you don't have any objection against adding extra hooks > to sdhci_ops in patch#23 and #25, do you? No objections at the moment. > > If so, since we don't have any critical issues to discuss, > I hope that my changes will be contained in the new version > where a major rework will be done on the core side by Ben. Ok