]> git.baikalelectronics.ru Git - kernel.git/commit
amd64_edac: fix DRAM base and limit extraction
authorBorislav Petkov <borislav.petkov@amd.com>
Tue, 22 Sep 2009 14:48:37 +0000 (16:48 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 7 Oct 2009 14:51:15 +0000 (16:51 +0200)
commit1df03ef32db16a769e59fa69a28dca6b8e84754e
tree69247ab8326bbe69f4b6e875e2add0f884d386cc
parent6cd6725489a9e0ed12494370c1e0851119581ef8
amd64_edac: fix DRAM base and limit extraction

On Fam10h and above, F1x[1, 0][7C:40] are DRAM Base/Limit registers
which specify the destination node of a DRAM address. Those address
boundaries are being extracted into ->dram_base[] and ->dram_limit[].
Correct the extraction masks to match the respective address bits.

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