Searched refs:wrmsrl_safe (Results 1 – 11 of 11) sorted by relevance
/arch/x86/kernel/cpu/ |
D | perf_event_p6.c | 163 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_disable_event() 180 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_enable_event()
|
D | perf_event_knc.c | 184 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_disable_event() 195 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_enable_event()
|
D | perf_event_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 | common.c | 975 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)__KERNEL_CS); in syscall32_cpu_init() 976 wrmsrl_safe(MSR_IA32_SYSENTER_ESP, 0ULL); in syscall32_cpu_init() 977 wrmsrl_safe(MSR_IA32_SYSENTER_EIP, (u64)ia32_sysenter_target); in syscall32_cpu_init()
|
D | perf_event_intel.c | 1328 wrmsrl_safe(x86_pmu_config_addr(idx), 0ull); in intel_pmu_reset() 1329 wrmsrl_safe(x86_pmu_event_addr(idx), 0ull); in intel_pmu_reset() 1332 wrmsrl_safe(MSR_ARCH_PERFMON_FIXED_CTR0 + idx, 0ull); in intel_pmu_reset() 2205 if (wrmsrl_safe(msr, val_tmp) || in check_msr()
|
D | amd.c | 641 wrmsrl_safe(0xc0011021, value); in init_amd_bd()
|
D | perf_event.c | 231 ret = wrmsrl_safe(reg, val); in check_hw_exists()
|
/arch/x86/lib/ |
D | msr.c | 55 return wrmsrl_safe(msr, m->q); in msr_write()
|
/arch/x86/include/asm/ |
D | msr.h | 208 #define wrmsrl_safe(msr, val) wrmsr_safe((msr), (u32)(val), \ macro 279 return wrmsrl_safe(msr_no, q); in wrmsrl_safe_on_cpu()
|
/arch/x86/kernel/ |
D | process_64.c | 573 ret = wrmsrl_safe(MSR_KERNEL_GS_BASE, addr); in do_arch_prctl() 601 ret = wrmsrl_safe(MSR_FS_BASE, addr); in do_arch_prctl()
|
/arch/x86/kvm/ |
D | x86.c | 241 err = wrmsrl_safe(shared_msrs_global.msrs[slot], value); in kvm_set_shared_msr()
|