KVM: arm64: vgic: Free LPI vgic_irq structs in an RCU-safe manner
authorOliver Upton <oliver.upton@linux.dev>
Wed, 21 Feb 2024 05:42:50 +0000 (05:42 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Fri, 23 Feb 2024 21:46:02 +0000 (21:46 +0000)
commita5c7f011cb584a4713b3defc533ed55e237210a4
tree56ea312c5bb35e820cdd8fa1fc76abdc4d36be8c
parent05f4d4f5d462618150a199bf26fd442b54b5d41a
KVM: arm64: vgic: Free LPI vgic_irq structs in an RCU-safe manner

Free the vgic_irq structs in an RCU-safe manner to allow reads of the
LPI configuration data to happen in parallel with the release of LPIs.

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