direct-io.hg

changeset 12957:4d47f058fffd

[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@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Sat Nov 11 10:30:07 2006 -0500 (2006-11-11)
parents 88aab6f585d3
children da882f0212d6
files xen/arch/powerpc/papr/xlate.c
line diff
     1.1 --- a/xen/arch/powerpc/papr/xlate.c	Fri Nov 10 18:41:25 2006 -0500
     1.2 +++ b/xen/arch/powerpc/papr/xlate.c	Sat Nov 11 10:30:07 2006 -0500
     1.3 @@ -199,6 +199,7 @@ long pte_enter(ulong flags, ulong ptex, 
     1.4          DBG("%s: Dom[%d] mapping grant table: 0x%lx\n",
     1.5              __func__, d->domain_id, pfn << PAGE_SHIFT);
     1.6          pte.bits.i = 0;
     1.7 +        pte.bits.g = 0;
     1.8      }
     1.9      /* fixup the RPN field of our local PTE copy */
    1.10      pte.bits.rpn = mfn | lp_bits;