From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754521AbdCIKKj (ORCPT ); Thu, 9 Mar 2017 05:10:39 -0500 Received: from mail.skyhub.de ([5.9.137.197]:34694 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753941AbdCIKKf (ORCPT ); Thu, 9 Mar 2017 05:10:35 -0500 From: Borislav Petkov To: Tony Luck Cc: X86 ML , linux-edac , LKML Subject: [PATCH 0/4] RAS: Add CEC collector and deprecate mcelog Date: Thu, 9 Mar 2017 11:08:14 +0100 Message-Id: <20170309100818.15466-1-bp@alien8.de> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov Hi, here's the latest incarnation of the CEC collector. I think I've taken care of all review comments but feel free to correct me here. The introductory comment in cec.c should explain the whole deal - I'm referring to there so that we have that text in the actual source and not spread it around commit messages. So pls have a look there for more info. The thing has knobs in debugfs now which can control its operation, I hope I've chosen sane default values. Borislav Petkov (3): x86/MCE: Rename mce_log()'s argument x86/MCE: Rename mce_log to mce_log_buffer RAS: Add a Corrected Errors Collector Tony Luck (1): x86/mce: Deprecate /dev/mcelog Documentation/admin-guide/kernel-parameters.txt | 6 + arch/x86/Kconfig | 10 +- arch/x86/include/asm/mce.h | 12 +- arch/x86/kernel/cpu/mcheck/Makefile | 2 + arch/x86/kernel/cpu/mcheck/dev-mcelog.c | 397 ++++++++++++++++++ arch/x86/kernel/cpu/mcheck/mce-internal.h | 8 + arch/x86/kernel/cpu/mcheck/mce.c | 493 ++++------------------ arch/x86/ras/Kconfig | 14 + drivers/ras/Makefile | 3 +- drivers/ras/cec.c | 530 ++++++++++++++++++++++++ drivers/ras/debugfs.c | 2 +- drivers/ras/debugfs.h | 8 + drivers/ras/ras.c | 11 + include/linux/ras.h | 13 +- 14 files changed, 1097 insertions(+), 412 deletions(-) create mode 100644 arch/x86/kernel/cpu/mcheck/dev-mcelog.c create mode 100644 drivers/ras/cec.c create mode 100644 drivers/ras/debugfs.h -- 2.11.0