Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1189753

[RFC PATCH 0/4] x86/ras: Move AMD MCE injection module to arch/x86/

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject [RFC PATCH 0/4] x86/ras: Move AMD MCE injection module to arch/x86/
Date Wed, 22 Jul 2015 10:50:02 +0200
Message-ID <pOXSW-1JX-19@gated-at.bofh.it> (permalink)
X-Original-To X86-ML <x86@kernel.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1437554435; bh=IO8iNH9TmOvbRRqNNjPffdK4Otv3l2YaPMPiWs4TbdI=; h=From:To:Cc:Subject:Date:Message-Id; b=UjSLMzjLYl86hVQCb19w7aRxNpN CHReYWSTf0J483ij+nL2s6ws8DMPsJemh5kHXi67tAvrOczf3pQg3ayjBnrogXMpY5n tbTdcmiMUUnDMKt/lYBOWtTTeWrUmX2TOMwxJdJD07m9Rhyc82M/Tglk3e0wzfry2nY /JzrjWtPww=
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1437554434; bh=IO8iNH9TmOvbRRqNNjPffdK4Otv3l2YaPMPiWs4TbdI=; h=From:To:Cc:Subject:Date:Message-Id; b=K0mc3FJUlWMTSiujyDe9JQTMAFc AfGDojBvUw1YDUL465ig23R8Lq14n8HTIdIrLm9+0ZwyvkiGiYV5wyvaXp3C+hNL0mC vjCGQDeh/N/MTJo6IHyqGTKrGmfmK2IBS/SCoCw9FnGKzaQKrX0Aj1w8z9Gp4EvqQoQ yNUsNQ7pJk=
X-Mailer git-send-email 2.5.0.rc2.28.g6003e7f
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 44
Organization linux.* mail to news gateway
X-Original-Cc Tony Luck <tony.luck@intel.com>, Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>, LKML <linux-kernel@vger.kernel.org>, Linux EDAC <linux-edac@vger.kernel.org>
X-Original-Date Wed, 22 Jul 2015 10:40:24 +0200
X-Original-Message-ID <1437554428-24788-1-git-send-email-bp@alien8.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1189753

Show key headers only | View raw


From: Borislav Petkov <bp@suse.de>

Hi all,

so this has been on my mind for a while now and the recent pull request
sdebacle imply accelerated it. The advantage of moving it closer to MCE
code is that improvements/additions to the MCE code can automatically
get injection functionality added for testing.

With that in place, injection of threshold and deferred errors will get
added.

Still RFC as there's more RAS stuff pending review currently.

Thanks.

Borislav Petkov (4):
  RAS: Add a menuconfig option with descriptive text
  x86/mce: Rename rcu_dereference_check_mce() to mce_log_get_idx_check()
  x86/mce: Add a wrapper around mce_log() for injection
  x86/ras: Move AMD MCE injector to arch/x86/ras/

 arch/x86/Makefile                            |  2 ++
 arch/x86/kernel/cpu/mcheck/mce-internal.h    |  2 ++
 arch/x86/kernel/cpu/mcheck/mce.c             | 15 ++++++++---
 arch/x86/ras/Kconfig                         | 11 +++++++++
 arch/x86/ras/Makefile                        |  2 ++
 {drivers/edac => arch/x86/ras}/mce_amd_inj.c |  6 ++---
 drivers/edac/Kconfig                         | 10 --------
 drivers/edac/Makefile                        |  1 -
 drivers/ras/Kconfig                          | 37 ++++++++++++++++++++++++++--
 9 files changed, 66 insertions(+), 20 deletions(-)
 create mode 100644 arch/x86/ras/Kconfig
 create mode 100644 arch/x86/ras/Makefile
 rename {drivers/edac => arch/x86/ras}/mce_amd_inj.c (98%)

-- 
2.5.0.rc2.28.g6003e7f

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/4] x86/ras: Move AMD MCE injection module to arch/x86/ Borislav Petkov <bp@alien8.de> - 2015-07-22 10:50 +0200
  [RFC PATCH 4/4] x86/ras: Move AMD MCE injector to arch/x86/ras/ Borislav Petkov <bp@alien8.de> - 2015-07-22 10:50 +0200
  [RFC PATCH 2/4] x86/mce: Rename rcu_dereference_check_mce() to mce_log_get_idx_check() Borislav Petkov <bp@alien8.de> - 2015-07-22 10:50 +0200
  [RFC PATCH 1/4] RAS: Add a menuconfig option with descriptive text Borislav Petkov <bp@alien8.de> - 2015-07-22 10:50 +0200

csiph-web