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] access_reflection fix

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, "Alex Williamson" <alex.williamson@xxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] access_reflection fix
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Thu, 30 Mar 2006 10:29:11 +0800
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 30 Mar 2006 02:30:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Thread-index: AcZTWV+0qqepIjueTayeGmwJ+pkvQgAPT3cAAAKSHXA=
Thread-topic: [Xen-ia64-devel] [PATCH] access_reflection fix
>From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Xu, Anthony
>Sent: 2006?3?30? 9:19
>To: Alex Williamson
>Cc: xen-ia64-devel
>Subject: RE: [Xen-ia64-devel] [PATCH] access_reflection fix
>
>>From: Alex Williamson
>>Sent: 2006?3?30? 1:51
>>On Thu, 2006-03-30 at 00:42 +0800, Xu, Anthony wrote:
>>> diff -r 7e3cbc409676 xen/arch/ia64/xen/hyperprivop.S
>>> --- a/xen/arch/ia64/xen/hyperprivop.S   Mon Mar 27 22:36:47 2006
>>> +++ b/xen/arch/ia64/xen/hyperprivop.S   Thu Mar 30 00:09:33 2006
>>> @@ -736,6 +736,7 @@
>>>         adds r21=XSI_RR0_OFS-XSI_PSR_IC_OFS,r18 ;;
>>>         shladd r22=r22,3,r21;;
>>>         ld8 r22=[r22];;
>>> +       and r22=-2,r22;;
>>
>>Maybe this?
>>
>>   and r22=~3,r22;;
>
>-2 is same with ~3 ?

R22 comes from region register; bit 1 is reserved for region register.
So bit 1 should 0, VMM only need to reset bit0. 
Then this patch should be OK,
-2 are same with ~1 :-).

Thanks
 Anthony

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