Home
last modified time | relevance | path

Searched refs:events_host (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/arm64/kvm/
H A Dpmu.c46 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() local
187 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() local
207 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()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dswitch.c141 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()
/openbmc/linux/include/kvm/
H A Darm_pmu.h23 u32 events_host; member