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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=af340f992c56f824eb9b2cab6dce8d46ec31c98c;p=openwrt%2Fstaging%2Fblogic.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 78d11aed1e17..4768a0e21cc5 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; }