Home
last modified time | relevance | path

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

/Linux-v6.6/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()
377 val & pmu->counter_bitmask[KVM_PMC_FIXED]; 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()
499 pmu->counter_bitmask[KVM_PMC_FIXED] = 0; in intel_pmu_refresh()
533 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; in intel_pmu_refresh()
546 pmu->counter_bitmask[KVM_PMC_FIXED] = in intel_pmu_refresh()
/Linux-v6.6/arch/x86/kvm/svm/
Dpmu.c211 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << 48) - 1; in amd_pmu_refresh()
215 pmu->counter_bitmask[KVM_PMC_FIXED] = 0; in amd_pmu_refresh()
/Linux-v6.6/arch/x86/kvm/
Dpmu.h62 return pmu->counter_bitmask[pmc->type]; in pmc_bitmask()
/Linux-v6.6/arch/x86/include/asm/
Dkvm_host.h524 u64 counter_bitmask[2]; member