From: Adrian Hunter <adrian.hunter@intel.com>
To: Avri Altman <avri.altman@wdc.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
linux-mmc@vger.kernel.org
Cc: Ricky WU <ricky_wu@realtek.com>, Shawn Lin <shawn.lin@rock-chips.com>
Subject: Re: [PATCH v6 0/9] Add SDUC Support
Date: Fri, 6 Sep 2024 14:10:22 +0300 [thread overview]
Message-ID: <1eee4711-7a42-4c9c-a092-9bb6f69ee3a9@intel.com> (raw)
In-Reply-To: <20240904145256.3670679-1-avri.altman@wdc.com>
On 4/09/24 17:52, Avri Altman wrote:
> Ultra Capacity SD cards (SDUC) was already introduced in SD7.0. Those
> cards support capacity larger than 2TB and up to including 128TB. Thus,
> the address range of the card expands beyond the 32-bit command
> argument. To that end, a new command - CMD22 is defined, to carry the
> extra 6-bit upper part of the 38-bit block address that enable access to
> 128TB memory space.
>
> SDUC capacity is agnostic to the interface mode: UHS-I and UHS-II – Same
> as SDXC.
>
> The spec defines several extensions/modifications to the current SDXC
> cards, which we address in patches 1 - 10. Otherwise requirements are
> out-of-scope of this change. Specifically, CMDQ (CMD44+CMD45), and
> Extension for Video Speed Class (CMD20).
>
> First publication of SDUC was in [1]. This series was developed and
> tested separately from [1] and does not borrow from it.
>
> [1] https://lwn.net/Articles/982566/
>
> ---
> Changes in v6:
> - Remove Ricky's tested-by tag - the series has changed greatly
> - Call mmc_send_ext_addr from mmc_start_request (Adrian)
>
> Changes in v5:
> - leave out the mask in mmc_send_ext_addr (Adrian)
> - leave out close-ended SDUC support
> - remove 500msec write delay as there is no busy indication (Adrian)
> - disable mmc-test for SDUC
> - move enabling SDUC to the last patch (Adrian)
>
> Changes in v4:
> - Squash patches 1 & 2 (Ulf)
> - Amend SD_OCR_2T to SD_OCR_CCS in mmc_sd_get_cid (Ulf)
> - Use card state instead of caps2 (Ricky & Ulf)
> - Switch patches 5 & 6 (Ulf)
>
> Changes in v3:
> - Some more kernel test robot fixes
> - Fix a typo in a commit log (Ricky WU)
> - Fix ACMD22 returned value
> - Add 'Tested-by' tag for the whole series (Ricky WU)
>
> Changes in v2:
> - Attend kernel test robot warnings
>
> ---
>
> Avri Altman (9):
> mmc: sd: SDUC Support Recognition
> mmc: sd: Add Extension memory addressing
> mmc: core: Add open-ended Ext memory addressing
> mmc: core: Don't use close-ended rw for SDUC
> mmc: core: Allow mmc erase to carry large addresses
> mmc: core: Add Ext memory addressing for erase
> mmc: core: Adjust ACMD22 to SDUC
> mmc: core: Disable SDUC for mmc_test
> mmc: core: Enable SDUC
>
> drivers/mmc/core/block.c | 43 +++++++++++++++++++++++-------
> drivers/mmc/core/bus.c | 4 ++-
> drivers/mmc/core/card.h | 3 +++
> drivers/mmc/core/core.c | 52 +++++++++++++++++++++++++------------
> drivers/mmc/core/core.h | 16 +++++++++---
> drivers/mmc/core/mmc_test.c | 7 +++++
> drivers/mmc/core/sd.c | 36 ++++++++++++++++---------
> drivers/mmc/core/sd.h | 2 +-
> drivers/mmc/core/sd_ops.c | 16 ++++++++++++
> drivers/mmc/core/sd_ops.h | 1 +
> drivers/mmc/core/sdio.c | 2 +-
> include/linux/mmc/card.h | 2 +-
> include/linux/mmc/core.h | 5 ++++
> include/linux/mmc/sd.h | 4 +++
> 14 files changed, 146 insertions(+), 47 deletions(-)
>
I made a few comments, but this looks good
otherwise.
prev parent reply other threads:[~2024-09-06 11:10 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 14:52 [PATCH v6 0/9] Add SDUC Support Avri Altman
2024-09-04 14:52 ` [PATCH v6 1/9] mmc: sd: SDUC Support Recognition Avri Altman
2024-09-06 6:39 ` Adrian Hunter
2024-09-06 8:10 ` Avri Altman
2024-09-04 14:52 ` [PATCH v6 2/9] mmc: sd: Add Extension memory addressing Avri Altman
2024-09-04 14:52 ` [PATCH v6 3/9] mmc: core: Add open-ended Ext " Avri Altman
2024-09-04 22:13 ` Christian Loehle
2024-09-05 6:12 ` Avri Altman
2024-09-05 7:25 ` Adrian Hunter
2024-09-05 8:27 ` Christian Loehle
2024-09-05 9:47 ` Avri Altman
2024-09-06 8:02 ` Adrian Hunter
2024-09-06 8:20 ` Avri Altman
2024-09-06 8:33 ` Adrian Hunter
2024-09-06 10:11 ` Avri Altman
2024-09-04 14:52 ` [PATCH v6 4/9] mmc: core: Don't use close-ended rw for SDUC Avri Altman
2024-09-04 14:52 ` [PATCH v6 5/9] mmc: core: Allow mmc erase to carry large addresses Avri Altman
2024-09-04 14:52 ` [PATCH v6 6/9] mmc: core: Add Ext memory addressing for erase Avri Altman
2024-09-06 10:06 ` Adrian Hunter
2024-09-06 10:14 ` Avri Altman
2024-09-04 14:52 ` [PATCH v6 7/9] mmc: core: Adjust ACMD22 to SDUC Avri Altman
2024-09-06 10:57 ` Adrian Hunter
2024-09-06 11:07 ` Avri Altman
2024-09-04 14:52 ` [PATCH v6 8/9] mmc: core: Disable SDUC for mmc_test Avri Altman
2024-09-06 10:10 ` Adrian Hunter
2024-09-06 10:15 ` Avri Altman
2024-09-04 14:52 ` [PATCH v6 9/9] mmc: core: Enable SDUC Avri Altman
2024-09-06 11:10 ` Adrian Hunter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1eee4711-7a42-4c9c-a092-9bb6f69ee3a9@intel.com \
--to=adrian.hunter@intel.com \
--cc=avri.altman@wdc.com \
--cc=linux-mmc@vger.kernel.org \
--cc=ricky_wu@realtek.com \
--cc=shawn.lin@rock-chips.com \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox