Skip to content

RAS: Add CEC collector and deprecate mcelog

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/MCE: Rename mce_log()'s argumentarch/x86/kernel/cpu/mcheck/mce.c+4 -40 replies
2/4x86/MCE: Rename mce_log to mce_log_bufferarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce.c+16 -160 replies
3/4RAS: Add a Corrected Errors CollectorDocumentation/admin-guide/kernel-parameters.txt arch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce.c +7 more+701 -8310 replies
4/4x86/mce: Deprecate /dev/mcelogarch/x86/Kconfig arch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/Makefile +3 more+426 -3590 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/4] RAS: Add CEC collector and deprecate mcelog

From: Borislav Petkov <[email protected]>

Hi,

here's the latest incarnation of the CEC collector. I think I've taken care of all review comments but feel free to correct me here. The introductory comment in cec.c should explain the whole deal - I'm referring to there so that we have that text in the actual source and not spread it around commit messages. So pls have a look there for more info.

The thing has knobs in debugfs now which can control its operation, I hope I've chosen sane default values.

Borislav Petkov (3):
x86/MCE: Rename mce_log()'s argument
x86/MCE: Rename mce_log to mce_log_buffer
RAS: Add a Corrected Errors Collector

Tony Luck (1):
x86/mce: Deprecate /dev/mcelog

 Documentation/admin-guide/kernel-parameters.txt |   6 +
 arch/x86/Kconfig                                |  10 +-
 arch/x86/include/asm/mce.h                      |  12 +-
 arch/x86/kernel/cpu/mcheck/Makefile             |   2 +
 arch/x86/kernel/cpu/mcheck/dev-mcelog.c         | 397 ++++++++++++++++++
 arch/x86/kernel/cpu/mcheck/mce-internal.h       |   8 +
 arch/x86/kernel/cpu/mcheck/mce.c                | 493 ++++------------------
 arch/x86/ras/Kconfig                            |  14 +
 drivers/ras/Makefile                            |   3 +-
 drivers/ras/cec.c                               | 530 ++++++++++++++++++++++++
 drivers/ras/debugfs.c                           |   2 +-
 drivers/ras/debugfs.h                           |   8 +
 drivers/ras/ras.c                               |  11 +
 include/linux/ras.h                             |  13 +-
 14 files changed, 1097 insertions(+), 412 deletions(-)
 create mode 100644 arch/x86/kernel/cpu/mcheck/dev-mcelog.c
 create mode 100644 drivers/ras/cec.c
 create mode 100644 drivers/ras/debugfs.h
Signature · 1 line
2.11.0