Searched refs:rdmsrl_safe (Results 1 – 16 of 16) sorted by relevance
/arch/x86/lib/ |
D | msr.c | 40 err = rdmsrl_safe(msr, &val); in msr_read()
|
/arch/x86/kernel/cpu/ |
D | amd.c | 483 if (!rdmsrl_safe(MSR_K8_TSEG_ADDR, &tseg)) { in bsp_init_amd() 537 if (!rdmsrl_safe(MSR_AMD64_LS_CFG, &x86_amd_ls_cfg_base)) { in bsp_init_amd() 767 if (!rdmsrl_safe(0xc0011021, &value) && !(value & 0x1E)) { in init_amd_bd() 867 ret = rdmsrl_safe(MSR_F10H_DECFG, &val); in init_amd()
|
D | perf_event_msr.c | 229 if (!msr[i].test(i) || rdmsrl_safe(msr[i].msr, &val)) in msr_init()
|
D | perf_event.c | 203 ret = rdmsrl_safe(reg, &val); in check_hw_exists() 217 ret = rdmsrl_safe(reg, &val); in check_hw_exists() 246 if (rdmsrl_safe(reg, &val)) in check_hw_exists() 250 ret |= rdmsrl_safe(reg, &val_new); in check_hw_exists()
|
D | perf_event_intel_cstate.c | 586 if (!msr[i].test(i) || rdmsrl_safe(msr[i].msr, &val)) in cstate_probe_msr()
|
D | perf_event_intel_rapl.c | 694 if (rdmsrl_safe(MSR_RAPL_POWER_UNIT, &msr_rapl_power_unit_bits)) in rapl_check_hw_unit()
|
D | common.c | 1390 if (rdmsrl_safe(index, &val)) in __print_cpu_msr()
|
D | perf_event_intel.c | 3104 if (rdmsrl_safe(msr, &val_old)) in check_msr() 3112 rdmsrl_safe(msr, &val_new)) in check_msr()
|
/arch/x86/power/ |
D | cpu.c | 43 msr->valid = !rdmsrl_safe(msr->info.msr_no, &msr->info.reg.q); in msr_save_context() 137 ctxt->misc_enable_saved = !rdmsrl_safe(MSR_IA32_MISC_ENABLE, in __save_processor_state()
|
/arch/x86/include/asm/ |
D | msr.h | 221 static inline int rdmsrl_safe(unsigned msr, unsigned long long *p) in rdmsrl_safe() function 312 return rdmsrl_safe(msr_no, q); in rdmsrl_safe_on_cpu()
|
D | apic.h | 112 if (rdmsrl_safe(MSR_IA32_APICBASE, &msr)) in apic_is_x2apic_enabled()
|
D | paravirt.h | 179 static inline int rdmsrl_safe(unsigned msr, unsigned long long *p) in rdmsrl_safe() function
|
/arch/x86/kvm/ |
D | cpuid.c | 128 rdmsrl_safe(MSR_EFER, &efer); in is_efer_nx()
|
D | x86.c | 236 rdmsrl_safe(msr, &value); in shared_msr_update() 1008 rdmsrl_safe(MSR_IA32_ARCH_CAPABILITIES, &data); in kvm_get_arch_capabilities()
|
D | vmx.c | 6377 rdmsrl_safe(MSR_EFER, &host_efer); in hardware_setup()
|
/arch/x86/kernel/cpu/mcheck/ |
D | mce.c | 389 if (rdmsrl_safe(msr, &v)) { in mce_rdmsrl()
|