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

To: "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel][PATCH] vcpu_get_psr fix
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Thu, 21 Dec 2006 13:13:45 +0800
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 20 Dec 2006 21:13:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcckvRXFBmd9Nf3dRmeS4eeLgzURQwAACajQ
Thread-topic: [Xen-ia64-devel][PATCH] vcpu_get_psr fix
Isaku Yamahata write on 2006年12月21日 13:01:
> Hi Anthony.
> What issue does this patch address?

Hi Isaku

This is only used by __kernel_syscall_via_epc function in xeno domain. 
previouly,  break 0x19(XEN_HYPER_GET_PSR) is the second
Instruction in the bundle.

When I debugged the patch of remove the requirement (vpsr.ic==0) 
fromhyperprivop.
break 0x19 is the third instruction in the bundle, this causes dom0 can't boot.
This patch can resolve this.
And this is correct emulation of mov from psr.


--Anthony

> 
> On Thu, Dec 21, 2006 at 12:42:51PM +0800, Xu, Anthony wrote:
>> mov r1=psr only return PSR{36:35,31:0}
>> 
>> 
>> Regards,
>> Anthony
> 
> 
>> _______________________________________________
>> Xen-ia64-devel mailing list
>> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-ia64-devel

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