diff options
author | Shannon Zhao <shannon.zhao@linaro.org> | 2016-01-11 14:35:32 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-29 19:34:21 +0100 |
commit | bb0c70bcca6ba3c84afc2da7426f3b923bbe6825 (patch) | |
tree | d9be51e3943387e1d402d84040541e51ee3a2525 /drivers | |
parent | arm64: KVM: Introduce per-vcpu kvm device controls (diff) | |
download | linux-bb0c70bcca6ba3c84afc2da7426f3b923bbe6825.tar.xz linux-bb0c70bcca6ba3c84afc2da7426f3b923bbe6825.zip |
arm64: KVM: Add a new vcpu device control group for PMUv3
To configure the virtual PMUv3 overflow interrupt number, we use the
vcpu kvm_device ioctl, encapsulating the KVM_ARM_VCPU_PMU_V3_IRQ
attribute within the KVM_ARM_VCPU_PMU_V3_CTRL group.
After configuring the PMUv3, call the vcpu ioctl with attribute
KVM_ARM_VCPU_PMU_V3_INIT to initialize the PMUv3.
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions