# HG changeset patch
# User Jimi Xenidis <[EMAIL PROTECTED]>
# Node ID 4589b3dec1fd875096858471ae493c708e7049a3
# Parent  3b1358032f6ad2542e63848681c913a583274fa3
[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 <[EMAIL PROTECTED]>
---
 xen/arch/powerpc/papr/xlate.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 3b1358032f6a -r 4589b3dec1fd xen/arch/powerpc/papr/xlate.c
--- a/xen/arch/powerpc/papr/xlate.c     Fri Nov 10 18:42:22 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-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to