VOOZH about

URL: https://www.phoronix.com/news/Linux-6.18-MTD

⇱ Realtek ECC Engine Driver Upstreamed For Linux 6.18 - Phoronix


👁 Phoronix

Realtek ECC Engine Driver Upstreamed For Linux 6.18

Written by Michael Larabel in Linux Kernel on 7 October 2025 at 08:20 AM EDT. Add A Comment
The Memory Technology Device "MTD" subsystem updates are merged for the in-development Linux 6.18 kernel.

Notable with the MTD updates for the Linux 6.18 kernel is the introduction of the "ecc-realtek" driver for supporting the hardware ECC error correction engine from Realtek. This ECC hardware engine is found on Realtek's RTL93xx switch SoCs.

The patch message describes the Realtek ECC engine's capabilities as:
"The Realtek RTL93xx switch SoC series has a built in ECC controller that can provide BCH6 or BCH12 over 512 data and 6 tag bytes. It generates 10 (BCH6) or 20 (BCH12) bytes of parity.

This engine will most likely work in conjunction with the Realtek spi-mem based NAND controller but can work on its own. Therefore the initial implementation will be of type external.

Remark! The engine can support any data blocks that are multiples of 512 bytes. For now limit it to data+oob layouts that have been analyzed from existing devices. This way it keeps compatibility and pre-existing vendor data can be read."

The MTD merge for Linux 6.18 also adds MTD core support for exposing the out-of-band layout via DebugFS, adding support for the Loongson-2K1000 and Loongson-2K0500 NAND controllers, and support for the FudanMicro FM25S01A. The Gigadevice vendor driver also now supports handling continuous reads.

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.