Home
last modified time | relevance | path

Searched refs:MSR_CORE_PERF_GLOBAL_CTRL (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/kvm/x86/
H A Dpmu_event_filter_test.c105 check_msr(MSR_CORE_PERF_GLOBAL_CTRL, 1); in intel_guest_code()
111 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_guest_code()
116 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0x3); in intel_guest_code()
443 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_masked_events_guest_code()
452 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0x7); in intel_masked_events_guest_code()
735 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_run_fixed_counter_guest_code()
740 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, FIXED_PMC_GLOBAL_CTRL_ENABLE(idx)); in intel_run_fixed_counter_guest_code()
742 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_run_fixed_counter_guest_code()
H A Dpmu_counters_test.c298 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, BIT_ULL(i)); in guest_test_arch_event()
317 MSR_CORE_PERF_GLOBAL_CTRL, in guest_test_arch_event()
480 u64 global_ctrl = rdmsr(MSR_CORE_PERF_GLOBAL_CTRL); in guest_test_gp_counters()
545 vector = wrmsr_safe(MSR_CORE_PERF_GLOBAL_CTRL, in guest_test_fixed_counters()
554 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, FIXED_PMC_GLOBAL_CTRL_ENABLE(i)); in guest_test_fixed_counters()
556 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in guest_test_fixed_counters()
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dvmx.c278 rdmsr(MSR_CORE_PERF_GLOBAL_CTRL)); in init_vmcs_host_state()
/linux/arch/x86/include/asm/
H A Dmsr-index.h1239 #define MSR_CORE_PERF_GLOBAL_CTRL 0x0000038f macro
/linux/tools/arch/x86/include/asm/
H A Dmsr-index.h1229 #define MSR_CORE_PERF_GLOBAL_CTRL 0x0000038f macro
/linux/arch/x86/kvm/vmx/
H A Dvmx.c1037 case MSR_CORE_PERF_GLOBAL_CTRL: in clear_atomic_switch_msr()
1098 case MSR_CORE_PERF_GLOBAL_CTRL: in add_atomic_switch_msr()
4198 vmx_add_autostore_msr(vmx, MSR_CORE_PERF_GLOBAL_CTRL); in vmx_recalc_pmu_msr_intercepts()
4200 vmx_remove_autostore_msr(vmx, MSR_CORE_PERF_GLOBAL_CTRL); in vmx_recalc_pmu_msr_intercepts()
4231 vmx_set_intercept_for_msr(vcpu, MSR_CORE_PERF_GLOBAL_CTRL, in vmx_recalc_pmu_msr_intercepts()
7360 if (msr_write_intercepted(vmx, MSR_CORE_PERF_GLOBAL_CTRL)) in vmx_refresh_guest_perf_global_control()
7365 MSR_CORE_PERF_GLOBAL_CTRL); in vmx_refresh_guest_perf_global_control()
H A Dnested.c660 nested_vmx_merge_msr_bitmaps_rw(MSR_CORE_PERF_GLOBAL_CTRL); in nested_vmx_merge_pmu_msr_bitmaps()
2832 WARN_ON_ONCE(__kvm_emulate_msr_write(vcpu, MSR_CORE_PERF_GLOBAL_CTRL, in prepare_vmcs02()
4849 WARN_ON_ONCE(__kvm_emulate_msr_write(vcpu, MSR_CORE_PERF_GLOBAL_CTRL, in load_vmcs12_host_state()
/linux/arch/x86/events/intel/
H A Dcore.c2512 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0); in __intel_pmu_disable_all()
2537 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, in __intel_pmu_enable_all()
2657 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0xf); in intel_pmu_nhm_workaround()
2658 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0x0); in intel_pmu_nhm_workaround()
3476 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_pmu_reset()
5039 .msr = MSR_CORE_PERF_GLOBAL_CTRL, in intel_guest_get_msrs()
/linux/arch/x86/events/
H A Dcore.c1581 rdmsrq(MSR_CORE_PERF_GLOBAL_CTRL, ctrl); in perf_event_print_debug()
/linux/arch/x86/kvm/
H A Dx86.c365 MSR_CORE_PERF_GLOBAL_CTRL,