arm64: KVM: Add a new feature bit for PMUv3
authorShannon Zhao <shannon.zhao@linaro.org>
Mon, 11 Jan 2016 14:46:15 +0000 (22:46 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:21 +0000 (18:34 +0000)
commit808e738142e7086ef793ebf9797099c392894e65
tree38c6f338451aca94c326fe5991fbf7fa13aeccc7
parent5f0a714a2b63c25ffba5d832773f3ca4f0d02e21
arm64: KVM: Add a new feature bit for PMUv3

To support guest PMUv3, use one bit of the VCPU INIT feature array.
Initialize the PMU when initialzing the vcpu with that bit and PMU
overflow interrupt set.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Documentation/virtual/kvm/api.txt
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/uapi/asm/kvm.h
arch/arm64/kvm/reset.c
include/kvm/arm_pmu.h
include/uapi/linux/kvm.h
virt/kvm/arm/pmu.c