]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: vgic-v5: Add for_each_visible_v5_ppi() iterator
authorMarc Zyngier <maz@kernel.org>
Wed, 20 May 2026 09:19:32 +0000 (10:19 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 22 May 2026 09:04:49 +0000 (10:04 +0100)
commit09a4b56100f8667f192f8a6aa4eae190331066c9
tree6a605f10fc61a028e7cee8f71fe522d4dd556954
parent7fd2df204f342fc17d1a0bfcd474b24232fb0f32
KVM: arm64: vgic-v5: Add for_each_visible_v5_ppi() iterator

We have multiple instances of iterators walking the vgic_ppi_mask
mask, and the way it is written has a tendency to make one's eyes
bleed.

Factor it as a helper and use that across the code base.

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