Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/
H A Dpmu.c48 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() local
186 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() local
206 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()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dswitch.c144 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()
/openbmc/linux/include/kvm/
H A Darm_pmu.h24 u32 events_guest; member