]> Gentwo Git Trees - linux/.git/commit
KVM: arm64: vgic-v3: Use bare refcount for VGIC LPIs
authorOliver Upton <oliver.upton@linux.dev>
Fri, 5 Sep 2025 10:05:27 +0000 (03:05 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 10 Sep 2025 09:56:19 +0000 (02:56 -0700)
commit3a08a6ca7c373198c84e2a8c025c395ee966ff8a
tree1b3cf172c6e039a1479dbacd3bf10c30b7dd55dd
parent7d6ca84aa985fc940f5544ed7feedb1b4a82b96b
KVM: arm64: vgic-v3: Use bare refcount for VGIC LPIs

KVM's use of krefs to manage LPIs isn't adding much, especially
considering vgic_irq_release() is a noop due to the lack of sufficient
context.

Switch to using a regular refcount in anticipation of adding a
meaningful release concept for LPIs.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250905100531.282980-3-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-init.c
arch/arm64/kvm/vgic/vgic-its.c
arch/arm64/kvm/vgic/vgic-v4.c
arch/arm64/kvm/vgic/vgic.c
arch/arm64/kvm/vgic/vgic.h
include/kvm/arm_vgic.h