diff options
author | Marc Zyngier <maz@kernel.org> | 2022-02-08 17:54:41 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-02-08 17:54:41 +0000 |
commit | 00e6dae00e3dcb4dd54e1d62e295fd997a0cec28 (patch) | |
tree | d4a91abad3c1e46f5fa40692371834c0ec564156 /include/kvm | |
parent | c30185412daf353e6bcc61cd50ee7b7eadf42d1e (diff) | |
parent | 583cda1b0e7d5d49db5fc15db623166310e36bf6 (diff) | |
download | lwn-00e6dae00e3dcb4dd54e1d62e295fd997a0cec28.tar.gz lwn-00e6dae00e3dcb4dd54e1d62e295fd997a0cec28.zip |
Merge branch kvm-arm64/pmu-bl into kvmarm-master/next
* kvm-arm64/pmu-bl:
: .
: Improve PMU support on heterogeneous systems, courtesy of Alexandru Elisei
: .
KVM: arm64: Refuse to run VCPU if the PMU doesn't match the physical CPU
KVM: arm64: Add KVM_ARM_VCPU_PMU_V3_SET_PMU attribute
KVM: arm64: Keep a list of probed PMUs
KVM: arm64: Keep a per-VM pointer to the default PMU
perf: Fix wrong name in comment for struct perf_cpu_context
KVM: arm64: Do not change the PMU event filter after a VCPU has run
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/kvm')
-rw-r--r-- | include/kvm/arm_pmu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/kvm/arm_pmu.h b/include/kvm/arm_pmu.h index f9ed4c171d7b..20193416d214 100644 --- a/include/kvm/arm_pmu.h +++ b/include/kvm/arm_pmu.h @@ -29,6 +29,11 @@ struct kvm_pmu { struct irq_work overflow_work; }; +struct arm_pmu_entry { + struct list_head entry; + struct arm_pmu *arm_pmu; +}; + DECLARE_STATIC_KEY_FALSE(kvm_arm_pmu_available); static __always_inline bool kvm_arm_support_pmu_v3(void) |