public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/9] Add SDUC Support
@ 2024-08-25  7:41 Avri Altman
  2024-08-25  7:41 ` [PATCH v4 1/9] mmc: sd: SDUC Support Recognition Avri Altman
                   ` (9 more replies)
  0 siblings, 10 replies; 31+ messages in thread
From: Avri Altman @ 2024-08-25  7:41 UTC (permalink / raw)
  To: Ulf Hansson, linux-mmc; +Cc: Adrian Hunter, Ricky WU, Avri Altman

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 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: Add close-ended Ext memory addressing
  mmc: host: Always use manual-cmd23 in SDUC
  mmc: host: Add close-ended Ext memory addressing
  mmc: core: Allow mmc erase to carry large addresses
  mmc: core: Add Ext memory addressing for erase
  mmc: core: Adjust ACMD22 to SDUC

 drivers/mmc/core/block.c  | 56 ++++++++++++++++++++++++++++------
 drivers/mmc/core/bus.c    |  4 ++-
 drivers/mmc/core/card.h   |  3 ++
 drivers/mmc/core/core.c   | 63 ++++++++++++++++++++++++++++-----------
 drivers/mmc/core/core.h   | 14 +++++++--
 drivers/mmc/core/queue.h  |  1 +
 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 +-
 drivers/mmc/host/sdhci.c  | 40 +++++++++++++++++++++----
 include/linux/mmc/card.h  |  2 +-
 include/linux/mmc/core.h  |  1 +
 include/linux/mmc/sd.h    |  4 +++
 15 files changed, 195 insertions(+), 50 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2024-08-29  7:10 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-25  7:41 [PATCH v4 0/9] Add SDUC Support Avri Altman
2024-08-25  7:41 ` [PATCH v4 1/9] mmc: sd: SDUC Support Recognition Avri Altman
2024-08-25  7:41 ` [PATCH v4 2/9] mmc: sd: Add Extension memory addressing Avri Altman
2024-08-26  6:43   ` Adrian Hunter
2024-08-26  7:05     ` Avri Altman
2024-08-25  7:41 ` [PATCH v4 3/9] mmc: core: Add open-ended Ext " Avri Altman
2024-08-25  7:41 ` [PATCH v4 4/9] mmc: core: Add close-ended " Avri Altman
2024-08-26  5:32   ` Avri Altman
2024-08-26  6:51     ` Adrian Hunter
2024-08-26  7:11       ` Avri Altman
2024-08-25  7:41 ` [PATCH v4 5/9] mmc: host: Always use manual-cmd23 in SDUC Avri Altman
2024-08-25  7:41 ` [PATCH v4 6/9] mmc: host: Add close-ended Ext memory addressing Avri Altman
2024-08-25 13:33   ` Avri Altman
2024-08-26 19:31   ` kernel test robot
2024-08-26 22:28   ` kernel test robot
2024-08-25  7:41 ` [PATCH v4 7/9] mmc: core: Allow mmc erase to carry large addresses Avri Altman
2024-08-25  7:41 ` [PATCH v4 8/9] mmc: core: Add Ext memory addressing for erase Avri Altman
2024-08-25  7:41 ` [PATCH v4 9/9] mmc: core: Adjust ACMD22 to SDUC Avri Altman
2024-08-26  6:34   ` Adrian Hunter
2024-08-26  7:26     ` Avri Altman
2024-08-26  7:34       ` Adrian Hunter
2024-08-26  7:39         ` Avri Altman
2024-08-26  6:46 ` [PATCH v4 0/9] Add SDUC Support Adrian Hunter
2024-08-26  6:58   ` Avri Altman
2024-08-27  7:45     ` Avri Altman
2024-08-27  7:57       ` Adrian Hunter
2024-08-27  8:45         ` Avri Altman
2024-08-27 10:58           ` Avri Altman
2024-08-27 11:30             ` Adrian Hunter
2024-08-28 14:41             ` Ulf Hansson
2024-08-29  7:10               ` Avri Altman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox