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

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

To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] cleanup: VTLB_PTE_IO_BIT is not used
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 13 May 2008 11:40:20 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 May 2008 19:40:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <7kd4nvd6je.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <7kd4nvd6je.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
Applied.

thanks,

On Fri, May 09, 2008 at 09:08:05PM +0900, Kouya Shimura wrote:
Content-Description: message body text
> 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

-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>