Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

KVM: arm64: Make vgic_target_oracle() globally available

Make the internal crystal ball global, so that implementation-specific
code can use it.

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-24-maz@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>

authored by

Marc Zyngier and committed by
Oliver Upton
76b2eda6 f04b8a5a

+2 -1
+1 -1
arch/arm64/kvm/vgic/vgic.c
··· 237 237 * 238 238 * Requires the IRQ lock to be held. 239 239 */ 240 - static struct kvm_vcpu *vgic_target_oracle(struct vgic_irq *irq) 240 + struct kvm_vcpu *vgic_target_oracle(struct vgic_irq *irq) 241 241 { 242 242 lockdep_assert_held(&irq->irq_lock); 243 243
+1
arch/arm64/kvm/vgic/vgic.h
··· 261 261 struct vgic_irq *vgic_get_irq(struct kvm *kvm, u32 intid); 262 262 struct vgic_irq *vgic_get_vcpu_irq(struct kvm_vcpu *vcpu, u32 intid); 263 263 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq); 264 + struct kvm_vcpu *vgic_target_oracle(struct vgic_irq *irq); 264 265 bool vgic_get_phys_line_level(struct vgic_irq *irq); 265 266 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending); 266 267 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active);