]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
KVM: arm/arm64: GICv4: Propagate property updates to VLPIs
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Oct 2017 14:28:45 +0000 (15:28 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 10 Nov 2017 08:29:38 +0000 (09:29 +0100)
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 <cdall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic/vgic-its.c

index 78d11aed1e17f9dd1f7a4e948398ed11fc6076a2..4768a0e21cc5af2e05e5ce2ef193a2f5ca3ed092 100644 (file)
@@ -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;
 }