Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp158949ybr; Fri, 22 May 2020 03:34:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCVUkVHxfp6k9rZ8CiaRoS29Zql5wMLAORHWn8dT4TCLGsi04TkF8p1c13O7iVgmBj8GjV X-Received: by 2002:a17:906:a0c2:: with SMTP id bh2mr7743250ejb.458.1590143678590; Fri, 22 May 2020 03:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590143678; cv=none; d=google.com; s=arc-20160816; b=FB3RhYUCAZac1lUhlIImo6R0LdnqUa4bEz0n4YAgUtBhbdcqkBYSbY4OVxRwiUbCwK wODu2rzqWxHupTGuDFn3o4/YIXgSRLDDPQDyALcFAf+JusFRywlOlI/iJkw5L64dXwLy XFfPDdlw9QLI4HfSPFQPNBS2USG7Qm/JBqiiwY70OryVQLrE112GeVP1aYp4Z/eoiv62 eEvwYiUfiQYlX1CGi9388ffW3psprADW8T27qNAXg04RqiRyOW7RAvByhLi+0Jh3TlzX aF4+LscZ3l6CbFQUvwAZSIOor/PPKVhFc8/KLE+tXQapqA3E7y9OMU+xRr6CQp1GJ7ef SZCA== 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; bh=PC8rYht3NJphEbncdMycbS8BPenTgwvdfe9KBgW0LdM=; b=gmIgWhNaLmSvv48DF4YjMOZN6J3CPy+6IFsu1LZy3rVIS0qY6z2bdmp5Zhb2Slyddx 2FOifvGEouevWUB5ZL9N7D+5hrJYk4DJwlhwyvbs9twdogQ58R/quxx0M4rAaafxNrra 9CVsvkXKnPvherp5HGinw3fzH9kK73i9Kff8uvGjlz/u62wI3VS/2Z9Yw4z92hpEjgjZ bW4OWInxBHI+oKi+Vvtw2Yq/Q2hBfMgOCeA2GFm3f/zDzV3RTMaghZRH1zMoCKbeIhw+ UJ5RBtIdXXnE7/0ErFUIg7tofwIa7yg6i1SjZvo3WjRqkF2vhgwYi1DT6wxdCLJosltc Lt4A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r27si4436378ejb.750.2020.05.22.03.34.13; Fri, 22 May 2020 03:34:38 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728641AbgEVKcn (ORCPT + 99 others); Fri, 22 May 2020 06:32:43 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:47005 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728362AbgEVKcm (ORCPT ); Fri, 22 May 2020 06:32:42 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MJFpj-1jLujr2a3H-00KhZt for ; Fri, 22 May 2020 12:32:40 +0200 Received: by mail-qt1-f182.google.com with SMTP id l1so7867219qtp.6 for ; Fri, 22 May 2020 03:32:40 -0700 (PDT) X-Gm-Message-State: AOAM532SQFvQb5Npeooaj/NR2QiPmLkkotBG9MODvJkOCWwNzqOTNK3y uzzFI40i3uBgXkOPnwfF2+xtdqGv0pdHQX4otmI= X-Received: by 2002:ac8:6a09:: with SMTP id t9mr14983624qtr.7.1590143559480; Fri, 22 May 2020 03:32:39 -0700 (PDT) MIME-Version: 1.0 References: <1589875163-3367-1-git-send-email-rui_feng@realsil.com.cn> <20200522091646.GA1201234@kroah.com> In-Reply-To: <20200522091646.GA1201234@kroah.com> From: Arnd Bergmann Date: Fri, 22 May 2020 12:32:23 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] [V2] mmc: rtsx: Add SD Express mode support for RTS5261 To: Greg KH Cc: Ulf Hansson , =?UTF-8?B?5Yav6ZSQ?= , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:mj5QO1v09rogAwkUgtqZF9liaU6XrO+Krpm3vvsxolto+Uj8tNO dLDxl1qcjFDlapRFg0HKsFhmZFI5VMsAID1ZoYqleY98VgOkjwIhSMiKIQUyTu3eJnuInsn vu6t7XYVtn6nM8PIR/aXx/ESBor7JsixKbfk570cPcx8pm3+fQkdD4Vm4+LD7d7qmF5wyb8 lUdiAXc7lmyxtSIF5lx0Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Jz+blxUtmQU=:cB2SKbLKX2vITmd6yx/non vK9Wcca3pdE+6b85rhkaw0ZRGmU8tTdo1R22W1dqY4bmgJnYCoxGuE4p7b5JwCe2H7tQgRikJ 78Oqd6G7p5vOmZQVNj6THOVoYbag3cXKsWDI9MIsIB/weRYNOJAEbuvS0CuOW2zPSXlmmtemv Cb0RZFEOLsCNb3HkLP7IFqRNh++y3t+STZCqDJ/uHpjTED38DJ9juRnwHcg7jzxOoRbiaJMb2 9z3qfPGPcT9pE++wNQuYfyBtZtI6lwVIyWTI9qyYzyHDgq/k/9aVZnKNH4i26cmJgddwh42Cd uEX9EpatoSTJl9tF1iSrlGvIXGlJPFn2/oqXtY6YpNUkrbhXvqqL+XPUKvc6raC3Owk3w6b8W tBRS/YqQAOrSSdJCcOP9hjuRg7hFZSYditOODcaj/sGmW3KfEG38xNQzAefRi4aqT1cc4bwho SoXoQXuNamqvAtDqlTm2FRthyFmirFWmmFMK0bsA9qRwYR/pN2RyhfCvvgUAyeg12vSpjITVq wdqDDi4FgTDBwhXPXO1+R1sb2umltIZz+acUHJx9tqZUn9gSvP0lyia0a9HqEH2imNrj/Vntp //+2lFKlvjpP9/U6uzjgu/JEkoTihceXKMfIvWV+x7LiSyn1VA7xnDCQ/GPk8z9cQsDMufOtN Js6oRSSVGwlxrXhhq7D6m4Xuepl5zBEWuGuBNttNKheyrgyATjLSb3OZyNicvKa2IvXZY/fG3 8LkgVUZXHLfzqf9x15REsu5vDRBmuT9IuestP45kd8+UoRAJRSIXOy3U9hebgnJCiOFwIu0SZ ngi2Y15p9zNJv6Shxl986XWFc+pDv3G4zJF7biiUU3ZvlKtQFo= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 22, 2020 at 11:16 AM Greg KH wrote: > > On Tue, May 19, 2020 at 03:59:23PM +0800, rui_feng@realsil.com.cn wrote: > > From: rui_feng > > > > RTS5261 support legacy SD mode and SD Express mode. > > In SD7.x, SD association introduce SD Express as a new mode. > > SD Express mode is distinguished by CMD8. > > Therefore, CMD8 has new bit for SD Express. > > SD Express is based on PCIe/NVMe. > > RTS5261 uses CMD8 to switch to SD Express mode. > > > > Signed-off-by: rui_feng > > --- > > v2: remove config option MISC_RTSX_PCI_SD_EXPRESS > > --- > > > > drivers/misc/cardreader/rts5261.c | 5 ++++ > > drivers/misc/cardreader/rts5261.h | 23 ---------------- > > drivers/misc/cardreader/rtsx_pcr.c | 5 ++++ > > drivers/mmc/core/sd_ops.c | 9 ++++++- > > drivers/mmc/host/rtsx_pci_sdmmc.c | 43 ++++++++++++++++++++++++++++++ > > include/linux/mmc/host.h | 1 + > > include/linux/rtsx_pci.h | 27 +++++++++++++++++++ > > 7 files changed, 89 insertions(+), 24 deletions(-) > > If I can get an ack from the MMC maintainer, I can take this in my > tree... > > {hint} I think this feature needs much more discussion to make sure we get a good user experience when it gets added to all mmc controllers. rtsx is a bit of a special case for mmc controllers already, but we will likely see the same requirements for a lot more mmc host drivers. I suspect we need to tie in both the mmc block and nvme device drivers to properly do a handover, to ensure that there is a way to identify the block device as reliably getting probed as at least one of the two (sd or nvme) and to get identified as the same device during the handover, in particular across a suspend or hibernate event. I understand that this patch is very desirable for users, but let's not rush it. Arnd