Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/kvm/
A Dpmu.h172 enable_pmu = false; in kvm_init_pmu_capability()
174 if (enable_pmu) { in kvm_init_pmu_capability()
183 enable_pmu = false; in kvm_init_pmu_capability()
186 if (!enable_pmu) { in kvm_init_pmu_capability()
A Dx86.h316 extern bool enable_pmu;
A Dx86.c189 bool __read_mostly enable_pmu = true; variable
190 EXPORT_SYMBOL_GPL(enable_pmu);
191 module_param(enable_pmu, bool, 0444);
4542 r = enable_pmu ? KVM_CAP_PMU_VALID_MASK : 0; in kvm_vm_ioctl_check_extension()
6347 if (!enable_pmu || (cap->args[0] & ~KVM_CAP_PMU_VALID_MASK)) in kvm_vm_ioctl_enable_cap()
6352 kvm->arch.enable_pmu = !(cap->args[0] & KVM_PMU_CAP_DISABLE); in kvm_vm_ioctl_enable_cap()
7110 if (enable_pmu) { in kvm_init_msr_list()
12213 kvm->arch.enable_pmu = enable_pmu; in kvm_arch_init_vm()
/linux-6.3-rc2/arch/x86/kvm/svm/
A Dpmu.c44 if (!vcpu->kvm->arch.enable_pmu) in get_gp_pmc_amd()
A Dsvm.c4915 if (enable_pmu && boot_cpu_has(X86_FEATURE_PERFCTR_CORE)) in svm_set_cpu_caps()
5063 if (!enable_pmu) in svm_hardware_setup()
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dpmu_intel.c535 if (!entry || !vcpu->kvm->arch.enable_pmu) in intel_pmu_refresh()
A Dvmx.c7773 if (!enable_pmu) in vmx_get_perf_capabilities()
7812 if (!enable_pmu) in vmx_set_cpu_caps()
8506 if (!enable_ept || !enable_pmu || !cpu_has_vmx_intel_pt()) in hardware_setup()
/linux-6.3-rc2/arch/x86/include/asm/
A Dkvm_host.h1362 bool enable_pmu; member

Completed in 56 milliseconds