KVM: arm64: vgic: Use atomics to count LPIs
authorOliver Upton <oliver.upton@linux.dev>
Wed, 21 Feb 2024 05:42:49 +0000 (05:42 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Fri, 23 Feb 2024 21:46:02 +0000 (21:46 +0000)
commit05f4d4f5d462618150a199bf26fd442b54b5d41a
treedbe257e3dd1c896eed33649aea1101b46cf42abf
parent9880835af78e05eb8e1f2f330c11840d96f815a3
KVM: arm64: vgic: Use atomics to count LPIs

Switch to using atomics for LPI accounting, allowing vgic_irq references
to be dropped in parallel.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240221054253.3848076-7-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/vgic/vgic-debug.c
arch/arm64/kvm/vgic/vgic-its.c
arch/arm64/kvm/vgic/vgic.c
include/kvm/arm_vgic.h