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] [xen-unstable] [XEN][POWERPC] Turn off the Guard bit for

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN][POWERPC] Turn off the Guard bit for access to the grant table
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Dec 2006 17:34:48 +0000
Delivery-date: Wed, 13 Dec 2006 09:38:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 4d47f058fffd00cbe50bdec11c8fa362bd4d3cf6
# Parent  88aab6f585d33e89e168c502374f2adf9aef4731
[XEN][POWERPC] Turn off the Guard bit for access to the grant table
Soon, we will not have domains map this page like IO, but for the near
term lets undo all the IO-type PTE bits.
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/papr/xlate.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 88aab6f585d3 -r 4d47f058fffd xen/arch/powerpc/papr/xlate.c
--- a/xen/arch/powerpc/papr/xlate.c     Fri Nov 10 18:41:25 2006 -0500
+++ b/xen/arch/powerpc/papr/xlate.c     Sat Nov 11 10:30:07 2006 -0500
@@ -199,6 +199,7 @@ long pte_enter(ulong flags, ulong ptex, 
         DBG("%s: Dom[%d] mapping grant table: 0x%lx\n",
             __func__, d->domain_id, pfn << PAGE_SHIFT);
         pte.bits.i = 0;
+        pte.bits.g = 0;
     }
     /* fixup the RPN field of our local PTE copy */
     pte.bits.rpn = mfn | lp_bits;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN][POWERPC] Turn off the Guard bit for access to the grant table, Xen patchbot-unstable <=