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-changelog

[Xen-changelog] [linux-2.6.18-xen] xen/edac: force proper address transl

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen/edac: force proper address translation in EDAC
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Sep 2009 01:25:38 -0700
Delivery-date: Tue, 22 Sep 2009 01:27:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1253603019 -3600
# Node ID eebccbc294dad786b2b14892bf1e60d0034f8f0d
# Parent  f1a207ccb4934787a18e37458162232fd4ede6d1
xen/edac: force proper address translation in EDAC

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/edac/edac_mc.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r f1a207ccb493 -r eebccbc294da drivers/edac/edac_mc.c
--- a/drivers/edac/edac_mc.c    Sun Aug 30 08:54:15 2009 +0100
+++ b/drivers/edac/edac_mc.c    Tue Sep 22 08:03:39 2009 +0100
@@ -1491,6 +1491,10 @@ void edac_mc_scrub_block(unsigned long p
 
        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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen/edac: force proper address translation in EDAC, Xen patchbot-linux-2.6.18-xen <=