[PATCH 0/2] x86/mce: Simplify AMD MCEs severity grading and include messages for panic cases

From: Carlos Bilbao
Date: Tue Apr 05 2022 - 19:18:50 EST

This patchset simplifies the grading of machine errors on AMD's MCE
grading logic mce_severity_amd(), which helps the MCE handler determine
what actions to take. If the error is graded as a PANIC, the EDAC driver
will not decode; so we also include new error messages to describe the MCE
and help debugging critical errors.

Carlos Bilbao (2):
x86/mce: x86/mce: Simplify AMD severity grading logic
x86/mce: Add messages for panic errors in AMD's MCE grading
arch/x86/kernel/cpu/mce/severity.c | 113 ++++++++++++-----------------
1 file changed, 48 insertions(+), 65 deletions(-)