Home
last modified time | relevance | path

Searched refs:nr_arch_gp_counters (Results 1 – 4 of 4) sorted by relevance

/arch/x86/kvm/svm/
Dpmu.c205 return (idx >= pmu->nr_arch_gp_counters); in amd_is_valid_rdpmc_ecx()
216 if (idx >= pmu->nr_arch_gp_counters) in amd_rdpmc_ecx_to_pmc()
292 pmu->nr_arch_gp_counters = AMD64_NUM_COUNTERS_CORE; in amd_pmu_refresh()
294 pmu->nr_arch_gp_counters = AMD64_NUM_COUNTERS; in amd_pmu_refresh()
304 bitmap_set(pmu->all_valid_pmc_idx, 0, pmu->nr_arch_gp_counters); in amd_pmu_refresh()
/arch/x86/kvm/vmx/
Dpmu_intel.c133 return (!fixed && idx >= pmu->nr_arch_gp_counters) || in intel_is_valid_rdpmc_ecx()
151 num_counters = pmu->nr_arch_gp_counters; in intel_rdpmc_ecx_to_pmc()
334 pmu->nr_arch_gp_counters = 0; in intel_pmu_refresh()
357 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh()
379 pmu->global_ctrl = ((1ull << pmu->nr_arch_gp_counters) - 1) | in intel_pmu_refresh()
396 0, pmu->nr_arch_gp_counters); in intel_pmu_refresh()
/arch/x86/kvm/
Dpmu.h108 if (msr >= base && msr < base + pmu->nr_arch_gp_counters) { in get_gp_pmc()
110 pmu->nr_arch_gp_counters); in get_gp_pmc()
/arch/x86/include/asm/
Dkvm_host.h431 unsigned nr_arch_gp_counters; member