Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4549624ybb; Tue, 7 Apr 2020 09:35:16 -0700 (PDT) X-Google-Smtp-Source: APiQypL530j8rhbqPaDYnyyBExEUg+33knoDLAmIjO5D7cLmxPV8dQj2D+Vp/JUZrp7rF7rI4csl X-Received: by 2002:a05:6830:1c38:: with SMTP id f24mr1236325ote.328.1586277316070; Tue, 07 Apr 2020 09:35:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586277316; cv=none; d=google.com; s=arc-20160816; b=CcmoLfFPfXGAYOhDewBqLl5xhFZ9US0hgqY1vklOC4TIAZVSwNZChh3kXQP6ivT5pe FuswAcAenuERD4lXRRe6AdWuVstMZNGyNshXHWoMI1TBSpNNRwfIcCG2QwYVcKcEPRIq ETyDN03S7blLW9imd6rLtPHngmo+pxgM3b282l10NAZEgdtqC8Wtky8XnTjOc1vAabne R7/si2xgGV+nvlBoiIlFJiB7fVywTtKzTxiSfeL7st1sKzlote2tZWe2591T6xd6XtMp 2pCDoSzX1nldKpRK5a2uzuc/B2ZFIbzGqwSMx6OmdO4YRXdPsYsR4v3JTHQC6uMfyHAW 56UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=10AuisXdlkUGnV+75mnu84n04JgfotyUA5Qxp55bd6c=; b=OGl8pJasNR0KM5vO2igdmlcbTgfX2I5IPDeQYpm7VSOmFWNU0hPT4YgULvSY6Zj/KD 9wGUNYG5XUlyvovAZxmgLf9RBlW6NK/8+2N19samQIQyjY2X6SYa1Vc3dh5wIuxp3BhN FFaDGXlh0b7mqul437NECzlPNdhvLJNiLTpaRiu9Ls4+PH9j3BopJ1jvmL03WmdR94tv Pv7Dgq20yBowG+ioyW5JLSfE/O8gB+Pri/6S4PSqhUAu7VJ666g4lmb2Iv6Yhd1D3Q5W xLfVxbH3grlsobDzxcsRAhsR5WYEev7g2/6OXZBZK7CJJRWkgerANkuAlV0XZdpypW25 KcmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=N0TFJnCU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c195si918796oig.142.2020.04.07.09.35.03; Tue, 07 Apr 2020 09:35:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=N0TFJnCU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728169AbgDGQeV (ORCPT + 99 others); Tue, 7 Apr 2020 12:34:21 -0400 Received: from mail.skyhub.de ([5.9.137.197]:53892 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726776AbgDGQeV (ORCPT ); Tue, 7 Apr 2020 12:34:21 -0400 Received: from zn.tnic (p200300EC2F0B2700A94266E658FF3DDD.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:2700:a942:66e6:58ff:3ddd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 086601EC0985; Tue, 7 Apr 2020 18:34:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1586277260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=10AuisXdlkUGnV+75mnu84n04JgfotyUA5Qxp55bd6c=; b=N0TFJnCU3O9Ql8HiJSnsgw3cmuRn69X1L+XEegCo0x1/t2M3ppOEKxoEG1hcbakITMFSJJ 4swSm1BVlcqt/boqtGVBF1bx5nIXeGmr5WXUIjhMBd06E6s38Wr1hI4WcMgnSJ6OwNR2QG s6oNO3gAjTxeYKVyh9gcnfB8dennJfo= From: Borislav Petkov To: Tony Luck Cc: Yazen Ghannam , X86 ML , LKML Subject: [PATCH 0/9 v3] New way to track mce notifier chain actions Date: Tue, 7 Apr 2020 18:34:05 +0200 Message-Id: <20200407163414.18058-1-bp@alien8.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200212204652.1489-1-tony.luck@intel.com> References: <20200212204652.1489-1-tony.luck@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov Hi all, here's what I have. I'd like to keep mce.kflags hidden for now. The last patch is something tglx spotted yesterday and fixing that with the MCE flags is pretty easy - was boxing with a wrapper struct around struct mce and that gets really ugly. Tony, I'm open to suggestions how to test it - I probably don't have an access to such box which can trigger read errors on nvdimms or what was the use case? Thx. Borislav Petkov (2): x86/mce/amd, edac: Remove report_gart_errors x86/mce: Fixup exception only for the correct MCEs Tony Luck (7): x86/mce: Rename "first" function as "early" x86/mce: Convert the CEC to use the MCE notifier x86/mce: Add a struct mce.kflags field x86/mce: Fix all mce notifiers to update the mce->kflags bitmask x86/mce: Change default MCE logger to check mce->kflags x86/mce: Add mce=print_all option EDAC: Drop the EDAC report status checks arch/x86/include/asm/mce.h | 28 +++++++---- arch/x86/include/uapi/asm/mce.h | 1 + arch/x86/kernel/cpu/mce/amd.c | 9 +++- arch/x86/kernel/cpu/mce/core.c | 72 +++++++++++----------------- arch/x86/kernel/cpu/mce/dev-mcelog.c | 5 ++ arch/x86/kernel/cpu/mce/internal.h | 1 + arch/x86/kernel/cpu/mce/severity.c | 6 ++- drivers/acpi/acpi_extlog.c | 19 ++------ drivers/acpi/nfit/mce.c | 1 + drivers/edac/amd64_edac.c | 8 ---- drivers/edac/edac_mc.c | 61 ----------------------- drivers/edac/i7core_edac.c | 5 +- drivers/edac/mce_amd.c | 28 ++--------- drivers/edac/mce_amd.h | 2 - drivers/edac/pnd2_edac.c | 8 ++-- drivers/edac/sb_edac.c | 7 ++- drivers/edac/skx_common.c | 3 +- drivers/ras/cec.c | 33 ++++++++++++- include/linux/edac.h | 8 ---- include/linux/ras.h | 5 -- 20 files changed, 118 insertions(+), 192 deletions(-) -- 2.21.0