Re: [PATCH v5] x86/mce: Check for writes ignored in MCA_STATUS register

From: Smita Koralahalli
Date: Mon Jun 27 2022 - 16:57:53 EST


On 6/25/2022 6:10 AM, Borislav Petkov wrote:
On Fri, Jun 24, 2022 at 03:34:42PM -0700, Smita Koralahalli wrote:
The wrmsrl_safe() doesn't throw an error here.
I think we need to read back the written value and check for it whatsoever.
What do you think?
Ah, that's the write-ignored thing. Not the #GP-generating thing when
McStatusWrEn=0.

Sorry, I got confused.

Can you pls change that part back to reading the previously written
value and send me a tested version?

Thx.
Thanks, I have sent them.