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

Re: [Xen-devel] [PATCH] xen/arm: Support kick cpus and switch to hypervisor for the OMAP5



On Aug 15, 2013, at 7:10 PM, Andrii Anisov <andrii.anisov@xxxxxxxxxxxxxxx> 
wrote:

> 
> The actual mode switch codes is in the end of mode_switch.sï
> 
>         mrs     r0, cpsr        /* Copy the CPSR */
>         add     r0, r0, #0x4    /* 0x16 (Monitor) -> 0x1a (Hyp) */
>         msr     spsr_cxsf, r0   /* into the SPSR */
> 
> Hmmm, I think my patch name should be more accurate. It mainly added
> OMAP5 support in "enter_hyp_mode" routine, which actually makes it
> set cntfrq of arch_timer properly in secure mode.
> 
> Cheers,
> 
> Baozi
> 
> I'm really surprised you have got CPU1 in Secure Supervisor mode.

No, I'm not. I hacked my u-boot to boot in hyp mode directly then.

Baozi


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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