From: Borislav Petkov <b...@suse.de> Hi guys,
here's the second pile of RAS updates which merges the mce_amd_inj functionality into mce-inject. Now we have a single error injector module which we can use on anything. Also, it is a true module now as we're getting rid of register_mce_write_callback() and replacing it with a normal notifier which /dev/mcelog invokes. Also, a couple more fixes/cleanups from Yazen. Please queue, thanks. Borislav Petkov (4): x86/mce: Merge mce_amd_inj into mce-inject x86/mce: Get rid of register_mce_write_callback() x86/mce: Cleanup include files x86/mce/mce-inject: Preset the MCE injection struct Yazen Ghannam (4): x86/mce/AMD: Use msr_stat when clearing MCA_STATUS x86/mce/AMD: Use saved threshold block info in interrupt handler x86/mce: Don't disable MCA banks when offlining a CPU on AMD x86/mce: Update bootlog description to reflect behavior on AMD Documentation/x86/x86_64/boot-options.txt | 3 +- arch/x86/Kconfig | 2 +- arch/x86/Makefile | 2 - arch/x86/include/asm/mce.h | 4 - arch/x86/include/asm/processor.h | 5 + arch/x86/kernel/cpu/mcheck/dev-mcelog.c | 47 ++- arch/x86/kernel/cpu/mcheck/mce-inject.c | 569 +++++++++++++++++++++++++++--- arch/x86/kernel/cpu/mcheck/mce-internal.h | 6 +- arch/x86/kernel/cpu/mcheck/mce.c | 10 +- arch/x86/kernel/cpu/mcheck/mce_amd.c | 68 ++-- arch/x86/ras/Kconfig | 11 - arch/x86/ras/Makefile | 2 - arch/x86/ras/mce_amd_inj.c | 492 -------------------------- 13 files changed, 617 insertions(+), 604 deletions(-) delete mode 100644 arch/x86/ras/Makefile delete mode 100644 arch/x86/ras/mce_amd_inj.c -- 2.13.0