[RFC PATCH 0/3] x86/RAS: Dump error record to dmesg if no consumers

From: Borislav Petkov
Date: Tue Nov 01 2016 - 08:09:58 EST


From: Borislav Petkov <bp@xxxxxxx>

Right,

so this is not a good thing: systems may not have any error record
consumers registered and in such cases, any logged MCEs disappear into
the void. And this shouldn't happen.

So let's dump them to dmesg as a last resort.

Borislav Petkov (3):
notifiers: Document notifier priority
x86/RAS: Add TSC to the injected MCE
x86/MCE: Dump MCE to dmesg if no consumers

arch/x86/kernel/cpu/mcheck/mce.c | 52 +++++++++++++++++++++++++++++++++++-----
arch/x86/ras/mce_amd_inj.c | 2 ++
include/linux/notifier.h | 1 +
3 files changed, 49 insertions(+), 6 deletions(-)

--
2.10.0