VOOZH about

URL: https://www.phoronix.com/news/Linux-Quirky-Faster-eMMC-Erase

⇱ Linux Patches Fix eMMC Secure Erase Of 1GB Taking ~10 Minutes To Now Just 2 Seconds - Phoronix


👁 Phoronix

Linux Patches Fix eMMC Secure Erase Of 1GB Taking ~10 Minutes To Now Just 2 Seconds

Written by Michael Larabel in Linux Storage on 12 December 2025 at 06:33 AM EST. 9 Comments
A new patch series from an NXP engineer optimizes the secure erase performance for certain Kingston eMMC devices. Currently with the Linux kernel performing a secure erase on 1GB of data can take around ten minutes. With these new patches that 1GB secure erase can be done in around two seconds.

Some Kingston eMMC devices will consume a fixed two seconds per secure erase operation regardless of the erase size. When the Linux kernel is currently performing a secure erase it is limited by the max discard size and thus will issue around 300 operations to erase 1GB. Today's patches from NXP engineer Luke Wang will drop that secure erase process into a single command and thus consuming just around two seconds of time.

The patches separate out the logic of the the maximum secure erase sectors size rather than just being limited to the max discard size. The Kingston IY2964 and IB2932 eMMC devices are the ones whitelisted so far for behaving fine with the new quirk code path to enjoy much faster eMMC secure erase. It will be interesting to see how many other eMMC devices end up being relevant for this quirk to significantly speed-up secure erase speeds.

👁 Kingston eMMC example


Those dealing with eMMC storage on Linux and wanting to learn more can do so via this patch series.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.