ARMv7: Add HYP mode switching support
Get series with b4
b4 am 20130531234959.GB17432@ubuntuVersions newest first
- v1 Latest5 of 6 patches 0 repliesNew
5 of 6 patches are in this archive. The cover letter announces 6.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ARM: add secure monitor handler to switch to non-secure state | +0 | 2 replies | |
| 2/6 | ARM: add assembly routine to switch to non-secure state | +0 | 0 replies | |
| 3/6 | ARM: switch to non-secure state during bootm execution | +0 | 0 replies | |
| 4/6 | ARM: add SMP support for non-secure switch | +0 | 0 replies | |
| 5/6 | ARM: extend non-secure switch to also go into HYP mode | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/6] ARMv7: Add HYP mode switching support
Quoted 15 lines · Andre Przywara
Quoted 14 lines · Christoffer Dall
Quoted 12 lines · Andre Przywara
(for GIT URL and Changelog see below)
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 configuration variable
CONFIG_ARMV7_VIRTwhich enables code to switch all cores into HYP mode. This is done automatically during execution of the bootm command (but could also be done earlier - U-Boot runs fine in HYP mode without MMU usage).
Quoted 8 lines
Quoted 3 lines
I forget the u-boot specifics here, but if you boot over networking, for example, does that eventually end up calling bootm or would Hyp mode not be entered in this case?
Despite the naming "bootm" is eventually always called when booting Linux, even bootz is a wrapper around this. Same with network boot. So unless you show me a case where this isn't, I think this is fine.
Cool, I have no idea, I just wanted to be sure.
Thanks,
-Christoffer