Re: [PATCH 1/2] Revert "x86/mce/AMD: Collect error info even if valid bits are not set"

From: Borislav Petkov
Date: Mon Mar 26 2018 - 15:31:51 EST


On Mon, Mar 26, 2018 at 02:15:25PM -0500, Yazen Ghannam wrote:
> From: Yazen Ghannam <yazen.ghannam@xxxxxxx>
>
> This reverts commit 4b1e84276a6172980c5bf39aa091ba13e90d6dad.
>
> Software uses the valid bits to decide if the values can be used for
> further processing or other actions. So setting the valid bits will have
> software act on values that it shouldn't be acting on.
>
> The recommendation to save all the register values does not mean that
> the values are always valid.

So what does that

"Error handlers should save the values in MCA_ADDR, MCA_MISC0,
and MCA_SYND even if MCA_STATUS[AddrV], MCA_STATUS[MiscV], and
MCA_STATUS[SyndV] are zero."

*actually* mean then?

It is still in the PPR.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.