commit | 1e947bad0b63b351cbdd9ad55ea5bf7e31c76036 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Thu Jan 29 11:59:54 2015 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Feb 29 18:34:16 2016 +0000 |
tree | 71e42f0401c96c3a77b91eeb8f4a0b2feace6417 | |
parent | d88701bea3664cea99b8b7380f63a3bd0ec3ead3 [diff] |
arm64: KVM: Skip HYP setup when already running in HYP With the kernel running at EL2, there is no point trying to configure page tables for HYP, as the kernel is already mapped. Take this opportunity to refactor the whole init a bit, allowing the various parts of the hypervisor bringup to be split across multiple functions. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>