amd64_edac: Fix DCT base address selector
commitb506d2886123002a81b9f421d4d6c65166b1c60f
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 8 Mar 2010 17:29:35 +0000 (8 18:29 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 17:54:07 +0000 (10 10:54 -0700)
tree9f78b1eab332ccc59fda43b92e8165b0cc3f8046
parentb2a9b4fad3a3798dd405adbfa1efc85ac8eeed6a
amd64_edac: Fix DCT base address selector

commit 9975a5f22a4fcc8d08035c65439900a983f891ad upstream.

The correct check is to verify whether in high range we're below 4GB
and not to extract the DctSelBaseAddr again. See "2.8.5 Routing DRAM
Requests" in the F10h BKDG.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Acked-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/edac/amd64_edac.c