amd64_edac: make DRAM regions output more human-readable
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 12 Oct 2009 13:27:45 +0000 (15:27 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Mon, 7 Dec 2009 18:14:27 +0000 (19:14 +0100)
commite97f8bb8ce5611a855c5a0dba949706ec37d4155
tree4cf8e1a9060b4c5d2622208112d46a28db92849b
parent72381bd55e4ce2aaed8660551e8f56a2c959c11f
amd64_edac: make DRAM regions output more human-readable

Do not shift the TOP_MEM and TOP_MEM2 values by 23 but rather save the
whole 64-bit value read from the MSR. Although the TOP_MEM/TOP_MEM2 bits
are only a subset of the 64bit register, the values are correct since
the remaining bits are Read-As-Zero and no shifting is needed.

Also, cleanup DRAM base/limit debug output.

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