Searched refs:events_host (Results 1 – 3 of 3) sorted by relevance
46 pmu->events_host |= set; in kvm_set_pmu_events()61 pmu->events_host &= ~clr; in kvm_clr_pmu_events()179 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_guest() local187 events_host = pmu->events_host; in kvm_vcpu_pmu_restore_guest()190 kvm_vcpu_pmu_disable_el0(events_host); in kvm_vcpu_pmu_restore_guest()200 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_host() local207 events_host = pmu->events_host; in kvm_vcpu_pmu_restore_host()209 kvm_vcpu_pmu_enable_el0(events_host); in kvm_vcpu_pmu_restore_host()
141 if (pmu->events_host) in __pmu_switch_to_guest()142 write_sysreg(pmu->events_host, pmcntenclr_el0); in __pmu_switch_to_guest()147 return (pmu->events_host || pmu->events_guest); in __pmu_switch_to_guest()160 if (pmu->events_host) in __pmu_switch_to_host()161 write_sysreg(pmu->events_host, pmcntenset_el0); in __pmu_switch_to_host()
23 u32 events_host; member