Home
last modified time | relevance | path

Searched refs:enable_pmu (Results 1 – 9 of 9) sorted by relevance

/arch/x86/kvm/
Dpmu.h175 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()
Dx86.h330 extern bool enable_pmu;
Dcpuid.c996 if (!enable_pmu || !static_cpu_has(X86_FEATURE_ARCH_PERFMON)) { in __do_cpuid_func()
1288 if (!enable_pmu || !kvm_cpu_cap_has(X86_FEATURE_PERFMON_V2)) { in __do_cpuid_func()
Dpmu.c719 if (!vcpu->kvm->arch.enable_pmu) in kvm_pmu_refresh()
Dx86.c192 bool __read_mostly enable_pmu = true; variable
193 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()
6445 if (!enable_pmu || (cap->args[0] & ~KVM_CAP_PMU_VALID_MASK)) in kvm_vm_ioctl_enable_cap()
6450 kvm->arch.enable_pmu = !(cap->args[0] & KVM_PMU_CAP_DISABLE); in kvm_vm_ioctl_enable_cap()
7226 if (enable_pmu) { in kvm_init_msr_lists()
12364 kvm->arch.enable_pmu = enable_pmu; in kvm_arch_init_vm()
/arch/x86/kvm/svm/
Dpmu.c44 if (!vcpu->kvm->arch.enable_pmu) in get_gp_pmc_amd()
Dsvm.c5150 if (enable_pmu) { in svm_set_cpu_caps()
5317 if (!enable_pmu) in svm_hardware_setup()
/arch/x86/include/asm/
Dkvm_host.h1363 bool enable_pmu; member
/arch/x86/kvm/vmx/
Dvmx.c7854 if (!enable_pmu) in vmx_get_perf_capabilities()
7915 if (!enable_pmu) in vmx_set_cpu_caps()
8624 if (!enable_ept || !enable_pmu || !cpu_has_vmx_intel_pt()) in hardware_setup()