Symbol: get_msr
arch/x86/include/asm/kvm-x86-ops.h
34
KVM_X86_OP(get_msr)
arch/x86/include/asm/kvm-x86-pmu-ops.h
20
KVM_X86_PMU_OP(get_msr)
arch/x86/include/asm/kvm_host.h
1820
int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr);
arch/x86/kvm/emulate.c
1466
ctxt->ops->get_msr(ctxt, MSR_EFER, &efer);
arch/x86/kvm/emulate.c
1512
if (ctxt->ops->get_msr(ctxt, MSR_EFER, &efer))
arch/x86/kvm/emulate.c
1519
if (ctxt->ops->get_msr(ctxt, MSR_IA32_X_CET, &cet))
arch/x86/kvm/emulate.c
1525
if (ctxt->ops->get_msr(ctxt, MSR_KVM_INTERNAL_GUEST_SSP, &ssp))
arch/x86/kvm/emulate.c
1671
ctxt->ops->get_msr(ctxt, MSR_EFER, &efer);
arch/x86/kvm/emulate.c
2377
ops->get_msr(ctxt, MSR_EFER, &efer);
arch/x86/kvm/emulate.c
2382
ops->get_msr(ctxt, MSR_STAR, &msr_data);
arch/x86/kvm/emulate.c
2399
ops->get_msr(ctxt,
arch/x86/kvm/emulate.c
2404
ops->get_msr(ctxt, MSR_SYSCALL_MASK, &msr_data);
arch/x86/kvm/emulate.c
2410
ops->get_msr(ctxt, MSR_STAR, &msr_data);
arch/x86/kvm/emulate.c
2428
ops->get_msr(ctxt, MSR_EFER, &efer);
arch/x86/kvm/emulate.c
2445
ops->get_msr(ctxt, MSR_IA32_SYSENTER_CS, &msr_data);
arch/x86/kvm/emulate.c
2461
ops->get_msr(ctxt, MSR_IA32_SYSENTER_EIP, &msr_data);
arch/x86/kvm/emulate.c
2464
ops->get_msr(ctxt, MSR_IA32_SYSENTER_ESP, &msr_data);
arch/x86/kvm/emulate.c
2498
ops->get_msr(ctxt, MSR_IA32_SYSENTER_CS, &msr_data);
arch/x86/kvm/emulate.c
3203
ctxt->ops->get_msr(ctxt, MSR_TSC_AUX, &tsc_aux);
arch/x86/kvm/emulate.c
3212
ctxt->ops->get_msr(ctxt, MSR_IA32_TSC, &tsc);
arch/x86/kvm/emulate.c
3868
ctxt->ops->get_msr(ctxt, MSR_EFER, &efer);
arch/x86/kvm/emulate.c
5105
if ((u_cet && ctxt->ops->get_msr(ctxt, MSR_IA32_U_CET, &u_cet)) ||
arch/x86/kvm/emulate.c
5106
(s_cet && ctxt->ops->get_msr(ctxt, MSR_IA32_S_CET, &s_cet)))
arch/x86/kvm/emulate.c
739
ctxt->ops->get_msr(ctxt, MSR_EFER, &efer);
arch/x86/kvm/kvm_emulate.h
223
int (*get_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 *pdata);
arch/x86/kvm/pmu.c
856
return kvm_pmu_call(get_msr)(vcpu, msr_info);
arch/x86/kvm/pmu.h
32
int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
arch/x86/kvm/svm/pmu.c
309
.get_msr = amd_pmu_get_msr,
arch/x86/kvm/svm/svm.c
5358
.get_msr = svm_get_msr,
arch/x86/kvm/vmx/main.c
912
.get_msr = vt_op(get_msr),
arch/x86/kvm/vmx/pmu_intel.c
839
.get_msr = intel_pmu_get_msr,
arch/x86/kvm/x86.c
1980
ret = kvm_x86_call(get_msr)(vcpu, &msr);
arch/x86/kvm/x86.c
8933
.get_msr = emulator_get_msr,
tools/power/x86/turbostat/turbostat.c
4535
if (get_msr(cpu, mp->msr_num, counterp))
tools/power/x86/turbostat/turbostat.c
4601
get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr);
tools/power/x86/turbostat/turbostat.c
4904
if (get_msr(cpu, rci->msr[i], &rci->data[i]))
tools/power/x86/turbostat/turbostat.c
5035
if (get_msr(cpu, cci->msr[i], &cci->data[i]))
tools/power/x86/turbostat/turbostat.c
5134
if (get_msr(cpu, mci->msr[i], &mci->data[i]))
tools/power/x86/turbostat/turbostat.c
5300
if (get_msr(cpu, MSR_MODULE_C6_RES_MS, &c->mc6_us))
tools/power/x86/turbostat/turbostat.c
5304
if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr))
tools/power/x86/turbostat/turbostat.c
5328
if (get_msr(cpu, MSR_PKG_WEIGHTED_CORE_C0_RES, &p->pkg_wtd_core_c0))
tools/power/x86/turbostat/turbostat.c
5332
if (get_msr(cpu, MSR_PKG_ANY_CORE_C0_RES, &p->pkg_any_core_c0))
tools/power/x86/turbostat/turbostat.c
5336
if (get_msr(cpu, MSR_PKG_ANY_GFXE_C0_RES, &p->pkg_any_gfxe_c0))
tools/power/x86/turbostat/turbostat.c
5340
if (get_msr(cpu, MSR_PKG_BOTH_CORE_GFXE_C0_RES, &p->pkg_both_core_gfxe_c0))
tools/power/x86/turbostat/turbostat.c
5356
if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr))
tools/power/x86/turbostat/turbostat.c
5489
get_msr(master_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr);
tools/power/x86/turbostat/turbostat.c
5501
get_msr(master_cpu, MSR_PLATFORM_INFO, &msr);
tools/power/x86/turbostat/turbostat.c
5519
get_msr(master_cpu, MSR_IA32_POWER_CTL, &msr);
tools/power/x86/turbostat/turbostat.c
5534
get_msr(master_cpu, MSR_TURBO_RATIO_LIMIT2, &msr);
tools/power/x86/turbostat/turbostat.c
5553
get_msr(master_cpu, MSR_TURBO_RATIO_LIMIT1, &msr);
tools/power/x86/turbostat/turbostat.c
5596
get_msr(master_cpu, trl_msr_offset, &msr);
tools/power/x86/turbostat/turbostat.c
5600
get_msr(master_cpu, MSR_TURBO_RATIO_LIMIT1, &core_counts);
tools/power/x86/turbostat/turbostat.c
5623
get_msr(master_cpu, MSR_ATOM_CORE_RATIOS, &msr);
tools/power/x86/turbostat/turbostat.c
5638
get_msr(master_cpu, MSR_ATOM_CORE_TURBO_RATIOS, &msr);
tools/power/x86/turbostat/turbostat.c
5668
get_msr(master_cpu, MSR_TURBO_RATIO_LIMIT, &msr);
tools/power/x86/turbostat/turbostat.c
5720
get_msr(master_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr);
tools/power/x86/turbostat/turbostat.c
573
int get_msr(int cpu, off_t offset, unsigned long long *msr);
tools/power/x86/turbostat/turbostat.c
5745
get_msr(master_cpu, MSR_CONFIG_TDP_NOMINAL, &msr);
tools/power/x86/turbostat/turbostat.c
5749
get_msr(master_cpu, MSR_CONFIG_TDP_LEVEL_1, &msr);
tools/power/x86/turbostat/turbostat.c
5759
get_msr(master_cpu, MSR_CONFIG_TDP_LEVEL_2, &msr);
tools/power/x86/turbostat/turbostat.c
5769
get_msr(master_cpu, MSR_CONFIG_TDP_CONTROL, &msr);
tools/power/x86/turbostat/turbostat.c
5776
get_msr(master_cpu, MSR_TURBO_ACTIVATION_RATIO, &msr);
tools/power/x86/turbostat/turbostat.c
5793
get_msr(master_cpu, MSR_PKGC3_IRTL, &msr);
tools/power/x86/turbostat/turbostat.c
5799
get_msr(master_cpu, MSR_PKGC6_IRTL, &msr);
tools/power/x86/turbostat/turbostat.c
5805
get_msr(master_cpu, MSR_PKGC7_IRTL, &msr);
tools/power/x86/turbostat/turbostat.c
5811
get_msr(master_cpu, MSR_PKGC8_IRTL, &msr);
tools/power/x86/turbostat/turbostat.c
5817
get_msr(master_cpu, MSR_PKGC9_IRTL, &msr);
tools/power/x86/turbostat/turbostat.c
5823
get_msr(master_cpu, MSR_PKGC10_IRTL, &msr);
tools/power/x86/turbostat/turbostat.c
632
if (get_msr(master_cpu, MSR_FSB_FREQ, &msr))
tools/power/x86/turbostat/turbostat.c
6725
ret = get_msr(cpu, offset, &msr_cur);
tools/power/x86/turbostat/turbostat.c
6757
ret = get_msr(cpu, offset, &msr_cur);
tools/power/x86/turbostat/turbostat.c
7068
get_msr(master_cpu, MSR_PLATFORM_INFO, &msr);
tools/power/x86/turbostat/turbostat.c
7571
if (get_msr(cpu, MSR_PM_ENABLE, &msr))
tools/power/x86/turbostat/turbostat.c
7580
if (get_msr(cpu, MSR_HWP_CAPABILITIES, &msr))
tools/power/x86/turbostat/turbostat.c
7589
if (get_msr(cpu, MSR_HWP_REQUEST, &msr))
tools/power/x86/turbostat/turbostat.c
7601
if (get_msr(cpu, MSR_HWP_REQUEST_PKG, &msr))
tools/power/x86/turbostat/turbostat.c
7612
if (get_msr(cpu, MSR_HWP_INTERRUPT, &msr))
tools/power/x86/turbostat/turbostat.c
7618
if (get_msr(cpu, MSR_HWP_STATUS, &msr))
tools/power/x86/turbostat/turbostat.c
7653
get_msr(cpu, MSR_CORE_PERF_LIMIT_REASONS, &msr);
tools/power/x86/turbostat/turbostat.c
7684
get_msr(cpu, MSR_GFX_PERF_LIMIT_REASONS, &msr);
tools/power/x86/turbostat/turbostat.c
7702
get_msr(cpu, MSR_RING_PERF_LIMIT_REASONS, &msr);
tools/power/x86/turbostat/turbostat.c
7734
if (!get_msr(master_cpu, MSR_PKG_POWER_INFO, &msr))
tools/power/x86/turbostat/turbostat.c
7773
if (get_msr(master_cpu, MSR_RAPL_POWER_UNIT, &msr))
tools/power/x86/turbostat/turbostat.c
7821
if (get_msr(master_cpu, MSR_RAPL_PWR_UNIT, &msr))
tools/power/x86/turbostat/turbostat.c
8022
if (get_msr(cpu, MSR_RAPL_PWR_UNIT, &msr))
tools/power/x86/turbostat/turbostat.c
8026
if (get_msr(cpu, MSR_RAPL_POWER_UNIT, &msr))
tools/power/x86/turbostat/turbostat.c
8034
if (get_msr(cpu, MSR_PKG_POWER_INFO, &msr))
tools/power/x86/turbostat/turbostat.c
8046
if (get_msr(cpu, MSR_PKG_POWER_LIMIT, &msr))
tools/power/x86/turbostat/turbostat.c
8058
if (get_msr(cpu, MSR_VR_CURRENT_CONFIG, &msr))
tools/power/x86/turbostat/turbostat.c
8066
if (get_msr(cpu, MSR_DRAM_POWER_INFO, &msr))
tools/power/x86/turbostat/turbostat.c
8076
if (get_msr(cpu, MSR_DRAM_POWER_LIMIT, &msr))
tools/power/x86/turbostat/turbostat.c
8083
if (get_msr(cpu, MSR_PP0_POLICY, &msr))
tools/power/x86/turbostat/turbostat.c
8089
if (get_msr(cpu, MSR_PP0_POWER_LIMIT, &msr))
tools/power/x86/turbostat/turbostat.c
8095
if (get_msr(cpu, MSR_PP1_POLICY, &msr))
tools/power/x86/turbostat/turbostat.c
8100
if (get_msr(cpu, MSR_PP1_POWER_LIMIT, &msr))
tools/power/x86/turbostat/turbostat.c
8130
ret = get_msr(master_cpu, offset, &msr_value);
tools/power/x86/turbostat/turbostat.c
8215
if (get_msr(master_cpu, MSR_IA32_TEMPERATURE_TARGET, &msr))
tools/power/x86/turbostat/turbostat.c
8224
if (bits && !get_msr(master_cpu, MSR_PLATFORM_INFO, &enabled))
tools/power/x86/turbostat/turbostat.c
8277
if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr))
tools/power/x86/turbostat/turbostat.c
8283
if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, &msr))
tools/power/x86/turbostat/turbostat.c
8294
if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr))
tools/power/x86/turbostat/turbostat.c
8301
if (get_msr(cpu, MSR_IA32_THERM_INTERRUPT, &msr))
tools/power/x86/turbostat/turbostat.c
8362
if (!get_msr(master_cpu, MSR_IA32_FEAT_CTL, &msr))
tools/power/x86/turbostat/turbostat.c
8377
if (!get_msr(master_cpu, MSR_IA32_MISC_ENABLE, &msr))
tools/power/x86/turbostat/turbostat.c
8396
if (!get_msr(master_cpu, MSR_MISC_FEATURE_CONTROL, &msr))
tools/power/x86/turbostat/turbostat.c
8419
if (!get_msr(master_cpu, MSR_MISC_PWR_MGMT, &msr))
tools/power/x86/turbostat/turbostat.c
8440
if (!get_msr(master_cpu, MSR_CC6_DEMOTION_POLICY_CONFIG, &msr))
tools/power/x86/turbostat/turbostat.c
8443
if (!get_msr(master_cpu, MSR_MC6_DEMOTION_POLICY_CONFIG, &msr))
tools/power/x86/turbostat/turbostat.c
9139
if (get_msr(sched_getcpu(), MSR_IA32_UCODE_REV, &ucode_patch)) {
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1124
get_msr(first_cpu_in_pkg[pkg], MSR_HWP_INTERRUPT, &msr);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1129
get_msr(first_cpu_in_pkg[pkg], MSR_HWP_STATUS, &msr);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1358
get_msr(cpu, MSR_PM_ENABLE, &old_msr);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1392
get_msr(cpu, MSR_IA32_MISC_ENABLE, &msr);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1543
get_msr(cpu_num, MSR_PM_ENABLE, &msr);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1657
get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
929
get_msr(cpu, msr_offset, &msr);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
964
get_msr(cpu, msr_offset, &msr);