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 operation
completes in a single command, reducing time to just 2 seconds.
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 | 9 +++++++--
block/blk.h | 6 +++++-
drivers/mmc/core/card.h | 5 +++++
drivers/mmc/core/queue.c | 9 +++++++--
drivers/mmc/core/quirks.h | 9 +++++++++
include/linux/mmc/card.h | 1 +
6 files changed, 34 insertions(+), 5 deletions(-)
--
2.34.1