KVM: arm/arm64: GICv4: Handle INT command applied to a VLPI
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Oct 2017 14:28:40 +0000 (15:28 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 10 Nov 2017 08:29:36 +0000 (09:29 +0100)
commit1b7fe468b0ca6a4b47a447cf583455e445bf0246
tree47ace00a5e9782ca0e755092581f91af084ae9e3
parent196b136498b35f1cd787b84465f235e69dbc757c
KVM: arm/arm64: GICv4: Handle INT command applied to a VLPI

If the guest issues an INT command targetting a VLPI, let's
call into the irq_set_irqchip_state() helper to make it pending
on the physical side.

This works just as well if userspace decides to inject an interrupt
using the normal userspace API...

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