EDAC, mce_amd_inj: Add an injector function
authorBorislav Petkov <bp@suse.de>
Sat, 22 Nov 2014 10:47:07 +0000 (11:47 +0100)
committerBorislav Petkov <bp@suse.de>
Tue, 25 Nov 2014 12:09:45 +0000 (13:09 +0100)
commit51756a5034c12da3ce1286749b0e05de8bfbbbaf
treef60f8cf4b3ec58e703c5b96985aba8a58de67748
parentb18f3864bfb4ef2af0e25b6ed5e1292f2ac36878
EDAC, mce_amd_inj: Add an injector function

Selectively inject either a real MCE or a sw-only version which
exercises the decoding path only. The hardware-injected MCE triggers a
machine check exception (#MC) so that the MCE handler can be bothered to
do something too.

Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mce_amd_inj.c