Intel Diamond Rapids EDAC Driver Prepared for Linux 7.2
The memory error detection and correction driver for Intel's next-generation Xeon "Diamond Rapids" is being prepared for the Linux 7.2 kernel, with support for sub-channel granularity in RRL as a core feature.
Progress in Linux Kernel Support for
Diamond Rapids
Development for Linux kernel support for Intel’s next-generation server processor, “Diamond Rapids,” scheduled for release in 2027, is steadily progressing. The latest updates focus on refreshing the Error Detection and Correction (EDAC) driver to implement a significant change: support for “Retry Read Error Log (RRL)” functionality at sub-channel granularity.
The changes to the EDAC driver for Diamond Rapids have been queued as multiple patches in the “edac-for-next” Git branch of the Linux kernel. These modifications are expected to be incorporated into the Linux 7.2 kernel during the upcoming merge window this month.
What is the EDAC Driver?
EDAC stands for Error Detection And Correction, a Linux kernel subsystem designed to detect and correct errors occurring in the system’s memory or bus. In server environments, EDAC plays a crucial role in maintaining data integrity, supporting stable system operation through early detection of memory faults and logging.
The EDAC driver for Intel platforms must adapt to each processor generation, as register configurations and operational specifications vary. For Diamond Rapids, the driver structure itself has been revised to align with the updated RRL operational specifications, which differ from those of the previous generation processors.
Significance of the Change in RRL Granularity
One of the most notable changes in Diamond Rapids is that its RRL now operates at the “DDR sub-channel granularity.” This advancement allows for more precise acquisition and management of retry read error information than the previous memory channel-based granularity.
Accompanying this change, modifications have also been made to the register configuration. The width of the CORRERRCNT register (Correctable Error Count Register) has been expanded from 4 bytes to 8 bytes, while the number of registers has been reduced from 8 to 4. This redesign increases the amount of information each register can hold, resulting in a more efficient overall structure.
In the patch documentation, Intel developers explained, “Compared to the previous generation, Diamond Rapids RRL operates at DDR sub-channel granularity, with additional registers added per set. The CORRERRCNT register width has been expanded from 4 bytes to 8 bytes, while the number of registers has been reduced from 8 to 4.”
Phased Integration of Preparatory Patches
Support for Diamond Rapids’ RRL is being integrated into the edac-for-next branch in multiple phases. First, structural refactoring of the driver was carried out, followed by the addition of RRL-specific register configuration tables for Diamond Rapids and the activation of its support.
This phased approach is a standard methodology in Linux kernel development, allowing for safe integration of architectural changes while minimizing impacts on existing platform support. Preliminary patches enhance the driver’s general functionality, and Diamond Rapids-specific settings are subsequently introduced to ensure minimal disruption to the existing codebase while enabling new features.
Simultaneous Support for Nova Lake H IGEN6 Driver
Alongside the EDAC support for Diamond Rapids, the edac-for-next branch also includes queued patches for the IGEN6 EDAC driver to support the Nova Lake H SoC.
The memory controller registers and in-band ECC registers for Nova Lake H are similar to those of Panther Lake H, but there are some differences. The corresponding code has been adjusted to account for these differences, enabling the EDAC functionality to work seamlessly on the Nova Lake H SoC as well.
Nova Lake H is Intel’s next-generation SoC for mobile platforms, positioned as the successor to Panther Lake H. Its support for in-band ECC reflects Intel’s commitment to achieving server-grade memory reliability even in mobile environments.
Integration Timeline for Linux 7.2
The changes queued in the edac-for-next branch are expected to be merged into the mainline during the Linux 7.2 kernel’s merge window in June 2026. Following the usual Linux kernel release cycle, changes from various subsystems are incorporated into the mainline branch during the merge window, followed by release candidate versions and, finally, the official release.
While Diamond Rapids processors are slated for release in 2027, ensuring that operating system support is ready in advance is a crucial step for the smooth integration of new platforms into the ecosystem. Intel has a proven track record of early Linux kernel support for previous Xeon generations, and the ongoing efforts for Diamond Rapids follow this tradition.
Impact on the Server Market
Diamond Rapids is part of Intel’s next-generation Xeon Scalable processor family for server applications. With the growing demand for AI workloads and cloud computing in data centers, ensuring memory reliability is becoming even more critical.
Enhancing EDAC driver support directly improves the accuracy of memory error detection in servers equipped with Diamond Rapids. The introduction of sub-channel granularity for RRL allows for more precise identification of problematic memory regions, aiding system administrators in diagnosing issues and improving preventive maintenance efficiency.
Once included in the Linux 7.2 kernel, these updates are expected to be backported to various Linux distributions or integrated into upcoming releases, enabling practical use in server environments.
Frequently Asked Questions
- What is the most significant change in the EDAC driver for Diamond Rapids?
- The shift to operating RRL (Retry Read Error Log) at DDR sub-channel granularity is the most critical change. This enables more precise error information acquisition compared to the channel-level granularity of the past, improving the accuracy of fault identification. Additionally, the CORRERRCNT register has been made more efficient with expanded width and reduced register count.
- When will the Linux 7.2 kernel be released?
- As of June 2026, the Diamond Rapids EDAC driver changes have been queued in the edac-for-next branch and are expected to be merged during the current month's merge window. While the article does not specify the exact release date, the Linux kernel release cycle will determine the schedule.
- What changes does the IGEN6 EDAC support for Nova Lake H introduce?
- The IGEN6 EDAC driver updates adapt to the memory controller and in-band ECC registers of the Nova Lake H SoC. While similar to Panther Lake H, adjustments have been made to account for differences, enabling memory error detection functionality in the next-generation mobile SoC.
Comments