Home
last modified time | relevance | path

Searched refs:MSR_P6_EVNTSEL0 (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/arch/x86/events/intel/
Dp6.c143 rdmsrl(MSR_P6_EVNTSEL0, val); in p6_pmu_disable_all()
145 wrmsrl(MSR_P6_EVNTSEL0, val); in p6_pmu_disable_all()
153 rdmsrl(MSR_P6_EVNTSEL0, val); in p6_pmu_enable_all()
155 wrmsrl(MSR_P6_EVNTSEL0, val); in p6_pmu_enable_all()
210 .eventsel = MSR_P6_EVNTSEL0,
/linux-6.6.21/arch/x86/kvm/vmx/
Dpmu_intel.c95 return get_gp_pmc(pmu, MSR_P6_EVNTSEL0 + pmc_idx, in intel_pmc_idx_to_pmc()
96 MSR_P6_EVNTSEL0); in intel_pmc_idx_to_pmc()
222 get_gp_pmc(pmu, msr, MSR_P6_EVNTSEL0) || in intel_is_valid_msr()
237 pmc = pmc ? pmc : get_gp_pmc(pmu, msr, MSR_P6_EVNTSEL0); in intel_msr_idx_to_pmc()
379 } else if ((pmc = get_gp_pmc(pmu, msr, MSR_P6_EVNTSEL0))) { in intel_pmu_get_msr()
446 } else if ((pmc = get_gp_pmc(pmu, msr, MSR_P6_EVNTSEL0))) { in intel_pmu_set_msr()
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dpmu_event_filter_test.c161 check_msr(MSR_P6_EVNTSEL0, 0xffff); in intel_guest_code()
167 wrmsr(MSR_P6_EVNTSEL0, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_guest_code()
525 wrmsr(MSR_P6_EVNTSEL0 + 0, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_masked_events_guest_code()
527 wrmsr(MSR_P6_EVNTSEL0 + 1, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_masked_events_guest_code()
529 wrmsr(MSR_P6_EVNTSEL0 + 2, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_masked_events_guest_code()
/linux-6.6.21/arch/x86/xen/
Dpmu.c179 if ((msr_index >= MSR_P6_EVNTSEL0) && in is_intel_pmu_msr()
180 (msr_index < MSR_P6_EVNTSEL0 + intel_num_arch_counters)) { in is_intel_pmu_msr()
181 *index = msr_index - MSR_P6_EVNTSEL0; in is_intel_pmu_msr()
/linux-6.6.21/arch/x86/kernel/cpu/
Dperfctr-watchdog.c93 return msr - MSR_P6_EVNTSEL0; in nmi_evntsel_msr_to_bit()
/linux-6.6.21/tools/arch/x86/include/asm/
Dmsr-index.h523 #define MSR_P6_EVNTSEL0 0x00000186 macro
/linux-6.6.21/arch/x86/include/asm/
Dmsr-index.h523 #define MSR_P6_EVNTSEL0 0x00000186 macro
/linux-6.6.21/arch/x86/kvm/
Dx86.c3901 case MSR_P6_EVNTSEL0 ... MSR_P6_EVNTSEL1: in kvm_set_msr_common()
4087 case MSR_P6_EVNTSEL0 ... MSR_P6_EVNTSEL1: in kvm_get_msr_common()