Skip to contentSkip to conversation

amd64_edac: Remove node interleave warning

PATCH New Borislav Petkov 1 participant 1 message Apr 23, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 amd64_edac: Remove node interleave warning

From: Borislav Petkov <[email protected]>

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.

---
 drivers/edac/amd64_edac.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
drivers/edac/amd64_edac.c +1 -5
index 31e71c4f..8dff05b 100644
@@ -1403,12 +1403,8 @@ static int f1x_match_to_this_node(struct amd64_pvt *pvt, unsigned range,
 		return -EINVAL;
 	}
 
-	if (intlv_en &&
-	    (intlv_sel != ((sys_addr >> 12) & intlv_en))) {
-		amd64_warn("Botched intlv bits, en: 0x%x, sel: 0x%x\n",
-			   intlv_en, intlv_sel);
+	if (intlv_en && (intlv_sel != ((sys_addr >> 12) & intlv_en)))
 		return -EINVAL;
-	}
 
 	sys_addr = f1x_swap_interleaved_region(pvt, sys_addr);
 
Signature · 1 line
1.7.4.rc2