From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751950AbcKGHhh (ORCPT ); Mon, 7 Nov 2016 02:37:37 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34522 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751012AbcKGHhf (ORCPT ); Mon, 7 Nov 2016 02:37:35 -0500 Date: Mon, 7 Nov 2016 08:37:31 +0100 From: Ingo Molnar To: Borislav Petkov Cc: Tony Luck , linux-edac , X86 ML , LKML , Thomas Gleixner , Peter Zijlstra Subject: Re: [RFC PATCH 0/3] x86/RAS: Dump error record to dmesg if no consumers Message-ID: <20161107073731.GA3963@gmail.com> References: <20161101120911.13163-1-bp@alien8.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161101120911.13163-1-bp@alien8.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Borislav Petkov wrote: > From: Borislav Petkov > > 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