xen/arm: WORKAROUND Support kick cpus and switch to hypervisor for the exynos5

Enterprise / Virtualization / Xen - Julien Grall [linaro.org] - 13 May 2013 06:00 UTC

Use machine ID to know what is the current board. This value is only given to the first CPU by the bootloader.

When the exynos 5 starts, there is only one CPU up. Xen needs to start the secondary cpu. The latter boots in secure mode.

Theses modifications aim to be removed as soon as possible. It should be moved either in a platform specific boot-wrapper (which will be start before Xen), or in the bootloader (assuming U-Boot/Grub will support SMP).

bd74772 xen/arm: WORKAROUND Support kick cpus and switch to hypervisor for the exynos5
xen/arch/arm/arm32/head.S | 19 +++++++-
xen/arch/arm/arm32/mode_switch.S | 75 +++++++++++++++++++++++-------
xen/include/asm-arm/platforms/vexpress.h | 11 +++++
3 files changed, 86 insertions(+), 19 deletions(-)

Upstream: xenbits.xen.org


  • Share