amd64_edac: Improve error injection
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 9 Aug 2012 16:41:07 +0000 (18:41 +0200)
committerBorislav Petkov <bp@alien8.de>
Wed, 28 Nov 2012 10:45:01 +0000 (11:45 +0100)
commit66fed2d464157eb20c37738d75b281458dfc2cab
tree2ef45590cacc3c69d9901153f4dc1199e20b7fa1
parent6e71a870b8ff2c1e2d89e5ea27a38cea39cefa3d
amd64_edac: Improve error injection

When injecting DRAM ECC errors over the F3xB[8,C] interface, the machine
does this by injecting the error in the next non-cached access. This
takes relatively long time on a normal system so that in order for us to
expedite it, we disable the caches around the injection.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h
drivers/edac/amd64_edac_inj.c