diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-01-29 14:19:45 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-29 19:34:15 +0100 |
commit | 3a3604bc5eb4ae21ec95b13fdd15959e8f70c434 (patch) | |
tree | 2893ec1ae57ef923c1bfe4b8034acbc3b64f3096 /arch/arm64/include/asm/kvm_asm.h | |
parent | arm/arm64: KVM: Handle out-of-RAM cache maintenance as a NOP (diff) | |
download | linux-3a3604bc5eb4ae21ec95b13fdd15959e8f70c434.tar.xz linux-3a3604bc5eb4ae21ec95b13fdd15959e8f70c434.zip |
arm64: KVM: Switch to C-based stage2 init
There is no real need to leave the stage2 initialization as part
of the early HYP bootstrap, and we can easily postpone it to
the point where we can safely run C code.
This will help VHE, which doesn't need any of this bootstrap.
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/kvm_asm.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_asm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_asm.h b/arch/arm64/include/asm/kvm_asm.h index 2ad8930e7eb3..1037392ae134 100644 --- a/arch/arm64/include/asm/kvm_asm.h +++ b/arch/arm64/include/asm/kvm_asm.h @@ -45,6 +45,8 @@ extern u64 __vgic_v3_get_ich_vtr_el2(void); extern u32 __kvm_get_mdcr_el2(void); +extern void __init_stage2_translation(void); + #endif #endif /* __ARM_KVM_ASM_H__ */ |