Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/acpi/
Dsleep.c72 if (!rdmsr_safe(MSR_EFER, in x86_acpi_suspend_lowlevel()
86 if (!rdmsr_safe(MSR_IA32_MISC_ENABLE, in x86_acpi_suspend_lowlevel()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c200 if (!rdmsr_safe(smca_config, &low, &high)) { in smca_configure()
418 if (rdmsr_safe(MSR_CU_DEF_ERR, &low, &high)) in deferred_error_interrupt_enable()
458 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_CONFIG(bank), &low, &high)) in smca_get_block_address()
464 if (!rdmsr_safe(MSR_AMD64_SMCA_MCx_MISC(bank), &low, &high) && in smca_get_block_address()
530 if (rdmsr_safe(MSR_CU_DEF_ERR, &smca_low, &smca_high)) in prepare_threshold_block()
564 if (rdmsr_safe(address, &low, &high)) in mce_amd_feature_init()
915 if (rdmsr_safe(block->address, &low, &high)) in log_and_reset_block()
Dmce-severity.c234 if (rdmsr_safe(addr, &low, &high)) in mce_severity_amd_smca()
/Linux-v4.19/arch/x86/include/asm/
Dmsr.h282 #define rdmsr_safe(msr, low, high) \ macro
374 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
Dparavirt.h156 #define rdmsr_safe(msr, a, b) \ macro
/Linux-v4.19/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-v4.19/drivers/thermal/
Dintel_soc_dts_iosf.c62 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tj_max()
/Linux-v4.19/drivers/thermal/int340x_thermal/
Dprocessor_thermal_device.c150 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tjmax()
/Linux-v4.19/arch/x86/kernel/cpu/
Damd.c633 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_amd()
/Linux-v4.19/arch/x86/pci/
Dmmconfig-shared.c199 if (rdmsr_safe(address, &low, &high)) in pci_mmcfg_amd_fam10h()
/Linux-v4.19/drivers/edac/
Dmce_amd.c981 if (!rdmsr_safe(addr, &low, &high) && in amd_decode_mce()
/Linux-v4.19/drivers/powercap/
Dintel_rapl.c965 rdmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, &l, &h); in power_limit_irq_save_cpu()
1008 rdmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, &l, &h); in package_power_limit_irq_restore()
/Linux-v4.19/arch/x86/kernel/
Dtsc.c1152 rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high); in check_system_tsc_reliable()
/Linux-v4.19/arch/x86/kernel/cpu/mtrr/
Dcleanup.c839 if (rdmsr_safe(MSR_K8_SYSCFG, &l, &h) < 0) in amd_special_default_mtrr()
/Linux-v4.19/drivers/acpi/
Dprocessor_throttling.c736 rdmsr_safe(MSR_IA32_THERM_CONTROL, in acpi_throttling_rdmsr()
/Linux-v4.19/arch/x86/kvm/
Dvmx.c4586 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, in setup_vmcs_config()
6643 if (rdmsr_safe(index, &data_low, &data_high) < 0) in vmx_vcpu_setup()
Dx86.c4692 if (rdmsr_safe(msrs_to_save[i], &dummy[0], &dummy[1]) < 0) in kvm_init_msr_list()