From: "Jan Beulich" Subject: [PATCH] linux: force proper address translation in EDAC Date: Fri, 18 Sep 2009 15:55:09 +0100 Message-ID: <4AB3BB6D0200007800015BF0@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Subject: force proper address translation in EDAC Signed-off-by: Jan Beulich --- head-2009-09-11.orig/drivers/edac/edac_mc.c 2009-06-10 05:05:27.0000000= 00 +0200 +++ head-2009-09-11/drivers/edac/edac_mc.c 2009-09-18 11:38:11.0000000= 00 +0200 @@ -1480,6 +1480,10 @@ static void edac_mc_scrub_block(unsigned =20 debugf3("%s()\n", __func__); =20 +#ifdef CONFIG_XEN + page =3D mfn_to_local_pfn(page); +#endif + /* ECC error page was not in our memory. Ignore it. */ if(!pfn_valid(page)) return;