RE: [PATCH v3] x86/mce: Do not treat cache hierarchy errors as memory errors
From: Qiuxu (Leo) Zhuo
Date: Mon Oct 12 2026 - 21:04:56 EST
> From: Adrian Schlegel <me@xxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, October 13, 2026 3:33 AM
> To: tony.luck@xxxxxxxxx; bp@xxxxxxxxx
> Cc: x86@xxxxxxxxxx; linux-edac@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> Adrian Schlegel <me@xxxxxxxxxxxxxxxxxx>
> Subject: [PATCH v3] 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@xxxxxxxxxxxxxxxxxx>
> ---
LGTM,
Reviewed-by: Qiuxu Zhuo <qzhuo@xxxxxxxxxx>