Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/kernel/cpu/
Dfeat_ctl.c42 rdmsr_safe(MSR_IA32_VMX_PROCBASED_CTLS2, &ign, &supported); in init_vmx_capabilities()
46 rdmsr_safe(MSR_IA32_VMX_VMFUNC, &ign, &funcs); in init_vmx_capabilities()
52 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, &ept, &vpid); in init_vmx_capabilities()
Dhygon.c269 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_hygon()
Damd.c667 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_amd()
/Linux-v5.10/arch/x86/kernel/acpi/
Dsleep.c82 if (!rdmsr_safe(MSR_EFER, in x86_acpi_suspend_lowlevel()
96 if (!rdmsr_safe(MSR_IA32_MISC_ENABLE, in x86_acpi_suspend_lowlevel()
/Linux-v5.10/arch/x86/kernel/cpu/mce/
Damd.c222 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_CONFIG(bank), &low, &high)) in smca_set_misc_banks_map()
228 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_MISC(bank), &low, &high)) in smca_set_misc_banks_map()
244 if (!rdmsr_safe(smca_config, &low, &high)) { in smca_configure()
279 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) { in smca_configure()
468 if (rdmsr_safe(MSR_CU_DEF_ERR, &low, &high)) in deferred_error_interrupt_enable()
559 if (rdmsr_safe(MSR_CU_DEF_ERR, &smca_low, &smca_high)) in prepare_threshold_block()
660 if (rdmsr_safe(address, &low, &high)) in mce_amd_feature_init()
1010 if (rdmsr_safe(block->address, &low, &high)) in log_and_reset_block()
1241 if (rdmsr_safe(address, &low, &high)) in allocate_threshold_blocks()
Dseverity.c307 if (rdmsr_safe(addr, &low, &high)) in mce_severity_amd_smca()
/Linux-v5.10/arch/x86/include/asm/
Dmsr.h291 #define rdmsr_safe(msr, low, high) \ macro
383 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
Dparavirt.h210 #define rdmsr_safe(msr, a, b) \ macro
/Linux-v5.10/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()
/Linux-v5.10/drivers/thermal/intel/
Dintel_soc_dts_iosf.c54 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tj_max()
/Linux-v5.10/drivers/powercap/
Dintel_rapl_common.c836 rdmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, &l, &h); in power_limit_irq_save_cpu()
878 rdmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, &l, &h); in package_power_limit_irq_restore()
/Linux-v5.10/arch/x86/pci/
Dmmconfig-shared.c200 if (rdmsr_safe(address, &low, &high)) in pci_mmcfg_amd_fam10h()
/Linux-v5.10/drivers/edac/
Dmce_amd.c1076 if (!rdmsr_safe(addr, &low, &high) && in amd_decode_mce()
/Linux-v5.10/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_device.c223 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tjmax()
/Linux-v5.10/arch/x86/kernel/
Dtsc.c1188 rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high); in check_system_tsc_reliable()
/Linux-v5.10/arch/x86/kernel/cpu/mtrr/
Dcleanup.c839 if (rdmsr_safe(MSR_K8_SYSCFG, &l, &h) < 0) in amd_special_default_mtrr()
/Linux-v5.10/drivers/acpi/
Dprocessor_throttling.c723 rdmsr_safe(MSR_IA32_THERM_CONTROL, in acpi_throttling_rdmsr()
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.c2452 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, in setup_vmcs_config()
6867 if (rdmsr_safe(index, &data_low, &data_high) < 0) in vmx_create_vcpu()
/Linux-v5.10/arch/x86/kvm/
Dx86.c5718 if (rdmsr_safe(msrs_to_save_all[i], &dummy[0], &dummy[1]) < 0) in kvm_init_msr_list()