Searched refs:rdmsr_safe (Results 1 – 13 of 13) sorted by relevance
/arch/x86/kernel/acpi/ |
D | sleep.c | 71 if (!rdmsr_safe(MSR_EFER, in x86_acpi_suspend_lowlevel() 85 if (!rdmsr_safe(MSR_IA32_MISC_ENABLE, in x86_acpi_suspend_lowlevel()
|
/arch/x86/kernel/cpu/mce/ |
D | amd.c | 215 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_CONFIG(bank), &low, &high)) in smca_set_misc_banks_map() 221 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_MISC(bank), &low, &high)) in smca_set_misc_banks_map() 237 if (!rdmsr_safe(smca_config, &low, &high)) { in smca_configure() 272 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) { in smca_configure() 457 if (rdmsr_safe(MSR_CU_DEF_ERR, &low, &high)) in deferred_error_interrupt_enable() 548 if (rdmsr_safe(MSR_CU_DEF_ERR, &smca_low, &smca_high)) in prepare_threshold_block() 644 if (rdmsr_safe(address, &low, &high)) in mce_amd_feature_init() 995 if (rdmsr_safe(block->address, &low, &high)) in log_and_reset_block()
|
D | severity.c | 253 if (rdmsr_safe(addr, &low, &high)) in mce_severity_amd_smca()
|
/arch/x86/include/asm/ |
D | msr.h | 293 #define rdmsr_safe(msr, low, high) \ macro 385 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
|
D | paravirt.h | 206 #define rdmsr_safe(msr, a, b) \ macro
|
/arch/x86/kernel/cpu/ |
D | hygon.c | 271 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_hygon()
|
D | amd.c | 712 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_amd()
|
/arch/x86/lib/ |
D | msr-smp.c | 158 rv->msr.err = rdmsr_safe(rv->msr.msr_no, &rv->msr.reg.l, &rv->msr.reg.h); in __rdmsr_safe_on_cpu()
|
/arch/x86/pci/ |
D | mmconfig-shared.c | 200 if (rdmsr_safe(address, &low, &high)) in pci_mmcfg_amd_fam10h()
|
/arch/x86/kernel/cpu/mtrr/ |
D | cleanup.c | 839 if (rdmsr_safe(MSR_K8_SYSCFG, &l, &h) < 0) in amd_special_default_mtrr()
|
/arch/x86/kernel/ |
D | tsc.c | 1179 rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high); in check_system_tsc_reliable()
|
/arch/x86/kvm/vmx/ |
D | vmx.c | 2489 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, in setup_vmcs_config() 4318 if (rdmsr_safe(index, &data_low, &data_high) < 0) in vmx_vcpu_setup()
|
/arch/x86/kvm/ |
D | x86.c | 5270 if (rdmsr_safe(msrs_to_save_all[i], &dummy[0], &dummy[1]) < 0) in kvm_init_msr_list()
|