Skip to content

Commit 1ccf2fe

Browse files
agrafMarc Zyngier
authored andcommitted
KVM: arm: Add trace name for ARM_NISV
Commit c726200 ("KVM: arm/arm64: Allow reporting non-ISV data aborts to userspace") introduced a mechanism to deflect MMIO traffic the kernel can not handle to user space. For that, it introduced a new exit reason. However, it did not update the trace point array that gives human readable names to these exit reasons inside the trace log. Let's fix that up after the fact, so that trace logs are pretty even when we get user space MMIO traps on ARM. Fixes: c726200 ("KVM: arm/arm64: Allow reporting non-ISV data aborts to userspace") Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent a59a2ed commit 1ccf2fe

File tree

1 file changed

+1
-1
lines changed
  • include/trace/events

1 file changed

+1
-1
lines changed

include/trace/events/kvm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
ERSN(NMI), ERSN(INTERNAL_ERROR), ERSN(OSI), ERSN(PAPR_HCALL), \
1818
ERSN(S390_UCONTROL), ERSN(WATCHDOG), ERSN(S390_TSCH), ERSN(EPR),\
1919
ERSN(SYSTEM_EVENT), ERSN(S390_STSI), ERSN(IOAPIC_EOI), \
20-
ERSN(HYPERV)
20+
ERSN(HYPERV), ERSN(ARM_NISV)
2121

2222
TRACE_EVENT(kvm_userspace_exit,
2323
TP_PROTO(__u32 reason, int errno),

0 commit comments

Comments
 (0)