amd64_edac: beef up DRAM error injection
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 24 Sep 2009 09:05:30 +0000 (11:05 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 7 Oct 2009 14:51:28 +0000 (16:51 +0200)
When injecting DRAM ECC errors (F3xBC_x8), EccVector[15:0] is a bitmask
of which bits should be error injected when written to and holds the
payload of 16-bit DRAM word when read, respectively.

Add /sysfs members to show the DRAM ECC section/word/vector.

Fail wrong injection values entered over /sysfs instead of truncating
them.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>

No differences found