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] [RESEND]clean up vti code

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] [RESEND]clean up vti code
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Fri, 26 May 2006 09:55:17 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 26 May 2006 08:55:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2BF508F394C196468CCBEC031320DCDF0116FE60@pdsmsx405>
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>
Organization: LOSL
References: <2BF508F394C196468CCBEC031320DCDF0116FE60@pdsmsx405>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Anthony,

  A few comments.

On Thu, 2006-05-25 at 20:02 +0800, Xu, Anthony wrote:
> @@ -321,88 +285,82 @@ ENTRY(vmx_alt_itlb_miss)
> -       ;;
> -       mov cr.itir=r20
> -       ;;
> -       srlz.i
> -       ;;
> -       itc.i r19               // insert the TLB entry
...
> +    ;;
> +    mov cr.itir=r20
> +    itc.i r19          // insert the TLB entry
...
> -       ;;
> -       mov cr.itir=r20
> -       ;;
> -       srlz.i
> -       ;;
> -(p7) itc.d r19         // insert the TLB entry
...
> +    ;;
> +    mov cr.itir=r20
> +(p7)itc.d r19          // insert the TLB entry

   The loss of serialization between mv cr.itir and itc has me nervous.
The assembler is nervous about it too:

Warning: Use of 'itc.i' violates RAW dependency 'CR[ITIR]' (implied)
Warning: Use of 'itc.d' may violate RAW dependency 'CR[ITIR]' (implied)

Also, this patch has gotten very large, and I'm not sure it only
includes cleanups anymore.  There seems to be lots of new code mixed in
as well.  Could you separate simple formatting cleanup from code
restructuring and modification?  I did verify that this version of the
patch allows me to to boot domVTI again.  Thanks,

        Alex

-- 
Alex Williamson                             HP Linux & Open Source Lab


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