aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2011-04-08 09:05:21 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2011-04-26 10:18:12 -0400
commitf030ddfb3752df36bb73285353374fc04feabb80 (patch)
tree1b8f21ba1b29b36dcb748366b4fdcad2754c68f4 /drivers/edac
parent4949603a6fabf3a54cbd7be6df1681789abfca7d (diff)
amd64_edac: Remove node interleave warning
This warning was wrongfully added for a normal condition - intlvsel actually selects the destination node when node interleaving is enabled and it is not a mismatch. For a detailed example, see section 2.8.10.2 "Node Interleaving" in F10h BKDG. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/amd64_edac.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 4b4071ee2f5c..601142a0738a 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -1401,12 +1401,8 @@ static int f1x_match_to_this_node(struct amd64_pvt *pvt, unsigned range,
1401 return -EINVAL; 1401 return -EINVAL;
1402 } 1402 }
1403 1403
1404 if (intlv_en && 1404 if (intlv_en && (intlv_sel != ((sys_addr >> 12) & intlv_en)))
1405 (intlv_sel != ((sys_addr >> 12) & intlv_en))) {
1406 amd64_warn("Botched intlv bits, en: 0x%x, sel: 0x%x\n",
1407 intlv_en, intlv_sel);
1408 return -EINVAL; 1405 return -EINVAL;
1409 }
1410 1406
1411 sys_addr = f1x_swap_interleaved_region(pvt, sys_addr); 1407 sys_addr = f1x_swap_interleaved_region(pvt, sys_addr);
1412 1408