Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kvm/vmx/
Dpmu_intel.c138 *mask &= pmu->counter_bitmask[fixed ? KVM_PMC_FIXED : KVM_PMC_GP]; in intel_msr_idx_to_pmc()
186 *data = val & pmu->counter_bitmask[KVM_PMC_GP]; in intel_pmu_get_msr()
272 pmu->counter_bitmask[KVM_PMC_GP] = 0; in intel_pmu_refresh()
291 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; in intel_pmu_refresh()
328 pmu->gp_counters[i].type = KVM_PMC_GP; in intel_pmu_init()
/Linux-v5.4/arch/x86/kvm/
Dpmu_amd.c268 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << 48) - 1; in amd_pmu_refresh()
285 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()
Dpmu.h69 return pmc->type == KVM_PMC_GP; in pmc_is_gp()
/Linux-v5.4/arch/x86/include/asm/
Dkvm_host.h446 KVM_PMC_GP = 0, enumerator