Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp360955pxu; Thu, 3 Dec 2020 02:05:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwjbwPRcyQvZQoH0PNYaYREtkbgK/nvIkM5rj9yUEWxpNYk0NfPnT4ACg/EheE3ze7lIlZ X-Received: by 2002:a17:906:614a:: with SMTP id p10mr1842810ejl.312.1606989945011; Thu, 03 Dec 2020 02:05:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606989945; cv=none; d=google.com; s=arc-20160816; b=RTgZ3ny7M/RP6VkB1aOsC6Nny37VdMJ50fl6jVgAfqL5d2ItcnBetQbsns2U9DNKC9 Ffzd/hGB7Pj2zLufjOb4GuQjOEGFVuQbtzelNbGSmb5tFTOkTLLcyycByTdD9tL/Hwmp 3rC/4xmspIW2Em8Y/X3mRd+aWWDdTAQKzKFzAzEiUhgW+jJkV9erwi0XpyqQTVaCB47v DXOn+EQkn+0Yk5NReGDZrA3P6wHmVLMaLHTCzXntrjgxw9TcYPJ/cb3e0aiJ1HWv8zLr Hu/RgCOUKT0udBb4DYIjXMmWDmywvau7FIWjKqan+l3yeQMccgrV7sRuo8R7scKX6Sf0 zQyA== 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=PygkbTbfII71LXszIpOiunCXzSFa6yipKvk+/osKk/U=; b=dC86VP7ljRvuFc7ciqbM1baSTdsvWKcZwU51vlU33pF6NBpojYxxU4flOyHvlnHk91 VRgLnMBfci9Nakd29zFU/uppl9ithMUBcQ2QEOIzbQbB+YZm/BmdJboIte4OaVQfOXsx GkiWSi1N6KNj1qRDaeaTGOs7Dwon080sUnco77HTejcJDiOV7jzuK7wU14wmQT96IPk2 WE83gF0x5WKh33Evbav7XjfNHv3caPLvtXC5qgTuesmubbwNLsugbqF48iK239MOf7+K y0DwV+GerI3WlX/ceFzMmbPLqTdhOyH6OgEJF82WJ34wqBwQIhjU7OQeA7UmmQA9jIFI dYQw== 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 z18si625680edx.593.2020.12.03.02.05.21; Thu, 03 Dec 2020 02:05:45 -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 S1730106AbgLCKDQ (ORCPT + 99 others); Thu, 3 Dec 2020 05:03:16 -0500 Received: from mga17.intel.com ([192.55.52.151]:6536 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728361AbgLCKDQ (ORCPT ); Thu, 3 Dec 2020 05:03:16 -0500 IronPort-SDR: dpZxTw49nvYeljR6Tn3k0Tars6j+F0oHd1gRhnayPUZgD6w6DpTUCiTmTX48FopLcMVc63n6QH q0GgJcaIj/Rg== X-IronPort-AV: E=McAfee;i="6000,8403,9823"; a="152994607" X-IronPort-AV: E=Sophos;i="5.78,389,1599548400"; d="scan'208";a="152994607" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2020 02:02:36 -0800 IronPort-SDR: 9m5NA9f9NZgWGQuQqw+P8EBYdVT7Eotlu06rdoSfqi+S26oUrkHtpDpNy2SGfrA3Fr2tPbg7bN 3EWaO2ad7R8g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,389,1599548400"; d="scan'208";a="335900256" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.94]) ([10.237.72.94]) by orsmga006.jf.intel.com with ESMTP; 03 Dec 2020 02:02:34 -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> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: Date: Thu, 3 Dec 2020 12:02:06 +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: <20201201030937.GE43403@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 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? No because SDHCI_UHS2 does not necessary mean UHS-II is actually being used i.e. same kernel can support both even if no controller uses both