/linux-6.12.1/arch/x86/kernel/cpu/ |
D | feat_ctl.c | 44 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()
|
D | hygon.c | 127 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_hygon()
|
D | amd.c | 543 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_amd()
|
/linux-6.12.1/drivers/thermal/intel/ |
D | intel_tcc.c | 188 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/ |
D | sleep.c | 84 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/ |
D | amd.c | 252 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/ |
D | platform_info_test.c | 35 vector = rdmsr_safe(MSR_PLATFORM_INFO, &msr_platform_info); in guest_code()
|
D | kvm_pv_test.c | 48 vector = rdmsr_safe(msr->idx, &ignored); in test_msr()
|
D | pmu_counters_test.c | 393 vector = rdmsr_safe(msr, &val); in guest_rd_wr_counters()
|
D | hyperv_features.c | 53 vector = rdmsr_safe(msr->idx, &msr_val); in guest_msr()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | msr.h | 274 #define rdmsr_safe(msr, low, high) \ macro 377 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
|
D | paravirt.h | 237 #define rdmsr_safe(msr, a, b) \ macro
|
/linux-6.12.1/arch/x86/lib/ |
D | msr-smp.c | 156 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/ |
D | mce_amd.c | 819 if (!rdmsr_safe(addr, &low, &high) && in amd_decode_mce()
|
/linux-6.12.1/arch/x86/pci/ |
D | mmconfig-shared.c | 200 if (rdmsr_safe(address, &low, &high)) in pci_mmcfg_amd_fam10h()
|
/linux-6.12.1/arch/x86/kernel/ |
D | tsc.c | 1242 rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high); in check_system_tsc_reliable()
|
/linux-6.12.1/arch/x86/kernel/cpu/mtrr/ |
D | cleanup.c | 829 if (rdmsr_safe(MSR_AMD64_SYSCFG, &l, &h) < 0) in amd_special_default_mtrr()
|
/linux-6.12.1/arch/x86/virt/vmx/tdx/ |
D | tdx.c | 1357 ret = rdmsr_safe(MSR_IA32_MKTME_KEYID_PARTITIONING, &_nr_mktme_keyids, in record_keyid_partitioning()
|
/linux-6.12.1/drivers/acpi/ |
D | processor_throttling.c | 710 rdmsr_safe(MSR_IA32_THERM_CONTROL, in acpi_throttling_rdmsr()
|
/linux-6.12.1/drivers/powercap/ |
D | intel_rapl_common.c | 982 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/ |
D | vmx.c | 2661 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, in setup_vmcs_config()
|
/linux-6.12.1/arch/x86/kvm/ |
D | x86.c | 7391 if (rdmsr_safe(msr_index, &dummy[0], &dummy[1])) in kvm_probe_msr_to_save()
|