[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201120173217.GE712@zn.tnic>
Date: Fri, 20 Nov 2020 18:32:17 +0100
From: Borislav Petkov <bp@...en8.de>
To: Gabriele Paoloni <gabriele.paoloni@...el.com>
Cc: tony.luck@...el.com, tglx@...utronix.de, mingo@...hat.com,
x86@...nel.org, hpa@...or.com, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-safety@...ts.elisa.tech
Subject: Re: [PATCH 1/4] x86/mce: do not overwrite no_way_out if mce_end()
fails
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@...el.com>
> Reviewed-by: Tony Luck <tony.luck@...el.com>
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
Powered by blists - more mailing lists