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

Re: [Xen-devel] [PATCH v2 3/3] xen/arm: Enable switch to hyp mode for OMAP5432


I have got a clue what's going on in u-boot. You can see it in
arch/arm/lib/bootm.c, functions hyp_enable, __hyp_init_sec.
U-boot running on CPU0, kicks CPU1, switches from SVC32 came from ROM
code to HYP on CPU0 (using smc API).
Code CPU1 is kicked to, does switch to HYP, and executes what ROM
normally does: wait for event, checks AUX_CORE_BOOT_0 if ok - jumps to
AUX_CORE_BOOT_1. The only difference from waiting in ROM code is that
CPU1 is already in HYP.

Andrii Anisov.

Xen-devel mailing list



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