lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260203102903.2953660-1-ziniu.wang_1@nxp.com>
Date: Tue,  3 Feb 2026 18:29:01 +0800
From: ziniu.wang_1@....com
To: axboe@...nel.dk,
	ulf.hansson@...aro.org,
	hch@...radead.org
Cc: linux-block@...r.kernel.org,
	linux-mmc@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	imx@...ts.linux.dev
Subject: [PATCH v3 0/2] Optimize secure erase performance for certain Kingston eMMC devices

From: Luke Wang <ziniu.wang_1@....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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ