]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b343265aaa7806f37cdebec11021093b4cb6aa6
treeaa53d740e25468b943b0d89d0b51cd3a35d9ca75
parent0a188f2b351398d27a7077bffeb30b603559ccdf
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