Home
last modified time | relevance | path

Searched refs:rdmsr_safe (Results 1 – 13 of 13) sorted by relevance

/arch/x86/kernel/cpu/
Dfeat_ctl.c44 rdmsr_safe(MSR_IA32_VMX_PROCBASED_CTLS2, &ign, &supported); in init_vmx_capabilities()
48 rdmsr_safe(MSR_IA32_VMX_PROCBASED_CTLS3, &low, &high); in init_vmx_capabilities()
53 rdmsr_safe(MSR_IA32_VMX_VMFUNC, &ign, &funcs); in init_vmx_capabilities()
59 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, &ept, &vpid); in init_vmx_capabilities()
Dhygon.c253 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_hygon()
Damd.c715 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_amd()
/arch/x86/kernel/acpi/
Dsleep.c84 if (!rdmsr_safe(MSR_EFER, in x86_acpi_suspend_lowlevel()
98 if (!rdmsr_safe(MSR_IA32_MISC_ENABLE, in x86_acpi_suspend_lowlevel()
/arch/x86/kernel/cpu/mce/
Damd.c260 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_CONFIG(bank), &low, &high)) in smca_set_misc_banks_map()
266 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_MISC(bank), &low, &high)) in smca_set_misc_banks_map()
283 if (!rdmsr_safe(smca_config, &low, &high)) { in smca_configure()
316 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) { in smca_configure()
506 if (rdmsr_safe(MSR_CU_DEF_ERR, &low, &high)) in deferred_error_interrupt_enable()
597 if (rdmsr_safe(MSR_CU_DEF_ERR, &smca_low, &smca_high)) in prepare_threshold_block()
698 if (rdmsr_safe(address, &low, &high)) in mce_amd_feature_init()
849 if (rdmsr_safe(block->address, &low, &high)) in log_and_reset_block()
1081 if (rdmsr_safe(address, &low, &high)) in allocate_threshold_blocks()
/arch/x86/include/asm/
Dmsr.h272 #define rdmsr_safe(msr, low, high) \ macro
360 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
Dparavirt.h235 #define rdmsr_safe(msr, a, b) \ macro
/arch/x86/lib/
Dmsr-smp.c158 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/
Dmmconfig-shared.c201 if (rdmsr_safe(address, &low, &high)) in pci_mmcfg_amd_fam10h()
/arch/x86/kernel/cpu/mtrr/
Dcleanup.c829 if (rdmsr_safe(MSR_AMD64_SYSCFG, &l, &h) < 0) in amd_special_default_mtrr()
/arch/x86/kernel/
Dtsc.c1238 rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high); in check_system_tsc_reliable()
/arch/x86/kvm/vmx/
Dvmx.c2634 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, in setup_vmcs_config()
/arch/x86/kvm/
Dx86.c7131 if (rdmsr_safe(msr_index, &dummy[0], &dummy[1])) in kvm_probe_msr_to_save()