linux/arch/arm/include
Christoffer Dall b5905dc12e arm/arm64: KVM: Improve kvm_exit tracepoint
The ARM architecture only saves the exit class to the HSR (ESR_EL2 for
arm64) on synchronous exceptions, not on asynchronous exceptions like an
IRQ.  However, we only report the exception class on kvm_exit, which is
confusing because an IRQ looks like it exited at some PC with the same
reason as the previous exit.  Add a lookup table for the exception index
and prepend the kvm_exit tracepoint text with the exception type to
clarify this situation.

Also resolve the exception class (EC) to a human-friendly text version
so the trace output becomes immediately usable for debugging this code.

Cc: Wei Huang <wei@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2015-10-22 23:01:47 +02:00
..
asm arm/arm64: KVM: Improve kvm_exit tracepoint 2015-10-22 23:01:47 +02:00
debug The i.MX SoC changes for 4.3: 2015-08-18 13:10:05 -07:00
uapi/asm This mostly includes the PPC changes for 4.1, which this time cover 2015-04-26 13:06:22 -07:00