Searched refs:events_guest (Results 1 – 3 of 3) sorted by relevance
46 ctx->pmu_events.events_guest |= set; in kvm_set_pmu_events()64 ctx->pmu_events.events_guest &= ~clr; in kvm_clr_pmu_events()181 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_guest() local188 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_guest()191 kvm_vcpu_pmu_enable_el0(events_guest); in kvm_vcpu_pmu_restore_guest()202 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_host() local208 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_host()212 kvm_vcpu_pmu_disable_el0(events_guest); in kvm_vcpu_pmu_restore_host()
137 if (pmu->events_guest) in __pmu_switch_to_guest()138 write_sysreg(pmu->events_guest, pmcntenset_el0); in __pmu_switch_to_guest()140 return (pmu->events_host || pmu->events_guest); in __pmu_switch_to_guest()154 if (pmu->events_guest) in __pmu_switch_to_host()155 write_sysreg(pmu->events_guest, pmcntenclr_el0); in __pmu_switch_to_host()
342 u32 events_guest; member