summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/mcheck/mce_amd.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2016-11-01 12:52:27 +0100
committerThomas Gleixner <tglx@linutronix.de>2016-11-08 17:10:13 +0100
commitcd9c57cad3fe89ea949b9266cddc947c0838f7af (patch)
tree95bb03b5ae66cc17eb6584f4e2356af2ef85ee62 /arch/x86/kernel/cpu/mcheck/mce_amd.c
parent8c203dbb78ca7a9aed4e2570c866b0f43c752e41 (diff)
x86/MCE: Dump MCE to dmesg if no consumers
When there are no error record consumers registered with the kernel, the only thing that appears in dmesg is something like: [ 300.000326] mce: [Hardware Error]: Machine check events logged and the error records are gone. Which is seriously counterproductive. So let's dump them to dmesg instead, in such a case. Requested-by: Eric Morton <Eric.Morton@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/20161101120911.13163-4-bp@alien8.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck/mce_amd.c')
0 files changed, 0 insertions, 0 deletions