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-ia64-devel

[Xen-ia64-devel] [PATCH] cleanup: VTLB_PTE_IO_BIT is not used

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] cleanup: VTLB_PTE_IO_BIT is not used
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Fri, 9 May 2008 21:08:05 +0900
Delivery-date: Fri, 09 May 2008 05:08:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
VTLB_PTE_IO_BIT is not used any more.

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

diff -r f2457c7aff8d xen/arch/ia64/vmx/vmmu.c
--- a/xen/arch/ia64/vmx/vmmu.c  Fri Apr 25 20:13:52 2008 +0900
+++ b/xen/arch/ia64/vmx/vmmu.c  Fri May 09 19:21:14 2008 +0900
@@ -282,7 +282,7 @@ IA64FAULT vmx_vcpu_itr_d(VCPU *vcpu, u64
 #ifdef VTLB_DEBUG
     int index;
 #endif    
-    u64 gpfn, gpte;
+    u64 gpfn;
     u64 ps, va, rid;
     thash_data_t * p_dtr;
 
@@ -313,9 +313,6 @@ IA64FAULT vmx_vcpu_itr_d(VCPU *vcpu, u64
     if (ps != _PAGE_SIZE_16M)
         thash_purge_entries(vcpu, va, ps);
     gpfn = (pte & _PAGE_PPN_MASK)>> PAGE_SHIFT;
-    gpte = lookup_domain_mpa(vcpu->domain, gpfn, NULL);
-    if (gpte & _PAGE_IO)
-        pte |= VTLB_PTE_IO;
     vcpu_get_rr(vcpu, va, &rid);
     rid &= RR_RID_MASK;
     p_dtr = (thash_data_t *)&vcpu->arch.dtrs[slot];
diff -r f2457c7aff8d xen/include/asm-ia64/vmmu.h
--- a/xen/include/asm-ia64/vmmu.h       Fri Apr 25 20:13:52 2008 +0900
+++ b/xen/include/asm-ia64/vmmu.h       Fri May 09 19:21:35 2008 +0900
@@ -46,8 +46,6 @@ enum {
 #endif /* __ASSEMBLY__ */
 
 #define VTLB_PTE_P_BIT      0
-#define VTLB_PTE_IO_BIT     60
-#define VTLB_PTE_IO         (1UL<<VTLB_PTE_IO_BIT)
 #define VTLB_PTE_P         (1UL<<VTLB_PTE_P_BIT)
 
 #define ITIR_RV_MASK            (((1UL<<32)-1)<<32 | 0x3)
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>