]> Gentwo Git Trees - linux/.git/commit
KVM: arm64: vgic-v3: Indicate vgic_put_irq() may take LPI xarray lock
authorOliver Upton <oliver.upton@linux.dev>
Fri, 5 Sep 2025 10:05:31 +0000 (03:05 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 10 Sep 2025 09:56:20 +0000 (02:56 -0700)
commit13bba09beb5ffa1a4f307c48576c09d5c69f4c31
tree665acd96b2f95323be585880c7409665c3be2f8a
parent982f31bbb5b0adc79a9126c0f970e7801c6e8342
KVM: arm64: vgic-v3: Indicate vgic_put_irq() may take LPI xarray lock

The release path on LPIs is quite rare, meaning it can be difficult to
find lock ordering bugs on the LPI xarray's spinlock. Tell lockdep that
vgic_put_irq() might acquire the xa_lock to make unsafe patterns more
obvious.

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