KVM: arm: Add trace name for ARM_NISV
authorAlexander Graf <graf@amazon.com>
Thu, 30 Jul 2020 09:44:41 +0000 (11:44 +0200)
committerMarc Zyngier <maz@kernel.org>
Thu, 30 Jul 2020 13:54:19 +0000 (14:54 +0100)
commit1ccf2fe35c30f79102ad129c5aa71059daaaed7f
tree8732e4f6e1fbf87c6a5491524f712c9eabe05abb
parenta59a2edbbba7397fede86e40a3da17e5beebf98b
KVM: arm: Add trace name for ARM_NISV

Commit c726200dd106d ("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: c726200dd106d ("KVM: arm/arm64: Allow reporting non-ISV data aborts to userspace")
Signed-off-by: Alexander Graf <graf@amazon.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200730094441.18231-1-graf@amazon.com
include/trace/events/kvm.h