Searched refs:events_guest (Results 1 – 3 of 3) sorted by relevance
48 pmu->events_guest |= set; in kvm_set_pmu_events()62 pmu->events_guest &= ~clr; in kvm_clr_pmu_events()179 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_guest() local186 events_guest = pmu->events_guest; in kvm_vcpu_pmu_restore_guest()189 kvm_vcpu_pmu_enable_el0(events_guest); in kvm_vcpu_pmu_restore_guest()200 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_host() local206 events_guest = pmu->events_guest; in kvm_vcpu_pmu_restore_host()210 kvm_vcpu_pmu_disable_el0(events_guest); in kvm_vcpu_pmu_restore_host()
144 if (pmu->events_guest) in __pmu_switch_to_guest()145 write_sysreg(pmu->events_guest, pmcntenset_el0); in __pmu_switch_to_guest()147 return (pmu->events_host || pmu->events_guest); in __pmu_switch_to_guest()157 if (pmu->events_guest) in __pmu_switch_to_host()158 write_sysreg(pmu->events_guest, pmcntenclr_el0); in __pmu_switch_to_host()
24 u32 events_guest; member