KVM: arm64: Allow creating the PMU without the in-kernel GIC
authorChristoffer Dall <cdall@linaro.org>
Tue, 2 May 2017 11:41:02 +0000 (13:41 +0200)
committerChristoffer Dall <cdall@linaro.org>
Thu, 8 Jun 2017 14:59:44 +0000 (16:59 +0200)
commita2befacf50940017e0de8461c4b924a929c4edc5
treeaa53d740e25468b943b0d89d0b51cd3a35d9ca75
parent1b6502e5bc5ef16179bcd812dfa43d8bbb5689d4
KVM: arm64: Allow creating the PMU without the in-kernel GIC

Since we got support for devices in userspace which allows reporting the
PMU overflow output status to userspace, we should actually allow
creating the PMU on systems without an in-kernel irqchip, which in turn
requires us to slightly clarify error codes for the ABI and move things
around for the initialization phase.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Documentation/virtual/kvm/devices/vcpu.txt
include/kvm/arm_pmu.h
virt/kvm/arm/arm.c
virt/kvm/arm/pmu.c