Searched refs:pmu_ops (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/arch/x86/kvm/ |
D | pmu.c | 217 config = kvm_x86_ops.pmu_ops->find_arch_event(pmc_to_pmu(pmc), in reprogram_gp_counter() 271 kvm_x86_ops.pmu_ops->find_fixed_event(idx), in reprogram_fixed_counter() 280 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->pmc_idx_to_pmc(pmu, pmc_idx); in reprogram_counter() 302 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->pmc_idx_to_pmc(pmu, bit); in kvm_pmu_handle_event() 324 return kvm_x86_ops.pmu_ops->is_valid_rdpmc_ecx(vcpu, idx); in kvm_pmu_is_valid_rdpmc_ecx() 374 pmc = kvm_x86_ops.pmu_ops->rdpmc_ecx_to_pmc(vcpu, idx, &mask); in kvm_pmu_rdpmc() 390 if (kvm_x86_ops.pmu_ops->deliver_pmi) in kvm_pmu_deliver_pmi() 391 kvm_x86_ops.pmu_ops->deliver_pmi(vcpu); in kvm_pmu_deliver_pmi() 398 return kvm_x86_ops.pmu_ops->msr_idx_to_pmc(vcpu, msr) || in kvm_pmu_is_valid_msr() 399 kvm_x86_ops.pmu_ops->is_valid_msr(vcpu, msr); in kvm_pmu_is_valid_msr() [all …]
|
D | pmu.h | 95 return kvm_x86_ops.pmu_ops->pmc_is_enabled(pmc); in pmc_is_enabled()
|
/Linux-v5.15/arch/x86/include/asm/ |
D | kvm_host.h | 1433 const struct kvm_pmu_ops *pmu_ops; member
|
/Linux-v5.15/arch/x86/kvm/svm/ |
D | svm.c | 4622 .pmu_ops = &amd_pmu_ops,
|
/Linux-v5.15/arch/x86/kvm/vmx/ |
D | nested.c | 4798 if (kvm_x86_ops.pmu_ops->is_valid_msr(vcpu, MSR_CORE_PERF_GLOBAL_CTRL)) { in nested_vmx_pmu_entry_exit_ctls_update()
|
D | vmx.c | 7676 .pmu_ops = &intel_pmu_ops,
|