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

RE: [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


 


Rackspace

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