summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorMarc Zyngier2017-04-03 20:37:59 +0200
committerChristoffer Dall2017-04-09 16:49:32 +0200
commit0fb265930dbcdb6833094198b8b1b71b1d3ed88d (patch)
tree93eda3b3753e41a861553f3d6ce56927fa760f1b /arch/arm64/include
parentARM: KVM: Gracefully handle hyp-stubs being restored from under our feet (diff)
downloadkernel-qcow2-linux-0fb265930dbcdb6833094198b8b1b71b1d3ed88d.tar.gz
kernel-qcow2-linux-0fb265930dbcdb6833094198b8b1b71b1d3ed88d.tar.xz
kernel-qcow2-linux-0fb265930dbcdb6833094198b8b1b71b1d3ed88d.zip
arm/arm64: KVM: Use __hyp_reset_vectors() directly
__cpu_reset_hyp_mode doesn't need to be passed any argument now, as the hyp-stub implementations are self-contained, and is now reduced to just calling __hyp_reset_vectors(). Let's drop the wrapper and use the stub hypercall directly. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@linaro.org>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/kvm_host.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h
index 0355dd109956..578df18f66b7 100644
--- a/arch/arm64/include/asm/kvm_host.h
+++ b/arch/arm64/include/asm/kvm_host.h
@@ -362,12 +362,6 @@ static inline void __cpu_init_hyp_mode(phys_addr_t pgd_ptr,
__kvm_call_hyp((void *)pgd_ptr, hyp_stack_ptr, vector_ptr);
}
-static inline void __cpu_reset_hyp_mode(unsigned long vector_ptr,
- phys_addr_t phys_idmap_start)
-{
- __hyp_reset_vectors();
-}
-
static inline void kvm_arch_hardware_unsetup(void) {}
static inline void kvm_arch_sync_events(struct kvm *kvm) {}
static inline void kvm_arch_vcpu_uninit(struct kvm_vcpu *vcpu) {}