Home
last modified time | relevance | path

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

/linux-6.12.1/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.c127 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_hygon()
Damd.c543 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_amd()
/linux-6.12.1/drivers/thermal/intel/
Dintel_tcc.c188 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &low, &high); in intel_tcc_get_tjmax()
215 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &low, &high); in intel_tcc_get_offset()
248 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &low, &high); in intel_tcc_set_offset()
290 err = rdmsr_safe(msr, &low, &high); in intel_tcc_get_temp()
/linux-6.12.1/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()
/linux-6.12.1/arch/x86/kernel/cpu/mce/
Damd.c252 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_CONFIG(bank), &low, &high)) in smca_set_misc_banks_map()
258 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_MISC(bank), &low, &high)) in smca_set_misc_banks_map()
275 if (!rdmsr_safe(smca_config, &low, &high)) { in smca_configure()
308 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) { in smca_configure()
498 if (rdmsr_safe(MSR_CU_DEF_ERR, &low, &high)) in deferred_error_interrupt_enable()
589 if (rdmsr_safe(MSR_CU_DEF_ERR, &smca_low, &smca_high)) in prepare_threshold_block()
690 if (rdmsr_safe(address, &low, &high)) in mce_amd_feature_init()
899 if (rdmsr_safe(block->address, &low, &high)) in log_and_reset_block()
1131 if (rdmsr_safe(address, &low, &high)) in allocate_threshold_blocks()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dplatform_info_test.c35 vector = rdmsr_safe(MSR_PLATFORM_INFO, &msr_platform_info); in guest_code()
Dkvm_pv_test.c48 vector = rdmsr_safe(msr->idx, &ignored); in test_msr()
Dpmu_counters_test.c393 vector = rdmsr_safe(msr, &val); in guest_rd_wr_counters()
Dhyperv_features.c53 vector = rdmsr_safe(msr->idx, &msr_val); in guest_msr()
/linux-6.12.1/arch/x86/include/asm/
Dmsr.h274 #define rdmsr_safe(msr, low, high) \ macro
377 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
Dparavirt.h237 #define rdmsr_safe(msr, a, b) \ macro
/linux-6.12.1/arch/x86/lib/
Dmsr-smp.c156 rv->msr.err = rdmsr_safe(rv->msr.msr_no, &rv->msr.reg.l, &rv->msr.reg.h); in __rdmsr_safe_on_cpu()
/linux-6.12.1/drivers/edac/
Dmce_amd.c819 if (!rdmsr_safe(addr, &low, &high) && in amd_decode_mce()
/linux-6.12.1/arch/x86/pci/
Dmmconfig-shared.c200 if (rdmsr_safe(address, &low, &high)) in pci_mmcfg_amd_fam10h()
/linux-6.12.1/arch/x86/kernel/
Dtsc.c1242 rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high); in check_system_tsc_reliable()
/linux-6.12.1/arch/x86/kernel/cpu/mtrr/
Dcleanup.c829 if (rdmsr_safe(MSR_AMD64_SYSCFG, &l, &h) < 0) in amd_special_default_mtrr()
/linux-6.12.1/arch/x86/virt/vmx/tdx/
Dtdx.c1357 ret = rdmsr_safe(MSR_IA32_MKTME_KEYID_PARTITIONING, &_nr_mktme_keyids, in record_keyid_partitioning()
/linux-6.12.1/drivers/acpi/
Dprocessor_throttling.c710 rdmsr_safe(MSR_IA32_THERM_CONTROL, in acpi_throttling_rdmsr()
/linux-6.12.1/drivers/powercap/
Dintel_rapl_common.c982 rdmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, &l, &h); in power_limit_irq_save_cpu()
1030 rdmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, &l, &h); in package_power_limit_irq_restore()
/linux-6.12.1/arch/x86/kvm/vmx/
Dvmx.c2661 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, in setup_vmcs_config()
/linux-6.12.1/arch/x86/kvm/
Dx86.c7391 if (rdmsr_safe(msr_index, &dummy[0], &dummy[1])) in kvm_probe_msr_to_save()