Home
last modified time | relevance | path

Searched refs:kvm_pmu (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/arch/x86/kvm/
Dpmu_amd.c49 static unsigned int get_msr_base(struct kvm_pmu *pmu, enum pmu_type type) in get_msr_base()
100 static inline struct kvm_pmc *get_gp_pmc_amd(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc_amd()
131 static unsigned amd_find_arch_event(struct kvm_pmu *pmu, in amd_find_arch_event()
162 static struct kvm_pmc *amd_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in amd_pmc_idx_to_pmc()
181 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_msr_idx()
191 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_msr_idx_to_pmc()
204 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_msr()
215 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_get_msr()
236 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_set_msr()
263 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_refresh()
[all …]
Dpmu_intel.c38 static void reprogram_fixed_counters(struct kvm_pmu *pmu, u64 data) in reprogram_fixed_counters()
59 static void global_ctrl_changed(struct kvm_pmu *pmu, u64 data) in global_ctrl_changed()
70 static unsigned intel_find_arch_event(struct kvm_pmu *pmu, in intel_find_arch_event()
99 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_is_enabled()
104 static struct kvm_pmc *intel_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in intel_pmc_idx_to_pmc()
119 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr_idx()
131 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_msr_idx_to_pmc()
147 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr()
169 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_get_msr()
201 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_set_msr()
[all …]
Dpmu.h23 unsigned (*find_arch_event)(struct kvm_pmu *pmu, u8 event_select,
27 struct kvm_pmc *(*pmc_idx_to_pmc)(struct kvm_pmu *pmu, int pmc_idx);
40 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask()
85 static inline struct kvm_pmc *get_gp_pmc(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc()
95 static inline struct kvm_pmc *get_fixed_pmc(struct kvm_pmu *pmu, u32 msr) in get_fixed_pmc()
107 void reprogram_counter(struct kvm_pmu *pmu, int pmc_idx);
Dpmu.c52 struct kvm_pmu *pmu = container_of(irq_work, struct kvm_pmu, irq_work); in kvm_pmi_trigger_fn()
63 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow()
77 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow_intr()
203 void reprogram_counter(struct kvm_pmu *pmu, int pmc_idx) in reprogram_counter()
223 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_handle_event()
334 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_reset()
342 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_init()
/Linux-v4.19/virt/kvm/arm/
Dpmu.c35 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_get_counter_value()
96 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_vcpu_reset()
113 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_vcpu_destroy()
147 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_enable_counter()
176 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_disable_counter()
208 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_update_state()
229 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_should_notify_user()
278 struct kvm_pmu *pmu; in kvm_pmc_to_vcpu()
282 pmu = container_of(pmc, struct kvm_pmu, pmc[0]); in kvm_pmc_to_vcpu()
343 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_handle_pmcr()
[all …]
/Linux-v4.19/include/kvm/
Darm_pmu.h34 struct kvm_pmu { struct
68 struct kvm_pmu { struct
/Linux-v4.19/arch/arm64/include/asm/
Dkvm_host.h258 struct kvm_pmu pmu;
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h419 struct kvm_pmu { struct
670 struct kvm_pmu pmu;