Home
last modified time | relevance | path

Searched refs:MSR_IA32_PERFCTR0 (Results 1 – 3 of 3) sorted by relevance

/arch/x86/xen/
Dpmu.c63 #define MSR_PMC_ALIAS_MASK (~(MSR_IA32_PERFCTR0 ^ MSR_IA32_PMC0))
178 if ((msr_index_pmc >= MSR_IA32_PERFCTR0) && in is_intel_pmu_msr()
179 (msr_index_pmc < MSR_IA32_PERFCTR0 + in is_intel_pmu_msr()
182 *index = msr_index_pmc - MSR_IA32_PERFCTR0; in is_intel_pmu_msr()
372 msr = MSR_IA32_PERFCTR0 + counter; in xen_intel_read_pmc()
/arch/x86/kvm/vmx/
Dpmu_intel.c21 #define MSR_PMC_FULL_WIDTH_BIT (MSR_IA32_PMC0 - MSR_IA32_PERFCTR0)
228 ret = get_gp_pmc(pmu, msr, MSR_IA32_PERFCTR0) || in intel_is_valid_msr()
245 pmc = pmc ? pmc : get_gp_pmc(pmu, msr, MSR_IA32_PERFCTR0); in intel_msr_idx_to_pmc()
375 if ((pmc = get_gp_pmc(pmu, msr, MSR_IA32_PERFCTR0)) || in intel_pmu_get_msr()
436 if ((pmc = get_gp_pmc(pmu, msr, MSR_IA32_PERFCTR0)) || in intel_pmu_set_msr()
/arch/x86/include/asm/
Dmsr-index.h68 #define MSR_IA32_PERFCTR0 0x000000c1 macro