Searched refs:events_host (Results 1 – 3 of 3) sorted by relevance
40 ctx->pmu_events.events_host |= set; in kvm_set_pmu_events()52 ctx->pmu_events.events_host &= ~clr; in kvm_clr_pmu_events()168 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_guest() local176 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_guest()179 kvm_vcpu_pmu_disable_el0(events_host); in kvm_vcpu_pmu_restore_guest()189 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_host() local197 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_host()199 kvm_vcpu_pmu_enable_el0(events_host); in kvm_vcpu_pmu_restore_host()
589 if (pmu->events_host) in __pmu_switch_to_guest()590 write_sysreg(pmu->events_host, pmcntenclr_el0); in __pmu_switch_to_guest()595 return (pmu->events_host || pmu->events_guest); in __pmu_switch_to_guest()612 if (pmu->events_host) in __pmu_switch_to_host()613 write_sysreg(pmu->events_host, pmcntenset_el0); in __pmu_switch_to_host()
228 u32 events_host; member