Years Later, EDAC Linux Driver Coming For The ARM Cortex-A72
- Reference: 0001571563
- News link: https://www.phoronix.com/news/EDAC-Driver-ARM-Cortex-A72
- Source link:
Queued up in the "edac-for-next" Git branch ahead of the Linux 6.18 merge window is the "a72_edac" driver for error detection/reporting of A72 cores. The focus is on errors within the A72's L1 and L2 cache systems.
The [1]a2_edac driver patch explains:
"The driver is designed to support error detection and reporting for Cortex A72 cores, specifically within their L1 and L2 cache systems. The errors are detected by reading CPU/L2 memory error syndrome registers.
Unfortunately there is no robust way to inject errors into the caches, so this driver doesn't contain any code to actually test it. It has been tested though with code taken from an older version of this driver. For reasons stated in thread, the error injection code is not suitable for mainline, so it is removed from the driver."
Better late than never on this ARM Cortex A72 EDAC driver for the mainline kernel. Also somewhat entertaining is that it was a Microsoft engineer (Vijay Balakrishna) who was submitting these patches for review of the out-of-tree driver started by Sascha Hauer of Pengutronix. Microsoft's motivation for getting this ARM driver into the Linux kernel, of course, comes down to Azure and the first generation Graviton server processor using A72 cores.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git/commit/?h=edac-for-next&id=fb13ae067ad7f07df2bdc374aa911ff58dfd19ce
coder