Home
last modified time | relevance | path

Searched refs:rdmsrl_safe (Results 1 – 16 of 16) sorted by relevance

/arch/x86/lib/
Dmsr.c40 err = rdmsrl_safe(msr, &val); in msr_read()
/arch/x86/kernel/cpu/
Damd.c483 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()
Dperf_event_msr.c229 if (!msr[i].test(i) || rdmsrl_safe(msr[i].msr, &val)) in msr_init()
Dperf_event.c203 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()
Dperf_event_intel_cstate.c586 if (!msr[i].test(i) || rdmsrl_safe(msr[i].msr, &val)) in cstate_probe_msr()
Dperf_event_intel_rapl.c694 if (rdmsrl_safe(MSR_RAPL_POWER_UNIT, &msr_rapl_power_unit_bits)) in rapl_check_hw_unit()
Dcommon.c1390 if (rdmsrl_safe(index, &val)) in __print_cpu_msr()
Dperf_event_intel.c3104 if (rdmsrl_safe(msr, &val_old)) in check_msr()
3112 rdmsrl_safe(msr, &val_new)) in check_msr()
/arch/x86/power/
Dcpu.c43 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/
Dmsr.h221 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()
Dapic.h112 if (rdmsrl_safe(MSR_IA32_APICBASE, &msr)) in apic_is_x2apic_enabled()
Dparavirt.h179 static inline int rdmsrl_safe(unsigned msr, unsigned long long *p) in rdmsrl_safe() function
/arch/x86/kvm/
Dcpuid.c128 rdmsrl_safe(MSR_EFER, &efer); in is_efer_nx()
Dx86.c236 rdmsrl_safe(msr, &value); in shared_msr_update()
1008 rdmsrl_safe(MSR_IA32_ARCH_CAPABILITIES, &data); in kvm_get_arch_capabilities()
Dvmx.c6377 rdmsrl_safe(MSR_EFER, &host_efer); in hardware_setup()
/arch/x86/kernel/cpu/mcheck/
Dmce.c389 if (rdmsrl_safe(msr, &v)) { in mce_rdmsrl()