[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] A fix for itc.d emulation
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID 99abd54a02d94ead0b9edaae33a541489e0fb90d # Parent 43d9c8042ab6ad02cbffd64f84782dfc9c8069ca [IA64] A fix for itc.d emulation If natpage, insert into TLB directly. Signed-off-by: Zhang xiantao <xiantao.zhang@xxxxxxxxx> --- xen/arch/ia64/vmx/vmmu.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff -r 43d9c8042ab6 -r 99abd54a02d9 xen/arch/ia64/vmx/vmmu.c --- a/xen/arch/ia64/vmx/vmmu.c Fri Jun 09 10:35:43 2006 -0600 +++ b/xen/arch/ia64/vmx/vmmu.c Fri Jun 09 10:35:45 2006 -0600 @@ -376,12 +376,14 @@ IA64FAULT vmx_vcpu_itc_d(VCPU *vcpu, UIN if (VMX_DOMAIN(vcpu)) { if (__gpfn_is_io(vcpu->domain, gpfn)) pte |= VTLB_PTE_IO; - else + else{ + if ((pte & _PAGE_MA_MASK)!=_PAGE_MA_NAT) /* Ensure WB attribute if pte is related to a normal mem page, * which is required by vga acceleration since qemu maps shared * vram buffer with WB. */ - pte &= ~_PAGE_MA_MASK; + pte &= ~_PAGE_MA_MASK; + } } thash_purge_and_insert(vcpu, pte, itir, ifa); return IA64_NO_FAULT; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |