Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/vmx/
Dpmu_intel.c157 *mask &= pmu->counter_bitmask[fixed ? KVM_PMC_FIXED : KVM_PMC_GP]; in intel_rdpmc_ecx_to_pmc()
372 val & pmu->counter_bitmask[KVM_PMC_GP]; in intel_pmu_get_msr()
433 (data & ~pmu->counter_bitmask[KVM_PMC_GP])) in intel_pmu_set_msr()
498 pmu->counter_bitmask[KVM_PMC_GP] = 0; in intel_pmu_refresh()
533 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; in intel_pmu_refresh()
615 pmu->gp_counters[i].type = KVM_PMC_GP; in intel_pmu_init()
/linux-6.6.21/arch/x86/kvm/svm/
Dpmu.c211 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << 48) - 1; in amd_pmu_refresh()
229 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()
/linux-6.6.21/arch/x86/kvm/
Dpmu.h85 return pmc->type == KVM_PMC_GP; in pmc_is_gp()
/linux-6.6.21/arch/x86/include/asm/
Dkvm_host.h486 KVM_PMC_GP = 0, enumerator