/linux-6.1.9/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 | 248 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_hygon()
|
D | amd.c | 610 rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy); in early_init_amd()
|
/linux-6.1.9/arch/x86/kernel/acpi/ |
D | sleep.c | 83 if (!rdmsr_safe(MSR_EFER, in x86_acpi_suspend_lowlevel() 97 if (!rdmsr_safe(MSR_IA32_MISC_ENABLE, in x86_acpi_suspend_lowlevel()
|
/linux-6.1.9/arch/x86/kernel/cpu/mce/ |
D | amd.c | 260 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() 314 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) { in smca_configure() 504 if (rdmsr_safe(MSR_CU_DEF_ERR, &low, &high)) in deferred_error_interrupt_enable() 595 if (rdmsr_safe(MSR_CU_DEF_ERR, &smca_low, &smca_high)) in prepare_threshold_block() 696 if (rdmsr_safe(address, &low, &high)) in mce_amd_feature_init() 853 if (rdmsr_safe(block->address, &low, &high)) in log_and_reset_block() 1085 if (rdmsr_safe(address, &low, &high)) in allocate_threshold_blocks()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | msr.h | 272 #define rdmsr_safe(msr, low, high) \ macro 360 return rdmsr_safe(msr_no, l, h); in rdmsr_safe_on_cpu()
|
D | paravirt.h | 233 #define rdmsr_safe(msr, a, b) \ macro
|
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | kvm_pv_test.c | 48 vector = rdmsr_safe(msr->idx, &ignored); in test_msr()
|
D | hyperv_features.c | 56 vector = rdmsr_safe(msr->idx, &ignored); in guest_msr()
|
/linux-6.1.9/arch/x86/lib/ |
D | msr-smp.c | 158 rv->msr.err = rdmsr_safe(rv->msr.msr_no, &rv->msr.reg.l, &rv->msr.reg.h); in __rdmsr_safe_on_cpu()
|
/linux-6.1.9/drivers/thermal/intel/int340x_thermal/ |
D | processor_thermal_device.c | 156 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tjmax()
|
/linux-6.1.9/drivers/thermal/intel/ |
D | intel_soc_dts_iosf.c | 54 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tj_max()
|
/linux-6.1.9/drivers/powercap/ |
D | intel_rapl_common.c | 892 rdmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, &l, &h); in power_limit_irq_save_cpu() 934 rdmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, &l, &h); in package_power_limit_irq_restore()
|
/linux-6.1.9/arch/x86/pci/ |
D | mmconfig-shared.c | 200 if (rdmsr_safe(address, &low, &high)) in pci_mmcfg_amd_fam10h()
|
/linux-6.1.9/drivers/edac/ |
D | mce_amd.c | 1260 if (!rdmsr_safe(addr, &low, &high) && in amd_decode_mce()
|
/linux-6.1.9/arch/x86/kernel/cpu/mtrr/ |
D | cleanup.c | 839 if (rdmsr_safe(MSR_AMD64_SYSCFG, &l, &h) < 0) in amd_special_default_mtrr()
|
/linux-6.1.9/arch/x86/kernel/ |
D | tsc.c | 1197 rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high); in check_system_tsc_reliable()
|
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 822 static inline uint8_t rdmsr_safe(uint32_t msr, uint64_t *val) in rdmsr_safe() function
|
/linux-6.1.9/drivers/acpi/ |
D | processor_throttling.c | 712 rdmsr_safe(MSR_IA32_THERM_CONTROL, in acpi_throttling_rdmsr()
|
/linux-6.1.9/arch/x86/kvm/vmx/ |
D | vmx.c | 2623 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, in setup_vmcs_config()
|
/linux-6.1.9/arch/x86/kvm/ |
D | x86.c | 7001 if (rdmsr_safe(msrs_to_save_all[i], &dummy[0], &dummy[1]) < 0) in kvm_init_msr_list()
|