KVM: arm/arm64: Report PMU overflow interrupts to userspace irqchip
authorChristoffer Dall <christoffer.dall@linaro.org>
Wed, 1 Feb 2017 11:51:52 +0000 (12:51 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:39 +0000 (07:49 -0700)
commit3dbbdf78636e66094d82c4df496c54ff6ae46e31
tree968dce0cdf805eda9e658abfc6186748666c5f63
parentd9e1397783765a275c3a7930250dcdb7e9480d7d
KVM: arm/arm64: Report PMU overflow interrupts to userspace irqchip

When not using an in-kernel VGIC, but instead emulating an interrupt
controller in userspace, we should report the PMU overflow status to
that userspace interrupt controller using the KVM_CAP_ARM_USER_IRQ
feature.

Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c
include/kvm/arm_pmu.h
virt/kvm/arm/arch_timer.c
virt/kvm/arm/pmu.c