[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




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.

Sincerely,
Andrii Anisov.

_______________________________________________
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®.