]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: vgic-v5: Drop defensive checks from vgic_v5_ppi_queue_irq_unlock()
authorMarc Zyngier <maz@kernel.org>
Wed, 20 May 2026 09:19:38 +0000 (10:19 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 22 May 2026 09:04:49 +0000 (10:04 +0100)
commit319c1ceef7d236e80f8a8e048cda1f986457d834
treeb43cf01da44f71dc6125b0aa40716f8a0de42c12
parent849fbc130627663b4f7c8c4468025e4babc7a65a
KVM: arm64: vgic-v5: Drop defensive checks from vgic_v5_ppi_queue_irq_unlock()

vgic_v5_ppi_queue_irq_unlock() performs a bunch of sanity checks
that are pretty pointless as there is no code path that can
result in these invariants to be violated. And if they are, a nice
crash is just as instructive than a warning.

Drop what is evidently debug code and simplify the whole thing.

Link: https://lore.kernel.org/r/20260520091949.542365-8-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/vgic/vgic-v5.c