[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] cleanup: VTLB_PTE_IO_BIT is not used



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1210559087 -32400
# Node ID 6df8dcf48d9d2400a6cb6f23a2c0c2a47b33b02a
# Parent  debc868e380b4fe40d50772b6e09cd96ba88d085
[IA64] cleanup: VTLB_PTE_IO_BIT is not used

VTLB_PTE_IO_BIT is not used any more.

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vmmu.c    |    5 +----
 xen/include/asm-ia64/vmmu.h |    2 --
 2 files changed, 1 insertion(+), 6 deletions(-)

diff -r debc868e380b -r 6df8dcf48d9d xen/arch/ia64/vmx/vmmu.c
--- a/xen/arch/ia64/vmx/vmmu.c  Fri May 09 18:40:58 2008 +0900
+++ b/xen/arch/ia64/vmx/vmmu.c  Mon May 12 11:24:47 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 debc868e380b -r 6df8dcf48d9d xen/include/asm-ia64/vmmu.h
--- a/xen/include/asm-ia64/vmmu.h       Fri May 09 18:40:58 2008 +0900
+++ b/xen/include/asm-ia64/vmmu.h       Mon May 12 11:24:47 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.