Re: [PATCH] x86/mce: add support SRAO reported via CMC check

From: Luck, Tony
Date: Tue Nov 14 2017 - 13:51:49 EST


On Tue, Nov 14, 2017 at 01:55:11PM +0800, Xie XiuQi wrote:
> + /* known AO MCACODs reported via CMC: */
> + MCESEV(
> + AO, "Action optional: memory scrubbing error",
> + SER, MASK(MCI_UC_SAR|MCACOD_SCRUBMSK, MCI_STATUS_UC|MCACOD_SCRUB)

I think you should check for OVER=0 (as the existing AO cases do).
If there was a patrol scrub reported by CMCI, and then another UC
error, we can't safely treat this as an AO ... because we have no
idea what the second UC error was.

-Tony