ARM: KVM: Add panic handling code
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 6 Jan 2016 09:12:42 +0000 (09:12 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:14 +0000 (18:34 +0000)
commitc36b6db5f3e4c1bd21659aee8e67226352d254ae
treef4a002e0cc3e0876a29724bdf25e534720a11eb5
parentbafc6c2a22553193d1d1ce83783b7faa0924158e
ARM: KVM: Add panic handling code

Instead of spinning forever, let's "properly" handle any unexpected
exception ("properly" meaning "print a spat on the console and die").

This has proved useful quite a few times...

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/hyp/hyp-entry.S
arch/arm/kvm/hyp/switch.c