[RFC PATCH 3/3] x86/MCE: Dump MCE to dmesg if no consumers

2016-11-01 Thread Borislav Petkov
From: Borislav Petkov 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

[RFC PATCH 3/3] x86/MCE: Dump MCE to dmesg if no consumers

2016-11-01 Thread Borislav Petkov
From: Borislav Petkov 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