[PATCH] arm64: kvm: report original PAR_EL1 upon panic

Christoffer Dall christoffer.dall at linaro.org
Tue Nov 24 09:20:37 PST 2015

On Mon, Nov 16, 2015 at 01:58:29PM +0000, Mark Rutland wrote:
> 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.
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Cc: Marc Zyngier <marc.zyngier at arm.com>
> Cc: Christoffer Dall <christoffer.dall at linaro.org>

Thanks, applied.


More information about the linux-arm-kernel mailing list