diff options
| author | Adrian Schlegel <me@adrianschlegel.com> | 2026-10-12 21:33:05 +0200 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-11-19 21:58:07 -0800 |
| commit | 29b74cf57f432d60da2b79c827f1379125409611 (patch) | |
| tree | f2ca7dda3c950a06f27d2b7942772d365d6e305d /kernel/debug | |
| parent | 068d82afd070beb8ea32c8ee64d685af7d3f36e2 (diff) | |
x86/mce: Do not treat cache hierarchy errors as memory errors
On Intel and Zhaoxin, mce_is_memory_error() also returns true for cache
hierarchy errors. All callers expect it to report memory errors only.
The CEC uses it to count corrected DRAM errors. A corrected cache error only
names the cache line that was affected, not a faulty DRAM page. With a faulty
CPU core, the CEC therefore soft-offlines healthy pages. On an i9-9900K this
caused about 500 soft-offline attempts per hour.
Report only memory controller errors on Intel and Zhaoxin, as is already done
for AMD.
Fixes: fa92c5869426 ("x86, mce: Support memory error recovery for both UCNA and Deferred error in machine_check_poll")
Signed-off-by: Adrian Schlegel <me@adrianschlegel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Qiuxu Zhuo <qzhuo@nvidia.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Cc: <stable@kernel.org>
Link: https://patch.msgid.link/20261012193305.38931-1-me@adrianschlegel.com
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
