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

From: Ingo Molnar
Date: Mon Nov 07 2016 - 02:37:40 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> 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(-)

Sounds good to me!

Thanks,

Ingo