Skip to contentSkip to conversation

linux: force proper address translation in EDAC

PATCH New Jan Beulich 1 participant 1 message Sep 18, 2009 EDAC-core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: force proper address translation in EDAC

Subject: force proper address translation in EDAC

drivers/edac/edac_mc.c +4 -0
@@ -1480,6 +1480,10 @@ static void edac_mc_scrub_block(unsigned
 
 	debugf3("%s()\n", __func__);
 
+#ifdef CONFIG_XEN
+	page = mfn_to_local_pfn(page);
+#endif
+
 	/* ECC error page was not in our memory. Ignore it. */
 	if(!pfn_valid(page))
 		return;