Searched refs:kvm_pmu_cap (Results 1 – 6 of 6) sorted by relevance
161 extern struct x86_pmu_capability kvm_pmu_cap;167 perf_get_x86_pmu_capability(&kvm_pmu_cap); in kvm_init_pmu_capability()173 if ((is_intel && !kvm_pmu_cap.version) || !kvm_pmu_cap.num_counters_gp) in kvm_init_pmu_capability()177 memset(&kvm_pmu_cap, 0, sizeof(kvm_pmu_cap)); in kvm_init_pmu_capability()181 kvm_pmu_cap.version = min(kvm_pmu_cap.version, 2); in kvm_init_pmu_capability()182 kvm_pmu_cap.num_counters_fixed = min(kvm_pmu_cap.num_counters_fixed, in kvm_init_pmu_capability()
936 eax.split.version_id = kvm_pmu_cap.version; in __do_cpuid_func()937 eax.split.num_counters = kvm_pmu_cap.num_counters_gp; in __do_cpuid_func()938 eax.split.bit_width = kvm_pmu_cap.bit_width_gp; in __do_cpuid_func()939 eax.split.mask_length = kvm_pmu_cap.events_mask_len; in __do_cpuid_func()940 edx.split.num_counters_fixed = kvm_pmu_cap.num_counters_fixed; in __do_cpuid_func()941 edx.split.bit_width_fixed = kvm_pmu_cap.bit_width_fixed; in __do_cpuid_func()943 if (kvm_pmu_cap.version) in __do_cpuid_func()949 entry->ebx = kvm_pmu_cap.events_mask; in __do_cpuid_func()
28 struct x86_pmu_capability __read_mostly kvm_pmu_cap; variable29 EXPORT_SYMBOL_GPL(kvm_pmu_cap);
7047 min(KVM_INTEL_PMC_MAX_GENERIC, kvm_pmu_cap.num_counters_gp)) in kvm_init_msr_list()7052 min(KVM_INTEL_PMC_MAX_GENERIC, kvm_pmu_cap.num_counters_gp)) in kvm_init_msr_list()
540 kvm_pmu_cap.num_counters_gp); in intel_pmu_refresh()542 kvm_pmu_cap.bit_width_gp); in intel_pmu_refresh()545 kvm_pmu_cap.events_mask_len); in intel_pmu_refresh()555 (size_t)kvm_pmu_cap.num_counters_fixed); in intel_pmu_refresh()557 kvm_pmu_cap.bit_width_fixed); in intel_pmu_refresh()
395 return boot_cpu_has(X86_FEATURE_PEBS) && kvm_pmu_cap.pebs_ept; in vmx_pebs_supported()