]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm/arm64: GICv4: Add doorbell interrupt handling
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Oct 2017 14:28:48 +0000 (15:28 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 10 Nov 2017 08:42:59 +0000 (09:42 +0100)
commitbdb2d2ccac65dfee0db8fa4a8247df788a942439
tree66518ebbcad8614c4d36d29ac10b0b4dd52590ed
parentc971968071d3ec5e8605f9da9e867441e2edf000
KVM: arm/arm64: GICv4: Add doorbell interrupt handling

When a vPE is not running, a VLPI being made pending results in a
doorbell interrupt being delivered. Let's handle this interrupt
and update the pending_last flag that indicates that VLPIs are
pending. The corresponding vcpu is also kicked into action.

Special care is taken to prevent the doorbell from being enabled
at request time (this is controlled separately), and to make
the disabling on the interrupt non-lazy.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic/vgic-v4.c