summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorChristoffer Dall2015-08-30 15:55:22 +0200
committerChristoffer Dall2015-10-22 23:01:47 +0200
commitb5905dc12ed4254f7e0aac62bab48f002181f639 (patch)
tree7da7842ddd6102d57cef1f9e651bd84295b5cf68 /virt
parentKVM: arm/arm64: Fix vGIC documentation (diff)
downloadkernel-qcow2-linux-b5905dc12ed4254f7e0aac62bab48f002181f639.tar.gz
kernel-qcow2-linux-b5905dc12ed4254f7e0aac62bab48f002181f639.tar.xz
kernel-qcow2-linux-b5905dc12ed4254f7e0aac62bab48f002181f639.zip
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions