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)
commit66216a7a15e75d517dddd0ac6514924b15071e4c
tree69247ab8326bbe69f4b6e875e2add0f884d386cc
parent9d858bb10a9907bbbaffbb4a80a31718d548868c
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