Home
last modified time | relevance | path

Searched refs:get_msr (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/tools/power/x86/turbostat/
Dturbostat.c493 int get_msr(int cpu, off_t offset, unsigned long long *msr) in get_msr() function
1816 if (get_msr(cpu, mp->msr_num, counterp)) in get_mp()
1927 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
1934 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
1939 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
1968 if (get_msr(cpu, MSR_SMI_COUNT, &msr)) in get_counters()
1973 if (get_msr(cpu, MSR_CORE_C1_RES, &t->c1)) in get_counters()
1987 if (get_msr(cpu, MSR_CORE_C3_RESIDENCY, &c->c3)) in get_counters()
1992 if (get_msr(cpu, MSR_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
1995 if (get_msr(cpu, MSR_KNL_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
[all …]
/Linux-v5.10/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c677 int get_msr(int cpu, int offset, unsigned long long *msr) in get_msr() function
736 get_msr(cpu, msr_offset, &msr); in read_hwp_cap()
771 get_msr(cpu, msr_offset, &msr); in read_hwp_request()
808 get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr); in print_cpu_msrs()
837 get_msr(first_cpu_in_pkg[pkg], MSR_HWP_INTERRUPT, &msr); in print_pkg_msrs()
844 get_msr(first_cpu_in_pkg[pkg], MSR_HWP_STATUS, &msr); in print_pkg_msrs()
1082 get_msr(cpu, MSR_PM_ENABLE, &msr); in enable_hwp_on_cpu()
1097 get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr); in update_cpu_msrs()
1108 get_msr(cpu, MSR_IA32_MISC_ENABLE, &msr); in update_cpu_msrs()
1249 get_msr(base_cpu, MSR_PM_ENABLE, &msr); in verify_hwp_is_enabled()
[all …]
/Linux-v5.10/arch/x86/kvm/
Dpmu.h37 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info); member
Demulate.c817 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in assign_eip_far()
1603 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in get_descriptor_ptr()
1754 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in __load_segment_descriptor()
2792 ops->get_msr(ctxt, MSR_EFER, &efer); in em_syscall()
2797 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2814 ops->get_msr(ctxt, in em_syscall()
2819 ops->get_msr(ctxt, MSR_SYSCALL_MASK, &msr_data); in em_syscall()
2825 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2843 ops->get_msr(ctxt, MSR_EFER, &efer); in em_sysenter()
2860 ops->get_msr(ctxt, MSR_IA32_SYSENTER_CS, &msr_data); in em_sysenter()
[all …]
Dkvm_emulate.h213 int (*get_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 *pdata); member
Dpmu.c407 return kvm_x86_ops.pmu_ops->get_msr(vcpu, msr_info); in kvm_pmu_get_msr()
Dx86.c1608 ret = kvm_x86_ops.get_msr(vcpu, &msr); in __kvm_get_msr()
6873 .get_msr = emulator_get_msr,
/Linux-v5.10/arch/x86/kvm/svm/
Dpmu.c323 .get_msr = amd_pmu_get_msr,
Dsvm.c4212 .get_msr = svm_get_msr,
/Linux-v5.10/arch/x86/kvm/vmx/
Dpmu_intel.c439 .get_msr = intel_pmu_get_msr,
Dvmx.c7611 .get_msr = vmx_get_msr,
/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h1108 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr); member