Searched refs:kvm_pmu (Results 1 – 11 of 11) sorted by relevance
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_pmu.c | 167 static int kvm_pmu_get_programmable_pmc_index(struct kvm_pmu *kvpmu, unsigned long eidx, in kvm_pmu_get_programmable_pmc_index() 196 static int pmu_get_pmc_index(struct kvm_pmu *pmu, unsigned long eidx, in pmu_get_pmc_index() 212 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu); in pmu_fw_ctr_read_hi() 250 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu); in pmu_ctr_read() 284 static int kvm_pmu_validate_counter_mask(struct kvm_pmu *kvpmu, unsigned long ctr_base, in kvm_pmu_validate_counter_mask() 302 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu); in kvm_riscv_pmu_overflow() 371 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu); in kvm_riscv_vcpu_pmu_incr_fw() 388 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu); in kvm_riscv_vcpu_pmu_read_hpm() 421 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu); in kvm_pmu_clear_snapshot_area() 432 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu); in kvm_riscv_vcpu_pmu_snapshot_set_shmem() [all …]
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | pmu_intel.c | 58 static void reprogram_fixed_counters(struct kvm_pmu *pmu, u64 data) in reprogram_fixed_counters() 92 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_rdpmc_ecx_to_pmc() 141 static inline struct kvm_pmc *get_fw_gp_pmc(struct kvm_pmu *pmu, u32 msr) in get_fw_gp_pmc() 185 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr() 219 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_msr_idx_to_pmc() 246 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_create_guest_lbr_event() 344 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_get_msr() 387 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_set_msr() 496 static void intel_pmu_enable_fixed_counter_bits(struct kvm_pmu *pmu, u64 bits) in intel_pmu_enable_fixed_counter_bits() 506 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_refresh() [all …]
|
| H A D | vmx.h | 667 u64 __intel_pmu_compute_pebs_enable(struct kvm_pmu *pmu); 669 static inline u64 intel_pmu_compute_pebs_enable(struct kvm_pmu *pmu) in intel_pmu_compute_pebs_enable()
|
| H A D | vmx.c | 4233 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in vmx_recalc_pmu_msr_intercepts() 7361 struct kvm_pmu *pmu = vcpu_to_pmu(&vmx->vcpu); in atomic_switch_perf_msrs() 7387 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in vmx_refresh_guest_perf_global_control()
|
| H A D | nested.c | 705 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in nested_vmx_merge_pmu_msr_bitmaps()
|
| /linux/arch/x86/kvm/ |
| H A D | pmu.c | 202 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in __kvm_perf_overflow() 281 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_reprogram_counter() 552 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_mediated_pmu_refresh_event_filter() 570 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in reprogram_counter() 638 void kvm_pmu_recalc_pmc_emulation(struct kvm_pmu *pmu, struct kvm_pmc *pmc) in kvm_pmu_recalc_pmc_emulation() 663 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_handle_event() 753 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_rdpmc() 778 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_need_any_pmc_intercept() 801 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_need_rdpmc_intercept() 832 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_mark_pmc_in_use() [all …]
|
| H A D | x86.c | 2537 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_arch_vcpu_load()
|
| /linux/arch/x86/include/asm/ |
| H A D | kvm_host.h | 570 struct kvm_pmu { struct 920 struct kvm_pmu pmu;
|
| /linux/arch/x86/kvm/svm/ |
| H A D | svm.h | 911 struct kvm_pmu *pmu = vcpu_to_pmu(&svm->vcpu); in __svm_pmu_handle_nested_transition()
|
| H A D | svm.c | 751 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in svm_recalc_pmu_msr_intercepts()
|
| /linux/arch/arm64/include/asm/ |
| H A D | kvm_host.h | 922 struct kvm_pmu pmu;
|