Home
last modified time | relevance | path

Searched refs:MSR_CORE_PERF_GLOBAL_CTRL (Results 1 – 12 of 12) 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()
440 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_masked_events_guest_code()
449 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0x7); in intel_masked_events_guest_code()
732 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_run_fixed_counter_guest_code()
737 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, FIXED_PMC_GLOBAL_CTRL_ENABLE(idx)); in intel_run_fixed_counter_guest_code()
739 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_run_fixed_counter_guest_code()
H A Dpmu_counters_test.c280 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, BIT_ULL(i)); in guest_test_arch_event()
299 MSR_CORE_PERF_GLOBAL_CTRL, in guest_test_arch_event()
459 uint64_t global_ctrl = rdmsr(MSR_CORE_PERF_GLOBAL_CTRL); in guest_test_gp_counters()
524 vector = wrmsr_safe(MSR_CORE_PERF_GLOBAL_CTRL, in guest_test_fixed_counters()
533 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, FIXED_PMC_GLOBAL_CTRL_ENABLE(i)); in guest_test_fixed_counters()
535 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in guest_test_fixed_counters()
/linux/arch/x86/xen/
H A Dpmu.c163 case MSR_CORE_PERF_GLOBAL_CTRL: in is_intel_pmu_msr()
220 case MSR_CORE_PERF_GLOBAL_CTRL: in xen_intel_pmu_emulate()
/linux/arch/x86/kvm/
H A Dpmu.c619 case MSR_CORE_PERF_GLOBAL_CTRL: in kvm_pmu_is_valid_msr()
649 case MSR_CORE_PERF_GLOBAL_CTRL: in kvm_pmu_get_msr()
692 case MSR_CORE_PERF_GLOBAL_CTRL: in kvm_pmu_set_msr()
H A Dx86.c345 MSR_CORE_PERF_GLOBAL_CTRL,
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dvmx.c267 rdmsr(MSR_CORE_PERF_GLOBAL_CTRL)); in init_vmcs_host_state()
/linux/arch/x86/include/asm/
H A Dmsr-index.h1174 #define MSR_CORE_PERF_GLOBAL_CTRL 0x0000038f macro
/linux/tools/arch/x86/include/asm/
H A Dmsr-index.h1167 #define MSR_CORE_PERF_GLOBAL_CTRL 0x0000038f macro
/linux/arch/x86/events/intel/
H A Dcore.c2301 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0); in __intel_pmu_disable_all()
2326 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, in __intel_pmu_enable_all()
2446 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0xf); in intel_pmu_nhm_workaround()
2447 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0x0); in intel_pmu_nhm_workaround()
3100 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_pmu_reset()
4583 .msr = MSR_CORE_PERF_GLOBAL_CTRL, in intel_guest_get_msrs()
/linux/arch/x86/events/
H A Dcore.c1561 rdmsrq(MSR_CORE_PERF_GLOBAL_CTRL, ctrl); in perf_event_print_debug()
/linux/arch/x86/kvm/vmx/
H A Dnested.c2773 WARN_ON_ONCE(kvm_set_msr(vcpu, MSR_CORE_PERF_GLOBAL_CTRL, in prepare_vmcs02()
4761 WARN_ON_ONCE(kvm_set_msr(vcpu, MSR_CORE_PERF_GLOBAL_CTRL, in load_vmcs12_host_state()
H A Dvmx.c946 case MSR_CORE_PERF_GLOBAL_CTRL: in clear_atomic_switch_msr()
1002 case MSR_CORE_PERF_GLOBAL_CTRL: in add_atomic_switch_msr()