diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-10-25 15:21:52 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-12-14 11:30:42 +0000 |
commit | 53fd5b6487e4438049a5da5e36dfb8edcf1fd789 (patch) | |
tree | f76af58124936d36e22a7e69b992b5cf414e0c2e /arch/arm64/kvm/hyp/hyp.h | |
parent | 2b28162cf65a6fe1c93d172675e4f2792792f17e (diff) | |
download | linux-53fd5b6487e4438049a5da5e36dfb8edcf1fd789.tar.gz linux-53fd5b6487e4438049a5da5e36dfb8edcf1fd789.tar.bz2 linux-53fd5b6487e4438049a5da5e36dfb8edcf1fd789.zip |
arm64: KVM: Add panic handling
Add the panic handler, together with the small bits of assembly
code to call the kernel's panic implementation.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64/kvm/hyp/hyp.h')
-rw-r--r-- | arch/arm64/kvm/hyp/hyp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kvm/hyp/hyp.h b/arch/arm64/kvm/hyp/hyp.h index 70d4f696c862..fb275178b6af 100644 --- a/arch/arm64/kvm/hyp/hyp.h +++ b/arch/arm64/kvm/hyp/hyp.h @@ -84,6 +84,7 @@ static inline bool __fpsimd_enabled(void) } u64 __guest_enter(struct kvm_vcpu *vcpu, struct kvm_cpu_context *host_ctxt); +void __noreturn __hyp_do_panic(unsigned long, ...); #endif /* __ARM64_KVM_HYP_H__ */ |