Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kvm/
Dpmu.h24 #define KVM_FIXED_PMC_BASE_IDX INTEL_PMC_IDX_FIXED macro
85 idx -= KVM_FIXED_PMC_BASE_IDX; in kvm_pmc_idx_to_pmc()
174 pmc->idx - KVM_FIXED_PMC_BASE_IDX) & in pmc_speculative_in_use()
Dpmu.c417 int fixed_idx = idx - KVM_FIXED_PMC_BASE_IDX; in is_fixed_event_allowed()
471 pmc->idx - KVM_FIXED_PMC_BASE_IDX); in reprogram_counter()
848 pmc->idx - KVM_FIXED_PMC_BASE_IDX); in cpl_is_matched()
/linux-6.12.1/arch/x86/kvm/vmx/
Dpmu_intel.c53 __set_bit(KVM_FIXED_PMC_BASE_IDX + i, pmu->pmc_in_use); in reprogram_fixed_counters()
516 (((1ull << pmu->nr_arch_fixed_counters) - 1) << KVM_FIXED_PMC_BASE_IDX)); in intel_pmu_refresh()
583 pmu->fixed_counters[i].idx = i + KVM_FIXED_PMC_BASE_IDX; in intel_pmu_init()