Re: [PATCH v3 3/6] x86/mce/inject: Check for writes ignored in status registers

From: Borislav Petkov
Date: Tue Dec 07 2021 - 14:00:40 EST


On Thu, Nov 04, 2021 at 04:58:43PM -0500, Smita Koralahalli wrote:
> According to Section 2.1.16.3 under HWCR[McStatusWrEn] in "PPR for AMD
> Family 19h, Model 01h, Revision B1 Processors - 55898 Rev 0.35 - Feb 5,
> 2021", the status register may sometimes enforce write ignored behavior
> independent of the value of HWCR[McStatusWrEn] depending on the platform
> settings.

How and when can it enforce that?

Can we detect whether that enforcement is active and if so, fail the
injection directly instead of checking whether the writes have stuck in
the MSRs?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette