[U-Boot] [RFC PATCH 0/6] ARMv7: Add HYP mode switching support

Peter Maydell peter.maydell at linaro.org
Fri Apr 26 15:18:45 CEST 2013


On 26 April 2013 14:14, Andre Przywara <andre.przywara at linaro.org> wrote:
> ARM CPUs with the virtualization extension have a new mode called
> HYP mode, which allows hypervisors to safely control and monitor
> guests. The current hypervisor (KVM and Xen) implementations
> require the kernel to be entered in that HYP mode.
>
> This patch series introduces a new U-Boot command called "hypmode"
> which can be used at any time at the U-Boot command prompt to
> switch the CPU into HYP mode - ideally this would be done before
> starting the kernel.

The obvious question here is "why do we need a new command?".
The kernel booting specification says "boot the kernel in
Hyp mode" so we should just always do that for booting Linux,
surely?

thanks
-- PMM


More information about the U-Boot mailing list