From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423379AbcKAMJR (ORCPT ); Tue, 1 Nov 2016 08:09:17 -0400 Received: from mail.skyhub.de ([78.46.96.112]:54099 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422715AbcKAMJO (ORCPT ); Tue, 1 Nov 2016 08:09:14 -0400 From: Borislav Petkov To: Tony Luck Cc: linux-edac , X86 ML , LKML Subject: [RFC PATCH 0/3] x86/RAS: Dump error record to dmesg if no consumers Date: Tue, 1 Nov 2016 13:09:08 +0100 Message-Id: <20161101120911.13163-1-bp@alien8.de> X-Mailer: git-send-email 2.10.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.10.0