OpenCloudOS-Kernel/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
..
Kconfig s390: A bunch of fixes and optimizations for interrupt and time 2015-11-05 16:26:26 -08:00
Makefile
debug.c
emulate.c
guest.c
handle_exit.c
hyp-init.S
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
regmap.c
reset.c
sys_regs.c
sys_regs.h
sys_regs_generic_v8.c
trace.h
vgic-v2-switch.S
vgic-v3-switch.S