Home
last modified time | relevance | path

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

/linux-6.15/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c199 val = read_sysreg_el0(SYS_CNTP_CVAL); in __deactivate_traps()
320 val = read_sysreg_el0(SYS_CNTP_CTL); in kvm_hyp_handle_timer()
329 val = read_sysreg_el0(SYS_CNTP_CVAL); in kvm_hyp_handle_timer()
346 val = read_sysreg_el0(SYS_CNTV_CTL); in kvm_hyp_handle_timer()
355 val = read_sysreg_el0(SYS_CNTV_CVAL); in kvm_hyp_handle_timer()
/linux-6.15/arch/arm64/include/asm/
H A Dkvm_hyp.h27 #define read_sysreg_el0(r) read_sysreg_s(r##_EL02) macro
61 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) macro
/linux-6.15/arch/arm64/kvm/
H A Darch_timer.c381 cnt_ctl = read_sysreg_el0(SYS_CNTV_CTL); in kvm_timer_should_fire()
385 cnt_ctl = read_sysreg_el0(SYS_CNTP_CTL); in kvm_timer_should_fire()
518 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTV_CTL)); in timer_save_state()
519 cval = read_sysreg_el0(SYS_CNTV_CVAL); in timer_save_state()
549 timer_set_ctl(ctx, read_sysreg_el0(SYS_CNTP_CTL)); in timer_save_state()
550 cval = read_sysreg_el0(SYS_CNTP_CVAL); in timer_save_state()