Skip to content

x86:mce: Some cleanups and bios-set CMCI thresholds

Naveen N. Rao lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/mce: Make sysfs tunables available globally across all cpusDocumentation/x86/x86_64/machinecheck arch/x86/kernel/cpu/mcheck/mce.c+25 -38 replies
2/3x86/mce: Pack boolean MCE flags into a structurearch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce-internal.h arch/x86/kernel/cpu/mcheck/mce.c +1 more+67 -344 replies
3/3x86/mce: Honour bios-set CMCI thresholdDocumentation/x86/x86_64/boot-options.txt arch/x86/kernel/cpu/mcheck/mce-internal.h arch/x86/kernel/cpu/mcheck/mce.c +1 more+55 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] x86:mce: Some cleanups and bios-set CMCI thresholds

Hello,
I'm putting together my previous set of patches for MCE.

The first two patches are cleanups, as per previous discussions. The first patch makes mce sysfs tunables available under global machinecheck sysfs directory. We no longer remove the existing entries in the per-cpu location. The second patch consolidates some of the mce boot options into a single bitfield. The structure name has been changed and is now in mce-internal.h

The third patch adds a new boot option to honour bios-set CMCI thresholds. This has been rebased on the above patches.

This patch series applies on top of -tip.

Thanks,
Naveen

---

Naveen N. Rao (3):
x86/mce: Make sysfs tunables available globally across all cpus x86/mce: Pack boolean MCE flags into a structure x86/mce: Honour bios-set CMCI threshold

 Documentation/x86/x86_64/boot-options.txt |    5 +
 Documentation/x86/x86_64/machinecheck     |    4 +
 arch/x86/include/asm/mce.h                |    2 -
 arch/x86/kernel/cpu/mcheck/mce-internal.h |   10 +++
 arch/x86/kernel/cpu/mcheck/mce.c          |  112 ++++++++++++++++++++++-------
 arch/x86/kernel/cpu/mcheck/mce_intel.c    |   41 ++++++++++-
 6 files changed, 140 insertions(+), 34 deletions(-)