[PATCH 0/4] x86/MCE: some minor fixes

From: Gabriele Paoloni
Date: Wed Nov 18 2020 - 10:16:15 EST


During the safety analysis that was done in the context of the
ELISA project by the safety architecture working group some
incorrectnesses were spotted.
This patchset proposes some fixes.

Signed-off-by: Gabriele Paoloni <gabriele.paoloni@xxxxxxxxx>
Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>

Gabriele Paoloni (4):
x86/mce: do not overwrite no_way_out if mce_end() fails
x86/mce: move the mce_panic() call and kill_it assignments at the
right places
x86/mce: for LMCE panic only if mca_cfg.tolerant < 3
x86/mce: remove redundant call to irq_work_queue()

arch/x86/kernel/cpu/mce/core.c | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)

--
2.20.1

---------------------------------------------------------------------
INTEL CORPORATION ITALIA S.p.A. con unico socio
Sede: Milanofiori Palazzo E 4
CAP 20094 Assago (MI)
Capitale Sociale Euro 104.000,00 interamente versato
Partita I.V.A. e Codice Fiscale 04236760155
Repertorio Economico Amministrativo n. 997124
Registro delle Imprese di Milano nr. 183983/5281/33
Soggetta ad attivita' di direzione e coordinamento di
INTEL CORPORATION, USA

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.