summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic.h
diff options
context:
space:
mode:
authorMarc Zyngier2017-10-27 16:28:49 +0200
committerChristoffer Dall2017-11-10 09:43:22 +0100
commitdf9ba95993b9d59e077aa4613f7a4edd20a4064c (patch)
tree8713bc9daf8417cd984eea21872094fee01a8102 /virt/kvm/arm/vgic/vgic.h
parentKVM: arm/arm64: GICv4: Add doorbell interrupt handling (diff)
downloadkernel-qcow2-linux-df9ba95993b9d59e077aa4613f7a4edd20a4064c.tar.gz
kernel-qcow2-linux-df9ba95993b9d59e077aa4613f7a4edd20a4064c.tar.xz
kernel-qcow2-linux-df9ba95993b9d59e077aa4613f7a4edd20a4064c.zip
KVM: arm/arm64: GICv4: Use the doorbell interrupt as an unblocking source
The doorbell interrupt is only useful if the vcpu is blocked on WFI. In all other cases, recieving a doorbell interrupt is just a waste of cycles. So let's only enable the doorbell if a vcpu is getting blocked, and disable it when it is unblocked. This is very similar to what we're doing for the background timer. Reviewed-by: Christoffer Dall <cdall@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>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic.h')
0 files changed, 0 insertions, 0 deletions