[PATCH 0/9 v3] New way to track mce notifier chain actions
From: Borislav Petkov
Date: Tue Apr 07 2020 - 12:34:22 EST
From: Borislav Petkov <bp@xxxxxxx>
Hi all,
here's what I have. I'd like to keep mce.kflags hidden for now.
The last patch is something tglx spotted yesterday and fixing that with
the MCE flags is pretty easy - was boxing with a wrapper struct around
struct mce and that gets really ugly.
Tony, I'm open to suggestions how to test it - I probably don't have an
access to such box which can trigger read errors on nvdimms or what was
the use case?
Thx.
Borislav Petkov (2):
x86/mce/amd, edac: Remove report_gart_errors
x86/mce: Fixup exception only for the correct MCEs
Tony Luck (7):
x86/mce: Rename "first" function as "early"
x86/mce: Convert the CEC to use the MCE notifier
x86/mce: Add a struct mce.kflags field
x86/mce: Fix all mce notifiers to update the mce->kflags bitmask
x86/mce: Change default MCE logger to check mce->kflags
x86/mce: Add mce=print_all option
EDAC: Drop the EDAC report status checks
arch/x86/include/asm/mce.h | 28 +++++++----
arch/x86/include/uapi/asm/mce.h | 1 +
arch/x86/kernel/cpu/mce/amd.c | 9 +++-
arch/x86/kernel/cpu/mce/core.c | 72 +++++++++++-----------------
arch/x86/kernel/cpu/mce/dev-mcelog.c | 5 ++
arch/x86/kernel/cpu/mce/internal.h | 1 +
arch/x86/kernel/cpu/mce/severity.c | 6 ++-
drivers/acpi/acpi_extlog.c | 19 ++------
drivers/acpi/nfit/mce.c | 1 +
drivers/edac/amd64_edac.c | 8 ----
drivers/edac/edac_mc.c | 61 -----------------------
drivers/edac/i7core_edac.c | 5 +-
drivers/edac/mce_amd.c | 28 ++---------
drivers/edac/mce_amd.h | 2 -
drivers/edac/pnd2_edac.c | 8 ++--
drivers/edac/sb_edac.c | 7 ++-
drivers/edac/skx_common.c | 3 +-
drivers/ras/cec.c | 33 ++++++++++++-
include/linux/edac.h | 8 ----
include/linux/ras.h | 5 --
20 files changed, 118 insertions(+), 192 deletions(-)
--
2.21.0