Re: [PATCH 1/4] x86/mce: do not overwrite no_way_out if mce_end() fails

From: Borislav Petkov
Date: Fri Nov 20 2020 - 12:32:28 EST


On Wed, Nov 18, 2020 at 03:15:49PM +0000, Gabriele Paoloni wrote:
> Currently if mce_end() fails no_way_out is set equal to worst.
> worst is the worst severirty that was found in the MCA banks
> associated to the current CPU; however at this point no_way_out
> could be already set by mca_start() by looking at all severities
> of all CPUs that entered the MCE handler.
> if mce_end() fails we first check if no_way_out is already set and
> if so we stick to it, otherwise we use the local worst value
>
> Signed-off-by: Gabriele Paoloni <gabriele.paoloni@xxxxxxxxx>
> Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>

Also, this very likely wants Cc: stable, I'd say, considering the
severity.

Thx.

--
Regards/Gruss,
Boris.

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