Home
last modified time | relevance | path

Searched refs:eventsel (Results 1 – 7 of 7) sorted by relevance

/arch/x86/kvm/
Dpmu.c23 u8 eventsel; member
198 if (arch_events[i].eventsel == event_select in find_arch_event()
209 static void reprogram_gp_counter(struct kvm_pmc *pmc, u64 eventsel) in reprogram_gp_counter() argument
214 if (eventsel & ARCH_PERFMON_EVENTSEL_PIN_CONTROL) in reprogram_gp_counter()
217 pmc->eventsel = eventsel; in reprogram_gp_counter()
221 if (!(eventsel & ARCH_PERFMON_EVENTSEL_ENABLE) || !pmc_enabled(pmc)) in reprogram_gp_counter()
224 event_select = eventsel & ARCH_PERFMON_EVENTSEL_EVENT; in reprogram_gp_counter()
225 unit_mask = (eventsel & ARCH_PERFMON_EVENTSEL_UMASK) >> 8; in reprogram_gp_counter()
227 if (!(eventsel & (ARCH_PERFMON_EVENTSEL_EDGE | in reprogram_gp_counter()
237 config = eventsel & X86_RAW_EVENT_MASK; in reprogram_gp_counter()
[all …]
/arch/x86/kernel/cpu/
Dperf_event_p6.c116 .eventsel = MSR_P6_EVNTSEL0,
Dperf_event.h313 unsigned eventsel; member
443 return x86_pmu.eventsel + x86_pmu_addr_offset(index); in x86_pmu_config_addr()
Dperf_event_amd.c431 .eventsel = MSR_K7_EVNTSEL0,
606 .eventsel = MSR_F15H_PERF_CTL,
Dperf_event_intel.c1467 .eventsel = MSR_ARCH_PERFMON_EVENTSEL0,
1605 .eventsel = MSR_ARCH_PERFMON_EVENTSEL0,
Dperf_event_p4.c1292 .eventsel = MSR_P4_BPU_CCCR0,
/arch/x86/include/asm/
Dkvm_host.h298 u64 eventsel; member