Home
last modified time | relevance | path

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

/arch/arm64/kvm/
Dpmu.c44 ctx->pmu_events.events_host |= set; in kvm_set_pmu_events()
63 ctx->pmu_events.events_host &= ~clr; in kvm_clr_pmu_events()
181 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_guest() local
189 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_guest()
192 kvm_vcpu_pmu_disable_el0(events_host); in kvm_vcpu_pmu_restore_guest()
202 u32 events_guest, events_host; in kvm_vcpu_pmu_restore_host() local
209 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_host()
211 kvm_vcpu_pmu_enable_el0(events_host); in kvm_vcpu_pmu_restore_host()
/arch/arm64/kvm/hyp/nvhe/
Dswitch.c134 if (pmu->events_host) in __pmu_switch_to_guest()
135 write_sysreg(pmu->events_host, pmcntenclr_el0); in __pmu_switch_to_guest()
140 return (pmu->events_host || pmu->events_guest); in __pmu_switch_to_guest()
157 if (pmu->events_host) in __pmu_switch_to_host()
158 write_sysreg(pmu->events_host, pmcntenset_el0); in __pmu_switch_to_host()
/arch/arm64/include/asm/
Dkvm_host.h341 u32 events_host; member