Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mmc: core: Extend manufacturing date beyond 2025
@ 2025-11-28  5:20 Avri Altman
  2025-11-28  5:20 ` [PATCH v2 1/2] mmc: core: Adjust MDT " Avri Altman
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Avri Altman @ 2025-11-28  5:20 UTC (permalink / raw)
  To: Ulf Hansson, linux-mmc; +Cc: Avri Altman

Hi Ulf,

This patch series addresses the upcoming exhaustion of the eMMC
manufacturing date (MDT) year field, which is limited to a 4-bit value
in the CID register. Under the current standard (EXT_CSD_REV=8), the
representable years end in 2025.

The first patch implements the recently approved JEDEC standard update
for EXT_CSD_REV=9. This update rolls over the 4-bit year codes to cover
a new 16-year period, extending the range up to 2038.

The second patch introduces a quirk to handle vendor-specific behavior.
Some eMMC vendors are not yet updating their devices to EXT_CSD_REV=9
but still need to report manufacturing dates for 2026 and beyond. These
devices re-purpose the year codes for 2010-2012 to represent 2026-2028.

Thanks,
Avri

---
Changes in v2:
- move the fixup to `mmc_ext_csd_fixups`
- State the correct spec release
- Fixed a typo in the commit message of the second patch.
---

Avri Altman (2):
  mmc: core: Adjust MDT beyond 2025
  mmc: core: Add quirk for incorrect manufacturing date

 drivers/mmc/core/card.h   |  6 ++++++
 drivers/mmc/core/mmc.c    | 12 ++++++++++++
 drivers/mmc/core/quirks.h |  3 +++
 include/linux/mmc/card.h  |  1 +
 4 files changed, 22 insertions(+)

-- 
2.34.1


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

end of thread, other threads:[~2025-12-17 13:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-28  5:20 [PATCH v2 0/2] mmc: core: Extend manufacturing date beyond 2025 Avri Altman
2025-11-28  5:20 ` [PATCH v2 1/2] mmc: core: Adjust MDT " Avri Altman
2025-11-28  5:20 ` [PATCH v2 2/2] mmc: core: Add quirk for incorrect manufacturing date Avri Altman
2025-12-08  9:34 ` [PATCH v2 0/2] mmc: core: Extend manufacturing date beyond 2025 Avri Altman
2025-12-09 11:42   ` Ulf Hansson
2025-12-15 15:43 ` Ulf Hansson
2025-12-15 16:28   ` Avri Altman
2025-12-17 13:44     ` Ulf Hansson

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