VOOZH about

URL: https://www.phoronix.com/news/Linux-6.16-CXL

⇱ New CXL RAS Features Upstreamed For Linux 6.16 - Phoronix


👁 Phoronix

New CXL RAS Features Upstreamed For Linux 6.16

Written by Michael Larabel in Hardware on 4 June 2025 at 06:43 AM EDT. Add A Comment
Linux kernel developers continue building out the support around the Compute Express Link (CXL) specification for benefiting modern high performance servers. With the in-development Linux 6.16 kernel there are more CXL features now in place.

One of the main areas of work for CXL in this next version of the Linux kernel is on enabling CXL Reliability, Availability and Serviceability (RAS) functionality. CXL is now tied into the Linux kernel's Error Detection and Correction (EDAC) subsystem code for leveraging that functionality for RAS. Patrol Scrub Control, Error Check Scrub, Perform Maintenance and Memory Sparing are the CXL RAS features to be enabled for Linux 6.16.

👁 CXL logo


Patrol Scrub Control is part of the CXL 3.2 specification for proactively locating and correcting errors. This CXL feature allows setting the number of hours for which the patrol scrub must be carried out as well as limits for the scrubbing in trading off error rates and performance. The CXL Patrol Scrub support for Linux was worked on by Huawei.

Error Check Scrub "ECS" is another CXL feature and part of the JEDEC DDR5 SDRAM spec for memory devices to perform error checking and correction and count single-bit errors.

The Perform Maintenance command is used to request the CXL device carry out maintenance operation(s) on that device.

CXL Memory Sparing is for replacing a portion of memory within a portion of functional memory at the same DPA. This Memory Sparing works for devices supporting the CXL.mem protocol and allow cacheline/row/bank/rank sparing.

Plus there are documentation updates and various other improvements to the Compute Express Link code for Linux 6.16. All of the details on these changes can be found via this Git merge.

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.