KVM: arm64: Record number of signal exits as a vCPU stat
authorOliver Upton <oupton@google.com>
Mon, 2 Aug 2021 19:28:07 +0000 (19:28 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 19 Aug 2021 10:19:41 +0000 (11:19 +0100)
commitfe5161d2c39b8c2801f0e786631460c6e8a1cae4
treec119bf6993ab80db21ca5eb0172d1210ddd2f3d0
parentc500bee1c5b2f1d59b1081ac879d73268ab0ff17
KVM: arm64: Record number of signal exits as a vCPU stat

Most other architectures that implement KVM record a statistic
indicating the number of times a vCPU has exited due to a pending
signal. Add support for that stat to arm64.

Reviewed-by: Jing Zhang <jingzhangos@google.com>
Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210802192809.1851010-2-oupton@google.com
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/guest.c