/Linux-v6.1/arch/x86/events/intel/ |
D | p6.c | 164 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_disable_event() 181 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_enable_event()
|
D | knc.c | 185 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_disable_event() 196 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_enable_event()
|
D | p4.c | 913 (void)wrmsrl_safe(hwc->config_base, in p4_pmu_disable_event() 946 (void)wrmsrl_safe(MSR_IA32_PEBS_ENABLE, (u64)bind->metric_pebs); in p4_pmu_enable_pebs() 947 (void)wrmsrl_safe(MSR_P4_PEBS_MATRIX_VERT, (u64)bind->metric_vert); in p4_pmu_enable_pebs() 981 (void)wrmsrl_safe(escr_addr, escr_conf); in __p4_pmu_enable_event() 982 (void)wrmsrl_safe(hwc->config_base, in __p4_pmu_enable_event() 1400 wrmsrl_safe(reg, 0ULL); in p4_pmu_init()
|
D | core.c | 2861 wrmsrl_safe(x86_pmu_config_addr(idx), 0ull); in intel_pmu_reset() 2862 wrmsrl_safe(x86_pmu_event_addr(idx), 0ull); in intel_pmu_reset() 2867 wrmsrl_safe(MSR_ARCH_PERFMON_FIXED_CTR0 + idx, 0ull); in intel_pmu_reset() 5008 if (wrmsrl_safe(msr, val_tmp) || in check_msr()
|
D | lbr.c | 1516 if (wrmsrl_safe(MSR_ARCH_LBR_DEPTH, lbr_nr)) in intel_pmu_arch_lbr_init()
|
/Linux-v6.1/drivers/platform/x86/intel/ |
D | turbo_max_3.c | 44 ret = wrmsrl_safe(MSR_OC_MAILBOX, value); in get_oc_core_priority()
|
/Linux-v6.1/arch/x86/lib/ |
D | msr.c | 59 return wrmsrl_safe(msr, m->q); in msr_write()
|
/Linux-v6.1/drivers/thermal/intel/ |
D | intel_tcc_cooling.c | 39 err = wrmsrl_safe(MSR_IA32_TEMPERATURE_TARGET, val); in tcc_offset_update()
|
D | therm_throt.c | 586 wrmsrl_safe(MSR_HWP_STATUS, 0); in notify_hwp_interrupt()
|
/Linux-v6.1/arch/x86/include/asm/ |
D | msr.h | 303 static inline int wrmsrl_safe(u32 msr, u64 val) in wrmsrl_safe() function 372 return wrmsrl_safe(msr_no, q); in wrmsrl_safe_on_cpu()
|
/Linux-v6.1/arch/x86/kernel/cpu/ |
D | common.c | 155 wrmsrl_safe(info->msr_ppin_ctl, val | 2UL); in ppin_init() 2042 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)__KERNEL_CS); in syscall_init() 2043 wrmsrl_safe(MSR_IA32_SYSENTER_ESP, in syscall_init() 2045 wrmsrl_safe(MSR_IA32_SYSENTER_EIP, (u64)entry_SYSENTER_compat); in syscall_init() 2048 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)GDT_ENTRY_INVALID_SEG); in syscall_init() 2049 wrmsrl_safe(MSR_IA32_SYSENTER_ESP, 0ULL); in syscall_init() 2050 wrmsrl_safe(MSR_IA32_SYSENTER_EIP, 0ULL); in syscall_init()
|
D | amd.c | 851 wrmsrl_safe(MSR_F15H_IC_CFG, value); in init_amd_bd() 879 wrmsrl_safe(MSR_ZEN2_SPECTRAL_CHICKEN, value); in init_spectral_chicken()
|
D | intel.c | 1070 if (wrmsrl_safe(MSR_TEST_CTRL, ctrl)) in split_lock_verify_msr()
|
/Linux-v6.1/drivers/powercap/ |
D | intel_rapl_msr.c | 124 ra->err = wrmsrl_safe(msr, val); in rapl_msr_update_func()
|
/Linux-v6.1/arch/x86/kernel/cpu/mce/ |
D | intel.c | 488 wrmsrl_safe(MSR_ERROR_CONTROL, error_control); in intel_imc_init()
|
D | inject.c | 748 wrmsrl_safe(mca_msr_reg(bank, MCA_STATUS), status); in check_hw_inj_possible()
|
/Linux-v6.1/drivers/thermal/intel/int340x_thermal/ |
D | processor_thermal_device.c | 114 err = wrmsrl_safe(MSR_IA32_TEMPERATURE_TARGET, val); in tcc_offset_update()
|
/Linux-v6.1/drivers/cpufreq/ |
D | amd-pstate.c | 67 return wrmsrl_safe(MSR_AMD_CPPC_ENABLE, enable); in pstate_enable()
|
D | intel_pstate.c | 1633 wrmsrl_safe(MSR_HWP_STATUS, 0); in notify_hwp_interrupt()
|
/Linux-v6.1/drivers/platform/x86/intel/speed_select_if/ |
D | isst_if_common.c | 206 wrmsrl_safe(sst_cmd->cmd, sst_cmd->data); in isst_restore_msr_local()
|
/Linux-v6.1/arch/x86/events/ |
D | core.c | 312 ret = wrmsrl_safe(reg, val); in check_hw_exists()
|
/Linux-v6.1/arch/x86/kvm/svm/ |
D | sev.c | 2313 if (WARN_ON_ONCE(wrmsrl_safe(MSR_AMD64_VM_PAGE_FLUSH, addr | asid))) in sev_flush_encrypted_page()
|
/Linux-v6.1/arch/x86/kvm/ |
D | x86.c | 387 ret = wrmsrl_safe(msr, val); in kvm_probe_user_return_msr() 440 err = wrmsrl_safe(kvm_uret_msrs_list[slot], value); in kvm_set_user_return_msr() 13367 else if (wrmsrl_safe(MSR_IA32_SPEC_CTRL, value)) in kvm_spec_ctrl_test_value()
|