Searched refs:MSR_CORE_PERF_GLOBAL_CTRL (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | pmu_event_filter_test.c | 105 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() 737 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_run_fixed_counter_guest_code() 742 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, FIXED_PMC_GLOBAL_CTRL_ENABLE(idx)); in intel_run_fixed_counter_guest_code() 748 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in test_with_fixed_counter_filter()
|
| H A D | pmu_counters_test.c | 311 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, BIT_ULL(i)); in guest_test_arch_event() 328 MSR_CORE_PERF_GLOBAL_CTRL, in guest_test_arch_events() 531 u64 global_ctrl = rdmsr(MSR_CORE_PERF_GLOBAL_CTRL); in guest_test_fixed_counters() 601 vector = wrmsr_safe(MSR_CORE_PERF_GLOBAL_CTRL, in test_intel_counters() 610 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, FIXED_PMC_GLOBAL_CTRL_ENABLE(i)); in test_intel_counters() 612 wrmsr(MSR_CORE_PERF_GLOBAL_CTRL, 0); in test_intel_counters()
|
| /linux/tools/testing/selftests/kvm/lib/x86/ |
| H A D | vmx.c | 280 rdmsr(MSR_CORE_PERF_GLOBAL_CTRL)); in init_vmcs_host_state()
|
| /linux/tools/arch/x86/include/asm/ |
| H A D | msr-index.h | 1240 #define MSR_CORE_PERF_GLOBAL_CTRL 0x0000038f macro
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 1045 case MSR_CORE_PERF_GLOBAL_CTRL: in clear_atomic_switch_msr() 1106 case MSR_CORE_PERF_GLOBAL_CTRL: in add_atomic_switch_msr() 4245 vmx_add_autostore_msr(vmx, MSR_CORE_PERF_GLOBAL_CTRL); in vmx_recalc_pmu_msr_intercepts() 4247 vmx_remove_autostore_msr(vmx, MSR_CORE_PERF_GLOBAL_CTRL); in vmx_recalc_pmu_msr_intercepts() 4278 vmx_set_intercept_for_msr(vcpu, MSR_CORE_PERF_GLOBAL_CTRL, in vmx_recalc_pmu_msr_intercepts() 7388 if (msr_write_intercepted(vmx, MSR_CORE_PERF_GLOBAL_CTRL)) in vmx_refresh_guest_perf_global_control() 7393 MSR_CORE_PERF_GLOBAL_CTRL); in vmx_refresh_guest_perf_global_control()
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 2774 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_pmu_disable_all() 2799 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, in __intel_pmu_enable_all() 2888 * 1) Clear MSR_IA32_PEBS_ENABLE and MSR_CORE_PERF_GLOBAL_CTRL; in intel_pmu_nhm_workaround() 2891 * 3) set bit0~bit3 of MSR_CORE_PERF_GLOBAL_CTRL; in intel_pmu_nhm_workaround() 2892 * 4) Clear MSR_CORE_PERF_GLOBAL_CTRL; in intel_pmu_nhm_workaround() 2919 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0xf); in intel_pmu_nhm_workaround() 2920 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0x0); in intel_pmu_nhm_workaround() 3750 wrmsrq(MSR_CORE_PERF_GLOBAL_CTRL, 0); in intel_pmu_reset() 5318 .msr = MSR_CORE_PERF_GLOBAL_CTRL, in intel_guest_get_msrs()
|