Skip to content

AMD MCE injection improvs

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86, RAS: Add a barebones RAS subtreearch/x86/Kconfig arch/x86/Makefile arch/x86/ras/Makefile +1 more+12 -02 replies
2/6x86, RAS: Move AMD MCE injection code into ras/arch/x86/Kconfig arch/x86/ras/Kconfig arch/x86/ras/Makefile +3 more+19 -120 replies
3/6x86, RAS: Convert mce-inject module to debugfsarch/x86/ras/Kconfig arch/x86/ras/amd/mce-inject.c+86 -1070 replies
4/6x86, RAS: Add function enabling direct writes to MCE MSRsarch/x86/ras/amd/mce-inject.c+24 -00 replies
5/6x86, RAS: Add attributes needed for HW injectionarch/x86/ras/amd/mce-inject.c+55 -00 replies
6/6x86, RAS: Add an injector functionarch/x86/ras/amd/mce-inject.c+48 -20 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/6] AMD MCE injection improvs

From: Borislav Petkov <[email protected]>

So this basically moves the mce-inject module to arch/x86/ras/ and adds a bunch of features to it.

More importantly, though, it creates all the glue to add the arch/x86/ras/ directory to Kconfig. The idea is to gradually collect RAS-related stuff there.

Tony, please take a look and let me know how do you find the general layout, etc.

Thanks.

Borislav Petkov (6):
x86, RAS: Add a barebones RAS subtree
x86, RAS: Move AMD MCE injection code into ras/ x86, RAS: Convert mce-inject module to debugfs x86, RAS: Add function enabling direct writes to MCE MSRs x86, RAS: Add attributes needed for HW injection x86, RAS: Add an injector function

 arch/x86/Kconfig              |  10 ++
 arch/x86/Makefile             |   3 +
 arch/x86/ras/Kconfig          |  14 +++
 arch/x86/ras/Makefile         |   2 +
 arch/x86/ras/amd/Makefile     |   3 +
 arch/x86/ras/amd/mce-inject.c | 274 ++++++++++++++++++++++++++++++++++++++++++
 drivers/edac/Kconfig          |  10 --
 drivers/edac/mce_amd_inj.c    | 173 --------------------------
 8 files changed, 306 insertions(+), 183 deletions(-)
 create mode 100644 arch/x86/ras/Kconfig
 create mode 100644 arch/x86/ras/Makefile
 create mode 100644 arch/x86/ras/amd/Makefile
 create mode 100644 arch/x86/ras/amd/mce-inject.c
 create mode 100644 arch/x86/ras/ras.c
 delete mode 100644 drivers/edac/mce_amd_inj.c
Signature · 1 line
1.8.0.rc0.18.gf84667d