Home
last modified time | relevance | path

Searched refs:wrmsrl_safe (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/events/intel/
Dp6.c164 (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()
Dknc.c185 (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()
Dp4.c913 (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()
1373 wrmsrl_safe(reg, 0ULL); in p4_pmu_init()
Dcore.c2561 wrmsrl_safe(x86_pmu_config_addr(idx), 0ull); in intel_pmu_reset()
2562 wrmsrl_safe(x86_pmu_event_addr(idx), 0ull); in intel_pmu_reset()
2565 wrmsrl_safe(MSR_ARCH_PERFMON_FIXED_CTR0 + idx, 0ull); in intel_pmu_reset()
4509 if (wrmsrl_safe(msr, val_tmp) || in check_msr()
Dlbr.c1773 if (wrmsrl_safe(MSR_ARCH_LBR_DEPTH, lbr_nr)) in intel_pmu_arch_lbr_init()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_turbo_max_3.c44 ret = wrmsrl_safe(MSR_OC_MAILBOX, value); in get_oc_core_priority()
/kernel/linux/linux-5.10/arch/x86/lib/
Dmsr.c59 return wrmsrl_safe(msr, m->q); in msr_write()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dmsr.h322 static inline int wrmsrl_safe(u32 msr, u64 val) in wrmsrl_safe() function
395 return wrmsrl_safe(msr_no, q); in wrmsrl_safe_on_cpu()
/kernel/linux/linux-5.10/drivers/powercap/
Dintel_rapl_msr.c114 ra->err = wrmsrl_safe(msr, val); in rapl_msr_update_func()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Damd.c415 wrmsrl_safe(MSR_AMD_PPIN_CTL, val | 2UL); in amd_detect_ppin()
903 wrmsrl_safe(MSR_F15H_IC_CFG, value); in init_amd_bd()
931 wrmsrl_safe(MSR_ZEN2_SPECTRAL_CHICKEN, value); in init_spectral_chicken()
Dcommon.c1876 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)__KERNEL_CS); in syscall_init()
1877 wrmsrl_safe(MSR_IA32_SYSENTER_ESP, in syscall_init()
1879 wrmsrl_safe(MSR_IA32_SYSENTER_EIP, (u64)entry_SYSENTER_compat); in syscall_init()
1882 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)GDT_ENTRY_INVALID_SEG); in syscall_init()
1883 wrmsrl_safe(MSR_IA32_SYSENTER_ESP, 0ULL); in syscall_init()
1884 wrmsrl_safe(MSR_IA32_SYSENTER_EIP, 0ULL); in syscall_init()
Dintel.c1014 if (wrmsrl_safe(MSR_TEST_CTRL, ctrl)) in split_lock_verify_msr()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dintel.c504 wrmsrl_safe(MSR_PPIN_CTL, val | 2UL); in intel_ppin_init()
Dtherm_throt.c578 wrmsrl_safe(MSR_HWP_STATUS, 0); in intel_thermal_interrupt()
/kernel/linux/linux-5.10/drivers/platform/x86/intel_speed_select_if/
Disst_if_common.c206 wrmsrl_safe(sst_cmd->cmd, sst_cmd->data); in isst_restore_msr_local()
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_device.c181 err = wrmsrl_safe(MSR_IA32_TEMPERATURE_TARGET, val); in tcc_offset_update()
/kernel/linux/linux-5.10/arch/x86/events/
Dcore.c286 ret = wrmsrl_safe(reg, val); in check_hw_exists()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c336 ret = wrmsrl_safe(msr, val); in kvm_probe_user_return_msr()
375 err = wrmsrl_safe(user_return_msrs_global.msrs[slot], value); in kvm_set_user_return_msr()
11421 else if (wrmsrl_safe(MSR_IA32_SPEC_CTRL, value)) in kvm_spec_ctrl_test_value()