amd64_edac: Erratum #637 workaround
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 30 Mar 2011 13:42:10 +0000 (15:42 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Tue, 26 Apr 2011 14:18:56 +0000 (16:18 +0200)
commitc1ae68309b0c1ea67b72e9e94e26b4e819022fc7
tree22ecef8f85044a4bffba23546477b1b79dd08be8
parentf08e457cecece7fbbdad3add9defac3373a59b5a
amd64_edac: Erratum #637 workaround

F15h CPUs may report a non-DRAM address when reporting an error address
belonging to a CC6 state save area. Add a workaround to detect this
condition and compute the actual DRAM address of the error as documented
in the Revision Guide for AMD Family 15h Models 00h-0Fh Processors.

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