Home
last modified time | relevance | path

Searched refs:kvm_pmu_ops (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/arch/x86/kvm/
Dpmu.c78 static struct kvm_pmu_ops kvm_pmu_ops __read_mostly;
82 *(((struct kvm_pmu_ops *)0)->func));
86 void kvm_pmu_ops_update(const struct kvm_pmu_ops *pmu_ops) in kvm_pmu_ops_update()
88 memcpy(&kvm_pmu_ops, pmu_ops, sizeof(kvm_pmu_ops)); in kvm_pmu_ops_update()
91 static_call_update(kvm_x86_pmu_##func, kvm_pmu_ops.func); in kvm_pmu_ops_update()
93 WARN_ON(!kvm_pmu_ops.func); __KVM_X86_PMU_OP(func) in kvm_pmu_ops_update()
373 u64 event_select = eventsel & kvm_pmu_ops.EVENTSEL_EVENT; in filter_contains_match()
542 if (!kvm_pmu_ops.check_rdpmc_early) in kvm_pmu_check_rdpmc_early()
905 u64 mask = kvm_pmu_ops.EVENTSEL_EVENT | in is_masked_filter_valid()
930 if (filter->events[i] & ~(kvm_pmu_ops.EVENTSEL_EVENT | in convert_to_masked_filter()
Dpmu.h31 struct kvm_pmu_ops { struct
50 void kvm_pmu_ops_update(const struct kvm_pmu_ops *pmu_ops); argument
183 static inline void kvm_init_pmu_capability(const struct kvm_pmu_ops *pmu_ops) in kvm_init_pmu_capability()
279 extern struct kvm_pmu_ops intel_pmu_ops;
280 extern struct kvm_pmu_ops amd_pmu_ops;
/linux-6.12.1/arch/x86/kvm/svm/
Dpmu.c230 struct kvm_pmu_ops amd_pmu_ops __initdata = {
/linux-6.12.1/arch/x86/kvm/vmx/
Dpmu_intel.c728 struct kvm_pmu_ops intel_pmu_ops __initdata = {
/linux-6.12.1/arch/x86/include/asm/
Dkvm_host.h602 struct kvm_pmu_ops;
1864 struct kvm_pmu_ops *pmu_ops;