EDAC, MCE: Rework MCE injection
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 2 Sep 2010 16:33:24 +0000 (18:33 +0200)
committerBorislav Petkov <bp@amd64.org>
Thu, 21 Oct 2010 12:47:59 +0000 (14:47 +0200)
commit9cdeb404a1870c5022915e576dbdc3cde21af5bf
tree19843bf914f56f362a7c9cdf86c27a648caa475c
parent30e1f7a8122145f44f45c95366e27b6bb0b08428
EDAC, MCE: Rework MCE injection

Add sysfs injection facilities for testing of the MCE decoding code.
Remove large parts of amd64_edac_dbg.c, as a result, which did only
NB MCE injection anyway and the new injection code supports that
functionality already.

Add an injection module so that MCE decoding code in production kernels
like those in RHEL and SLES can be tested.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/Kconfig
drivers/edac/Makefile
drivers/edac/amd64_edac.h
drivers/edac/amd64_edac_dbg.c
drivers/edac/edac_mce_amd.c
drivers/edac/edac_mce_amd.h
drivers/edac/mce_amd_inj.c [new file with mode: 0644]