Searched refs:pmu_ops (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/arch/x86/kvm/ |
D | pmu.c | 214 config = kvm_x86_ops.pmu_ops->find_arch_event(pmc_to_pmu(pmc), in reprogram_gp_counter() 268 kvm_x86_ops.pmu_ops->find_fixed_event(idx), in reprogram_fixed_counter() 277 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->pmc_idx_to_pmc(pmu, pmc_idx); in reprogram_counter() 299 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->pmc_idx_to_pmc(pmu, bit); in kvm_pmu_handle_event() 321 return kvm_x86_ops.pmu_ops->is_valid_rdpmc_ecx(vcpu, idx); in kvm_pmu_is_valid_rdpmc_ecx() 371 pmc = kvm_x86_ops.pmu_ops->rdpmc_ecx_to_pmc(vcpu, idx, &mask); in kvm_pmu_rdpmc() 392 return kvm_x86_ops.pmu_ops->msr_idx_to_pmc(vcpu, msr) || in kvm_pmu_is_valid_msr() 393 kvm_x86_ops.pmu_ops->is_valid_msr(vcpu, msr); in kvm_pmu_is_valid_msr() 399 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->msr_idx_to_pmc(vcpu, msr); in kvm_pmu_mark_pmc_in_use() 407 return kvm_x86_ops.pmu_ops->get_msr(vcpu, msr_info); in kvm_pmu_get_msr() [all …]
|
D | pmu.h | 93 return kvm_x86_ops.pmu_ops->pmc_is_enabled(pmc); in pmc_is_enabled()
|
/Linux-v5.10/arch/x86/include/asm/ |
D | kvm_host.h | 1236 const struct kvm_pmu_ops *pmu_ops; member
|
/Linux-v5.10/arch/x86/kvm/svm/ |
D | svm.c | 4286 .pmu_ops = &amd_pmu_ops,
|
/Linux-v5.10/arch/x86/kvm/vmx/ |
D | nested.c | 4686 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 | 7696 .pmu_ops = &intel_pmu_ops,
|