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)
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

Simple merge