public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] x86/ras: Move AMD MCE injection module to arch/x86/
@ 2015-07-22  8:40 Borislav Petkov
  2015-07-22  8:40 ` [RFC PATCH 1/4] RAS: Add a menuconfig option with descriptive text Borislav Petkov
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Borislav Petkov @ 2015-07-22  8:40 UTC (permalink / raw)
  To: X86-ML; +Cc: Tony Luck, Aravind Gopalakrishnan, LKML, Linux EDAC

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-23 15:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22  8:40 [RFC PATCH 0/4] x86/ras: Move AMD MCE injection module to arch/x86/ Borislav Petkov
2015-07-22  8:40 ` [RFC PATCH 1/4] RAS: Add a menuconfig option with descriptive text Borislav Petkov
2015-07-22  8:40 ` [RFC PATCH 2/4] x86/mce: Rename rcu_dereference_check_mce() to mce_log_get_idx_check() Borislav Petkov
2015-07-23 15:58   ` Paul E. McKenney
2015-07-22  8:40 ` [RFC PATCH 3/4] x86/mce: Add a wrapper around mce_log() for injection Borislav Petkov
2015-07-22  8:40 ` [RFC PATCH 4/4] x86/ras: Move AMD MCE injector to arch/x86/ras/ Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox