[PATCH v3 0/2] Optimize secure erase performance for certain Kingston eMMC devices

ziniu.wang_1@nxp.com posted 2 patches 4 days, 19 hours ago
There is a newer version of this series
block/blk-merge.c         | 21 +++++++++++++++++----
drivers/mmc/core/card.h   |  5 +++++
drivers/mmc/core/queue.c  |  9 +++++++--
drivers/mmc/core/quirks.h |  9 +++++++++
include/linux/mmc/card.h  |  1 +
5 files changed, 39 insertions(+), 6 deletions(-)
[PATCH v3 0/2] Optimize secure erase performance for certain Kingston eMMC devices
Posted by ziniu.wang_1@nxp.com 4 days, 19 hours ago
From: Luke Wang <ziniu.wang_1@nxp.com>

This patch series optimize secure erase performance for certain Kingston
eMMC devices (IY2964 and IB2932) that take a fixed ~2 seconds per secure
erase operation regardless of size.

Currently, a 1GB secure erase requires ~300 operations (limited by max
discard size), taking ~10 minutes. With these changes, the same secure
erase completes in a single operation, reducing time to just 2 seconds.

---
Changes in v3:
- Refactor to use helper function __bio_split_discard()
Changes in v2:
- Rebased on v6.19-rc1 as requested
- Cover letter: terminology fix (command -> operation)
---

Luke Wang (2):
  block: decouple secure erase size limit from discard size limit
  mmc: add quirk to optimize certain Kingston eMMC secure erase/trim
    performance

 block/blk-merge.c         | 21 +++++++++++++++++----
 drivers/mmc/core/card.h   |  5 +++++
 drivers/mmc/core/queue.c  |  9 +++++++--
 drivers/mmc/core/quirks.h |  9 +++++++++
 include/linux/mmc/card.h  |  1 +
 5 files changed, 39 insertions(+), 6 deletions(-)

-- 
2.34.1