summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-01-29 11:59:54 +0000
committerAlex Shi <alex.shi@linaro.org>2016-11-17 09:49:38 +0800
commit3fe3980002d4a21a23bfb13edc0e53e610535fb4 (patch)
treea9e3e1f9d606ebe521fdb998a31476f6430bbdf8 /init
parent6f7056c069f26c3dca1d94778708b91d5dbdb8a0 (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> (cherry picked from commit 1e947bad0b63b351cbdd9ad55ea5bf7e31c76036) Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions