From: Marc Zyngier Date: Fri, 27 Oct 2017 14:28:45 +0000 (+0100) Subject: KVM: arm/arm64: GICv4: Propagate property updates to VLPIs X-Git-Tag: v4.15-rc1~12^2~3^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af340f992c56f824eb9b2cab6dce8d46ec31c98c;p=thirdparty%2Fkernel%2Flinux.git KVM: arm/arm64: GICv4: Propagate property updates to VLPIs Upon updating a property, we propagate it all the way to the physical ITS, and ask for an INV command to be executed there. Acked-by: Christoffer Dall Signed-off-by: Marc Zyngier Signed-off-by: Christoffer Dall --- diff --git a/virt/kvm/arm/vgic/vgic-its.c b/virt/kvm/arm/vgic/vgic-its.c index 78d11aed1e17f..4768a0e21cc5a 100644 --- a/virt/kvm/arm/vgic/vgic-its.c +++ b/virt/kvm/arm/vgic/vgic-its.c @@ -297,6 +297,9 @@ static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq, spin_unlock_irqrestore(&irq->irq_lock, flags); } + if (irq->hw) + return its_prop_update_vlpi(irq->host_irq, prop, true); + return 0; }