WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] A fix for itc.d emulation

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] A fix for itc.d emulation
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Jun 2006 18:40:54 +0000
Delivery-date: Fri, 16 Jun 2006 11:45:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] A fix for itc.d emulation, Xen patchbot-unstable <=