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

RE: [Xen-ia64-devel] [PATCH] [RESEND]clean up vti code


  • To: "Alex Williamson" <alex.williamson@xxxxxx>
  • From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
  • Date: Sat, 27 May 2006 10:36:13 +0800
  • Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 26 May 2006 19:36:29 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcaA3NS5YTOTSH/US5WW/iW/cJc04wAWL3Tw
  • Thread-topic: [Xen-ia64-devel] [PATCH] [RESEND]clean up vti code

Alex,
The serialization is not needed. Because itir is a parameter of itc,
there is implicit serialization before itc.
I removed a stop between itir and itc carelessly.

I will separate this patch, and send out later.

Thanks,
-Anthony 

>-----Original Message-----
>From: Alex Williamson [mailto:alex.williamson@xxxxxx]
>Sent: 2006?5?26? 23:55
>To: Xu, Anthony
>Cc: Zhang, Xiantao; xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: RE: [Xen-ia64-devel] [PATCH] [RESEND]clean up vti code
>
>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


 


Rackspace

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