Searched refs:ARCH_PERFMON_EVENTSEL_ENABLE (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | pmu_event_filter_test.c | 112 wrmsr(MSR_P6_EVNTSEL0, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_guest_code() 114 wrmsr(MSR_P6_EVNTSEL1, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_guest_code() 136 wrmsr(MSR_K7_EVNTSEL0, ARCH_PERFMON_EVENTSEL_ENABLE | in amd_guest_code() 138 wrmsr(MSR_K7_EVNTSEL1, ARCH_PERFMON_EVENTSEL_ENABLE | in amd_guest_code() 442 wrmsr(MSR_P6_EVNTSEL0 + 0, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_masked_events_guest_code() 444 wrmsr(MSR_P6_EVNTSEL0 + 1, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_masked_events_guest_code() 446 wrmsr(MSR_P6_EVNTSEL0 + 2, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_masked_events_guest_code() 463 wrmsr(MSR_K7_EVNTSEL0, ARCH_PERFMON_EVENTSEL_ENABLE | in amd_masked_events_guest_code() 465 wrmsr(MSR_K7_EVNTSEL1, ARCH_PERFMON_EVENTSEL_ENABLE | in amd_masked_events_guest_code() 467 wrmsr(MSR_K7_EVNTSEL2, ARCH_PERFMON_EVENTSEL_ENABLE | in amd_masked_events_guest_code()
|
D | pmu_counters_test.c | 258 ARCH_PERFMON_EVENTSEL_ENABLE | in guest_test_arch_event()
|
/linux-6.12.1/arch/x86/events/intel/ |
D | p6.c | 144 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in p6_pmu_disable_all() 154 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in p6_pmu_enable_all()
|
D | knc.c | 183 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in knc_pmu_disable_event() 194 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in knc_pmu_enable_event()
|
D | core.c | 2438 ARCH_PERFMON_EVENTSEL_ENABLE); in intel_pmu_nhm_workaround() 2856 u64 enable_mask = ARCH_PERFMON_EVENTSEL_ENABLE; in intel_pmu_enable_event() 4275 event->hw.config | ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs() 4278 arr[idx].host &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs() 4280 arr[idx].guest &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs() 4305 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in core_pmu_enable_all()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/ |
D | pmu.h | 34 #define ARCH_PERFMON_EVENTSEL_ENABLE BIT_ULL(22) macro
|
/linux-6.12.1/arch/x86/kvm/ |
D | pmu.h | 177 return pmc->eventsel & ARCH_PERFMON_EVENTSEL_ENABLE; in pmc_speculative_in_use()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | perf_event.h | 31 #define ARCH_PERFMON_EVENTSEL_ENABLE (1ULL << 22) macro
|
/linux-6.12.1/arch/x86/events/ |
D | core.c | 274 if (val & ARCH_PERFMON_EVENTSEL_ENABLE) { in check_hw_exists() 696 if (!(val & ARCH_PERFMON_EVENTSEL_ENABLE)) in x86_pmu_disable_all() 698 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in x86_pmu_disable_all() 752 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in x86_pmu_enable_all() 1431 ARCH_PERFMON_EVENTSEL_ENABLE); in x86_pmu_enable_event()
|
/linux-6.12.1/arch/x86/events/amd/ |
D | core.c | 21 #define AMD_MERGE_EVENT_ENABLE (AMD_MERGE_EVENT | ARCH_PERFMON_EVENTSEL_ENABLE) 781 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in amd_pmu_v2_enable_event()
|
D | uncore.c | 127 wrmsrl(hwc->config_base, (hwc->config | ARCH_PERFMON_EVENTSEL_ENABLE)); in amd_uncore_start()
|
/linux-6.12.1/arch/x86/events/zhaoxin/ |
D | core.c | 347 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in zhaoxin_pmu_enable_event()
|