From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753470AbdFMQ2z (ORCPT ); Tue, 13 Jun 2017 12:28:55 -0400 Received: from mail.skyhub.de ([5.9.137.197]:35094 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751768AbdFMQ2x (ORCPT ); Tue, 13 Jun 2017 12:28:53 -0400 From: Borislav Petkov To: X86 ML Cc: LKML Subject: [PATCH 0/8] RAS: 4.13 pile, part 2 Date: Tue, 13 Jun 2017 18:28:27 +0200 Message-Id: <20170613162835.30750-1-bp@alien8.de> X-Mailer: git-send-email 2.13.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov Hi guys, here's the second pile of RAS updates which merges the mce_amd_inj functionality into mce-inject. Now we have a single error injector module which we can use on anything. Also, it is a true module now as we're getting rid of register_mce_write_callback() and replacing it with a normal notifier which /dev/mcelog invokes. Also, a couple more fixes/cleanups from Yazen. Please queue, thanks. Borislav Petkov (4): x86/mce: Merge mce_amd_inj into mce-inject x86/mce: Get rid of register_mce_write_callback() x86/mce: Cleanup include files x86/mce/mce-inject: Preset the MCE injection struct Yazen Ghannam (4): x86/mce/AMD: Use msr_stat when clearing MCA_STATUS x86/mce/AMD: Use saved threshold block info in interrupt handler x86/mce: Don't disable MCA banks when offlining a CPU on AMD x86/mce: Update bootlog description to reflect behavior on AMD Documentation/x86/x86_64/boot-options.txt | 3 +- arch/x86/Kconfig | 2 +- arch/x86/Makefile | 2 - arch/x86/include/asm/mce.h | 4 - arch/x86/include/asm/processor.h | 5 + arch/x86/kernel/cpu/mcheck/dev-mcelog.c | 47 ++- arch/x86/kernel/cpu/mcheck/mce-inject.c | 569 +++++++++++++++++++++++++++--- arch/x86/kernel/cpu/mcheck/mce-internal.h | 6 +- arch/x86/kernel/cpu/mcheck/mce.c | 10 +- arch/x86/kernel/cpu/mcheck/mce_amd.c | 68 ++-- arch/x86/ras/Kconfig | 11 - arch/x86/ras/Makefile | 2 - arch/x86/ras/mce_amd_inj.c | 492 -------------------------- 13 files changed, 617 insertions(+), 604 deletions(-) delete mode 100644 arch/x86/ras/Makefile delete mode 100644 arch/x86/ras/mce_amd_inj.c -- 2.13.0