diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-01-05 19:43:18 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-29 19:34:14 +0100 |
commit | bafc6c2a22553193d1d1ce83783b7faa0924158e (patch) | |
tree | 82e084f84983034a6fb53e4ad76081ef25b8a659 /arch/arm/kvm/hyp/hyp.h | |
parent | ARM: KVM: Add populating of fault data structure (diff) | |
download | linux-bafc6c2a22553193d1d1ce83783b7faa0924158e.tar.xz linux-bafc6c2a22553193d1d1ce83783b7faa0924158e.zip |
ARM: KVM: Add HYP mode entry code
This part is almost entierely borrowed from the existing code, just
slightly simplifying the HYP function call (as we now save SPSR_hyp
in the world switch).
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/hyp/hyp.h')
-rw-r--r-- | arch/arm/kvm/hyp/hyp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kvm/hyp/hyp.h b/arch/arm/kvm/hyp/hyp.h index 8b1156b691ff..8b9c2eb5a9dc 100644 --- a/arch/arm/kvm/hyp/hyp.h +++ b/arch/arm/kvm/hyp/hyp.h @@ -123,4 +123,6 @@ void __hyp_text __banked_restore_state(struct kvm_cpu_context *ctxt); int asmlinkage __guest_enter(struct kvm_vcpu *vcpu, struct kvm_cpu_context *host); +int asmlinkage __hyp_do_panic(const char *, int, u32); + #endif /* __ARM_KVM_HYP_H__ */ |