Searched refs:wrmsrl_safe (Results 1 – 15 of 15) sorted by relevance
/Linux-v4.19/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 | 912 (void)wrmsrl_safe(hwc->config_base, in p4_pmu_disable_event() 945 (void)wrmsrl_safe(MSR_IA32_PEBS_ENABLE, (u64)bind->metric_pebs); in p4_pmu_enable_pebs() 946 (void)wrmsrl_safe(MSR_P4_PEBS_MATRIX_VERT, (u64)bind->metric_vert); in p4_pmu_enable_pebs() 980 (void)wrmsrl_safe(escr_addr, escr_conf); in p4_pmu_enable_event() 981 (void)wrmsrl_safe(hwc->config_base, in p4_pmu_enable_event() 1372 wrmsrl_safe(reg, 0ULL); in p4_pmu_init()
|
D | core.c | 2179 wrmsrl_safe(x86_pmu_config_addr(idx), 0ull); in intel_pmu_reset() 2180 wrmsrl_safe(x86_pmu_event_addr(idx), 0ull); in intel_pmu_reset() 2183 wrmsrl_safe(MSR_ARCH_PERFMON_FIXED_CTR0 + idx, 0ull); in intel_pmu_reset() 3657 if (wrmsrl_safe(msr, val_tmp) || in check_msr()
|
/Linux-v4.19/drivers/platform/x86/ |
D | intel_turbo_max_3.c | 52 ret = wrmsrl_safe(MSR_OC_MAILBOX, value); in get_oc_core_priority()
|
/Linux-v4.19/arch/x86/lib/ |
D | msr.c | 59 return wrmsrl_safe(msr, m->q); in msr_write()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | common.c | 1556 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)__KERNEL_CS); in syscall_init() 1557 wrmsrl_safe(MSR_IA32_SYSENTER_ESP, (unsigned long)(cpu_entry_stack(cpu) + 1)); in syscall_init() 1558 wrmsrl_safe(MSR_IA32_SYSENTER_EIP, (u64)entry_SYSENTER_compat); in syscall_init() 1561 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)GDT_ENTRY_INVALID_SEG); in syscall_init() 1562 wrmsrl_safe(MSR_IA32_SYSENTER_ESP, 0ULL); in syscall_init() 1563 wrmsrl_safe(MSR_IA32_SYSENTER_EIP, 0ULL); in syscall_init()
|
D | amd.c | 813 wrmsrl_safe(MSR_F15H_IC_CFG, value); in init_amd_bd()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | msr.h | 313 static inline int wrmsrl_safe(u32 msr, u64 val) in wrmsrl_safe() function 386 return wrmsrl_safe(msr_no, q); in wrmsrl_safe_on_cpu()
|
/Linux-v4.19/arch/x86/kernel/ |
D | process_64.c | 642 ret = wrmsrl_safe(MSR_KERNEL_GS_BASE, arg2); in do_arch_prctl_64() 657 ret = wrmsrl_safe(MSR_FS_BASE, arg2); in do_arch_prctl_64()
|
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/ |
D | mce_intel.c | 498 wrmsrl_safe(MSR_PPIN_CTL, val | 2UL); in intel_ppin_init()
|
D | therm_throt.c | 354 wrmsrl_safe(MSR_HWP_STATUS, 0); in intel_thermal_interrupt()
|
/Linux-v4.19/drivers/powercap/ |
D | intel_rapl.c | 853 err = wrmsrl_safe(msr_no, val); in msrl_update_safe()
|
/Linux-v4.19/arch/x86/events/ |
D | core.c | 252 ret = wrmsrl_safe(reg, val); in check_hw_exists()
|
/Linux-v4.19/arch/x86/kvm/ |
D | x86.c | 295 err = wrmsrl_safe(shared_msrs_global.msrs[slot], value); in kvm_set_shared_msr()
|