Home
last modified time | relevance | path

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

/Linux-v4.19/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.c912 (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()
Dcore.c2179 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/
Dintel_turbo_max_3.c52 ret = wrmsrl_safe(MSR_OC_MAILBOX, value); in get_oc_core_priority()
/Linux-v4.19/arch/x86/lib/
Dmsr.c59 return wrmsrl_safe(msr, m->q); in msr_write()
/Linux-v4.19/arch/x86/kernel/cpu/
Dcommon.c1556 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()
Damd.c813 wrmsrl_safe(MSR_F15H_IC_CFG, value); in init_amd_bd()
/Linux-v4.19/arch/x86/include/asm/
Dmsr.h313 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/
Dprocess_64.c642 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/
Dmce_intel.c498 wrmsrl_safe(MSR_PPIN_CTL, val | 2UL); in intel_ppin_init()
Dtherm_throt.c354 wrmsrl_safe(MSR_HWP_STATUS, 0); in intel_thermal_interrupt()
/Linux-v4.19/drivers/powercap/
Dintel_rapl.c853 err = wrmsrl_safe(msr_no, val); in msrl_update_safe()
/Linux-v4.19/arch/x86/events/
Dcore.c252 ret = wrmsrl_safe(reg, val); in check_hw_exists()
/Linux-v4.19/arch/x86/kvm/
Dx86.c295 err = wrmsrl_safe(shared_msrs_global.msrs[slot], value); in kvm_set_shared_msr()