Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kvm/
Dpmu.c50 pmu->events_guest |= set; in kvm_set_pmu_events()
64 pmu->events_guest &= ~clr; in kvm_clr_pmu_events()
134 u64 events_guest, events_host; in kvm_vcpu_pmu_restore_guest() local
141 events_guest = pmu->events_guest; in kvm_vcpu_pmu_restore_guest()
144 kvm_vcpu_pmu_enable_el0(events_guest); in kvm_vcpu_pmu_restore_guest()
155 u64 events_guest, events_host; in kvm_vcpu_pmu_restore_host() local
161 events_guest = pmu->events_guest; in kvm_vcpu_pmu_restore_host()
165 kvm_vcpu_pmu_disable_el0(events_guest); in kvm_vcpu_pmu_restore_host()
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Dswitch.c143 if (pmu->events_guest) in __pmu_switch_to_guest()
144 write_sysreg(pmu->events_guest, pmcntenset_el0); in __pmu_switch_to_guest()
146 return (pmu->events_host || pmu->events_guest); in __pmu_switch_to_guest()
156 if (pmu->events_guest) in __pmu_switch_to_host()
157 write_sysreg(pmu->events_guest, pmcntenclr_el0); in __pmu_switch_to_host()
/linux-6.12.1/include/kvm/
Darm_pmu.h23 u64 events_guest; member