linux_dsm_epyc7002/arch/x86/kernel/cpu/mcheck
Tony Luck b2f9d678e2 x86/mce: Check for faults tagged in EXTABLE_CLASS_FAULT exception table entries
Extend the severity checking code to add a new context IN_KERN_RECOV
which is used to indicate that the machine check was triggered by code
in the kernel tagged with _ASM_EXTABLE_FAULT() so that the ex_handler_fault()
handler will provide the fixup code with the trap number.

Major re-work to the tail code in do_machine_check() to make all this
readable/maintainable. One functional change is that tolerant=3 no longer
stops recovery actions. Revert to only skipping sending SIGBUS to the
current process.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/89d243d05a7943bb187d1074bb30d9c4f482d5f5.1455732970.git.tony.luck@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-02-18 09:22:42 +01:00
..
Makefile x86/mce: Provide a lockless memory pool to save error records 2015-08-13 10:12:50 +02:00
mce_amd.c x86/mce/AMD: Set MCAX Enable bit 2016-02-01 10:53:59 +01:00
mce_intel.c x86/mce: Reenable CMCI banks when swiching back to interrupt mode 2015-08-13 10:12:52 +02:00
mce-apei.c x86/mce: Avoid potential deadlock due to printk() in MCE context 2015-08-13 10:12:51 +02:00
mce-genpool.c x86/mce: Provide a lockless memory pool to save error records 2015-08-13 10:12:50 +02:00
mce-inject.c x86: Replace __get_cpu_var uses 2014-08-26 13:45:49 -04:00
mce-internal.h x86/mce: Add a wrapper around mce_log() for injection 2015-08-13 10:12:53 +02:00
mce-severity.c x86/mce: Check for faults tagged in EXTABLE_CLASS_FAULT exception table entries 2016-02-18 09:22:42 +01:00
mce.c x86/mce: Check for faults tagged in EXTABLE_CLASS_FAULT exception table entries 2016-02-18 09:22:42 +01:00
p5.c x86/entry: Remove exception_enter() from most trap handlers 2015-07-07 10:59:09 +02:00
therm_throt.c x86/mce: Fix thermal throttling reporting after kexec 2015-10-21 11:10:57 +02:00
threshold.c asmlinkage, x86: Add explicit __visible to arch/x86/* 2014-05-05 16:07:44 -07:00
winchip.c x86/entry: Remove exception_enter() from most trap handlers 2015-07-07 10:59:09 +02:00