Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/arch/x86/xen/
H A Dpmu.c162 case MSR_CORE_PERF_GLOBAL_CTRL: in is_intel_pmu_msr()
220 case MSR_CORE_PERF_GLOBAL_CTRL: in xen_intel_pmu_emulate()
/linux-6.15/arch/x86/events/zhaoxin/
H A Dcore.c257 wrmsrl(MSR_CORE_PERF_GLOBAL_CTRL, 0); in zhaoxin_pmu_disable_all()
262 wrmsrl(MSR_CORE_PERF_GLOBAL_CTRL, x86_pmu.intel_ctrl); in zhaoxin_pmu_enable_all()
/linux-6.15/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.c340 MSR_CORE_PERF_GLOBAL_CTRL,
/linux-6.15/tools/testing/selftests/kvm/lib/x86/
H A Dvmx.c267 rdmsr(MSR_CORE_PERF_GLOBAL_CTRL)); in init_vmcs_host_state()
/linux-6.15/arch/x86/include/asm/
H A Dmsr-index.h1162 #define MSR_CORE_PERF_GLOBAL_CTRL 0x0000038f macro
/linux-6.15/tools/arch/x86/include/asm/
H A Dmsr-index.h1154 #define MSR_CORE_PERF_GLOBAL_CTRL 0x0000038f macro
/linux-6.15/arch/x86/events/intel/
H A Dcore.c2288 wrmsrl(MSR_CORE_PERF_GLOBAL_CTRL, 0); in __intel_pmu_disable_all()
2313 wrmsrl(MSR_CORE_PERF_GLOBAL_CTRL, in __intel_pmu_enable_all()
2433 wrmsrl(MSR_CORE_PERF_GLOBAL_CTRL, 0xf); in intel_pmu_nhm_workaround()
2434 wrmsrl(MSR_CORE_PERF_GLOBAL_CTRL, 0x0); in intel_pmu_nhm_workaround()
2994 wrmsrl(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_pmu_reset()
4352 .msr = MSR_CORE_PERF_GLOBAL_CTRL, in intel_guest_get_msrs()
/linux-6.15/arch/x86/events/
H A Dcore.c1553 rdmsrl(MSR_CORE_PERF_GLOBAL_CTRL, ctrl); in perf_event_print_debug()
/linux-6.15/arch/x86/kvm/vmx/
H A Dnested.c2756 WARN_ON_ONCE(kvm_set_msr(vcpu, MSR_CORE_PERF_GLOBAL_CTRL, in prepare_vmcs02()
4737 WARN_ON_ONCE(kvm_set_msr(vcpu, MSR_CORE_PERF_GLOBAL_CTRL, in load_vmcs12_host_state()
H A Dvmx.c993 case MSR_CORE_PERF_GLOBAL_CTRL: in clear_atomic_switch_msr()
1049 case MSR_CORE_PERF_GLOBAL_CTRL: in add_atomic_switch_msr()