Searched refs:enable_pmu (Results 1 – 13 of 13) sorted by relevance
175 enable_pmu = false; in kvm_init_pmu_capability()177 if (enable_pmu) { in kvm_init_pmu_capability()188 enable_pmu = false; in kvm_init_pmu_capability()190 enable_pmu = false; in kvm_init_pmu_capability()193 if (!enable_pmu) { in kvm_init_pmu_capability()
330 extern bool enable_pmu;
1017 if (!enable_pmu || !static_cpu_has(X86_FEATURE_ARCH_PERFMON)) { in __do_cpuid_func()1309 if (!enable_pmu || !kvm_cpu_cap_has(X86_FEATURE_PERFMON_V2)) { in __do_cpuid_func()
719 if (!vcpu->kvm->arch.enable_pmu) in kvm_pmu_refresh()
192 bool __read_mostly enable_pmu = true; variable193 EXPORT_SYMBOL_GPL(enable_pmu);194 module_param(enable_pmu, bool, 0444);4631 r = enable_pmu ? KVM_CAP_PMU_VALID_MASK : 0; in kvm_vm_ioctl_check_extension()6447 if (!enable_pmu || (cap->args[0] & ~KVM_CAP_PMU_VALID_MASK)) in kvm_vm_ioctl_enable_cap()6452 kvm->arch.enable_pmu = !(cap->args[0] & KVM_PMU_CAP_DISABLE); in kvm_vm_ioctl_enable_cap()7228 if (enable_pmu) { in kvm_init_msr_lists()12366 kvm->arch.enable_pmu = enable_pmu; in kvm_arch_init_vm()
44 if (!vcpu->kvm->arch.enable_pmu) in get_gp_pmc_amd()
5162 if (enable_pmu) { in svm_set_cpu_caps()5332 if (!enable_pmu) in svm_hardware_setup()
6552 if (!cpu->enable_pmu) { in cpu_x86_cpuid()6689 if (cpu->enable_pmu) { in cpu_x86_cpuid()6729 if (cpu->enable_pmu && (env->features[FEAT_7_0_EDX] & CPUID_7_0_EDX_ARCH_LBR)) { in cpu_x86_cpuid()6772 if (kvm_enabled() && cpu->enable_pmu && in cpu_x86_cpuid()6779 } else if (count == 0xf && cpu->enable_pmu in cpu_x86_cpuid()7108 if (kvm_enabled() && cpu->enable_pmu && in cpu_x86_cpuid()7812 if (!cpu->enable_pmu) { in x86_cpu_realizefn()8428 DEFINE_PROP_BOOL("pmu", X86CPU, enable_pmu, false),
2133 bool enable_pmu; member
1363 bool enable_pmu; member
3857 if (has_msr_perf_capabs && cpu->enable_pmu) { in kvm_init_msrs()4159 if (kvm_enabled() && cpu->enable_pmu && in kvm_put_msrs()4577 if (kvm_enabled() && cpu->enable_pmu && in kvm_get_msrs()
7856 if (!enable_pmu) in vmx_get_perf_capabilities()7917 if (!enable_pmu) in vmx_set_cpu_caps()8626 if (!enable_ept || !enable_pmu || !cpu_has_vmx_intel_pt()) in hardware_setup()
10035 + enable_pmu();\10552 + .global enable_pmu @ export this function for the linker10554 + /* void enable_pmu(void) */10555 +enable_pmu:10794 +void enable_pmu(void);