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

Split vgic_v2_populate_lr() into two helpers, so that we have another
primitive that computes the LR from a vgic_irq, but doesn't update
anything in the shadow structure.

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-19-maz@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
arch/arm64/kvm/vgic/vgic-v2.c