]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: GICv2: Extract LR folding primitive
authorMarc Zyngier <maz@kernel.org>
Thu, 20 Nov 2025 17:25:07 +0000 (17:25 +0000)
committerOliver Upton <oupton@kernel.org>
Mon, 24 Nov 2025 22:29:12 +0000 (14:29 -0800)
commit3aa9a50c2007e4090b0b5b3c79aed6f63b5e6c49
tree19081e06c87b731799d023be4ce3eb1200d6ee40
parenta00c88ac1f90992e618cf4737e2d1c551c13aed6
KVM: arm64: GICv2: Extract LR folding primitive

As we are going to need to handle deactivation for interrupts that
are not in the LRs, split vgic_v2_fold_lr_state() into a helper
that deals with a single interrupt, and the function that loops
over the used LRs.

Tested-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Link: https://msgid.link/20251120172540.2267180-18-maz@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
arch/arm64/kvm/vgic/vgic-v2.c