arm64: KVM: Add panic handling
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 25 Oct 2015 15:21:52 +0000 (15:21 +0000)
committerAlex Shi <alex.shi@linaro.org>
Wed, 9 Nov 2016 14:15:46 +0000 (22:15 +0800)
commitf82b2dffa97f7598a81034ebdbcf2fcd689dab00
tree94efca391521e8c0b37b142fcb55d22829cad8e0
parentbdfc3d08944d92a15b4a94290586f87d5a309434
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>
(cherry picked from commit 53fd5b6487e4438049a5da5e36dfb8edcf1fd789)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/kvm/hyp/hyp-entry.S
arch/arm64/kvm/hyp/hyp.h
arch/arm64/kvm/hyp/switch.c