Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kvm/
H A 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()
H A Dx86.h330 extern bool enable_pmu;
H A Dcpuid.c1017 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()
H A Dpmu.c719 if (!vcpu->kvm->arch.enable_pmu) in kvm_pmu_refresh()
H A 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()
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()
/openbmc/linux/arch/x86/kvm/svm/
H A Dpmu.c44 if (!vcpu->kvm->arch.enable_pmu) in get_gp_pmc_amd()
H A Dsvm.c5162 if (enable_pmu) { in svm_set_cpu_caps()
5332 if (!enable_pmu) in svm_hardware_setup()
/openbmc/qemu/target/i386/
H A Dcpu.c6552 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),
H A Dcpu.h2133 bool enable_pmu; member
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h1363 bool enable_pmu; member
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c3857 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()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c7856 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()
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D0004-mmal_20.patch10035 + enable_pmu();\
10552 + .global enable_pmu @ export this function for the linker
10554 + /* void enable_pmu(void) */
10555 +enable_pmu:
10794 +void enable_pmu(void);