linux/arch/arm64/kvm
Mark Rutland fbb4574ce9 arm64: kvm: report original PAR_EL1 upon panic
If we call __kvm_hyp_panic while a guest context is active, we call
__restore_sysregs before acquiring the system register values for the
panic, in the process throwing away the PAR_EL1 value at the point of
the panic.

This patch modifies __kvm_hyp_panic to stash the PAR_EL1 value prior to
restoring host register values, enabling us to report the original
values at the point of the panic.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2015-11-24 18:20:58 +01:00
..
debug.c KVM: arm64: add trace points for guest_debug debug 2015-07-21 12:50:43 +01:00
emulate.c arm64: kvm: move to ESR_ELx macros 2015-01-15 12:24:25 +00:00
guest.c arm64/kvm: Add generic v8 KVM target 2015-08-12 11:28:22 +01:00
handle_exit.c KVM: arm64: enable KVM_CAP_SET_GUEST_DEBUG 2015-07-21 12:50:43 +01:00
hyp-init.S arm64: KVM: use ID map with increased VA range if required 2015-03-23 11:35:29 +00:00
hyp.S arm64: kvm: report original PAR_EL1 upon panic 2015-11-24 18:20:58 +01:00
inject_fault.c arm64: KVM: Fix AArch32 to AArch64 register mapping 2015-11-24 17:58:08 +01:00
Kconfig s390: A bunch of fixes and optimizations for interrupt and time 2015-11-05 16:26:26 -08:00
Makefile KVM: arm: introduce kvm_arm_init/setup/clear_debug 2015-07-21 12:47:08 +01:00
regmap.c arm64: KVM: 32bit GP register access 2013-06-12 16:42:14 +01:00
reset.c arm64/kvm: Make use of the system wide safe values 2015-10-21 15:35:59 +01:00
sys_regs_generic_v8.c arm64/kvm: Add generic v8 KVM target 2015-08-12 11:28:22 +01:00
sys_regs.c arm64/kvm: Make use of the system wide safe values 2015-10-21 15:35:59 +01:00
sys_regs.h KVM: arm64: introduce vcpu->arch.debug_ptr 2015-07-21 12:50:25 +01:00
trace.h KVM: arm64: add trace points for guest_debug debug 2015-07-21 12:50:43 +01:00
vgic-v2-switch.S arm/arm64: KVM: vgic: Do not save GICH_HCR / ICH_HCR_EL2 2015-06-17 09:59:55 +01:00
vgic-v3-switch.S arm/arm64: KVM: vgic: Do not save GICH_HCR / ICH_HCR_EL2 2015-06-17 09:59:55 +01:00