WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] linux: force proper address translation in EDAC

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] linux: force proper address translation in EDAC
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Fri, 18 Sep 2009 15:55:09 +0100
Delivery-date: Fri, 18 Sep 2009 07:55:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Subject: force proper address translation in EDAC

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- head-2009-09-11.orig/drivers/edac/edac_mc.c 2009-06-10 05:05:27.000000000 
+0200
+++ head-2009-09-11/drivers/edac/edac_mc.c      2009-09-18 11:38:11.000000000 
+0200
@@ -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;




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] linux: force proper address translation in EDAC, Jan Beulich <=