[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN][POWERPC] Turn off the Guard bit for access to the grant table



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.