ia64/xen-unstable

changeset 13474:b8de061f3dc6

[IA64] xen might misunderstand a normal page as I/O page

Hypervisor might misunderstand a normal page as I/O page
if a guest OS uses the ig field in the guest VHPT.

It seems to be harmless but slightly slow down.

Full description:
http://lists.xensource.com/archives/html/xen-ia64-devel/2007-01/msg00218.html

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author awilliam@xenbuild2.aw
date Wed Jan 24 12:21:37 2007 -0700 (2007-01-24)
parents 1487b2114fc2
children b4df7de0cbf7
files xen/arch/ia64/vmx/vtlb.c
line diff
     1.1 --- a/xen/arch/ia64/vmx/vtlb.c	Wed Jan 24 12:16:44 2007 -0700
     1.2 +++ b/xen/arch/ia64/vmx/vtlb.c	Wed Jan 24 12:21:37 2007 -0700
     1.3 @@ -248,6 +248,7 @@ u64 guest_vhpt_lookup(u64 iha, u64 *pte)
     1.4                    "tnat.nz p6,p7=r9;;"
     1.5                    "(p6) mov %0=1;"
     1.6                    "(p6) mov r9=r0;"
     1.7 +                  "(p7) extr.u r9=r9,0,53;;"
     1.8                    "(p7) mov %0=r0;"
     1.9                    "(p7) st8 [%2]=r9;;"
    1.10                    "ssm psr.ic;;"