Skip to content

New way to track mce notifier chain actions

Borislav Petkov lkml 1 version Applied

Status from this message: The following commit has been merged into the ras/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest9 patches 2 repliesApplied

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/9x86/mce/amd, edac: Remove report_gart_errorsarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mce/amd.c drivers/edac/amd64_edac.c +2 more+9 -370 replies
2/9x86/mce: Rename "first" function as "early"arch/x86/include/asm/mce.h arch/x86/kernel/cpu/mce/core.c+14 -120 replies
3/9x86/mce: Convert the CEC to use the MCE notifierarch/x86/kernel/cpu/mce/core.c drivers/ras/cec.c include/linux/ras.h+28 -260 replies
4/9x86/mce: Add a struct mce.kflags fieldarch/x86/include/asm/mce.h arch/x86/include/uapi/asm/mce.h+9 -00 replies
5/9x86/mce: Fix all mce notifiers to update the mce->kflags bitmaskarch/x86/kernel/cpu/mce/core.c arch/x86/kernel/cpu/mce/dev-mcelog.c drivers/acpi/acpi_extlog.c +7 more+37 -120 replies
6/9x86/mce: Change default MCE logger to check mce->kflagsarch/x86/kernel/cpu/mce/core.c+3 -160 replies
7/9x86/mce: Add mce=print_all optionarch/x86/kernel/cpu/mce/core.c arch/x86/kernel/cpu/mce/internal.h+7 -10 replies
8/9EDAC: Drop the EDAC report status checksdrivers/acpi/acpi_extlog.c drivers/edac/edac_mc.c drivers/edac/pnd2_edac.c +3 more+0 -930 replies
9/9x86/mce: Fixup exception only for the correct MCEsarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mce/core.c arch/x86/kernel/cpu/mce/severity.c+19 -30 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by.

PatchTony Luck
SeriesT-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/9 v3] New way to track mce notifier chain actions

From: Borislav Petkov <[email protected]>

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(-)
Signature · 1 line
2.21.0