Commit cced7c56 authored by Marc Zyngier's avatar Marc Zyngier Committed by Amit Pundir
Browse files

UPSTREAM: 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: default avatarChristoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 1e947bad)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent bea69ce2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment