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

As we are going to need to handle deactivation for interrupts that
are not in the LRs, split vgic_v3_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-14-maz@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
arch/arm64/kvm/vgic/vgic-v3.c