Home
last modified time | relevance | path

Searched refs:read_sysreg (Results 1 – 25 of 55) sorted by relevance

123

/linux/arch/arm64/kvm/hyp/include/hyp/
A Dsysreg-sr.h21 ctxt_sys_reg(ctxt, MDSCR_EL1) = read_sysreg(mdscr_el1); in __sysreg_save_common_state()
26 ctxt_sys_reg(ctxt, TPIDR_EL0) = read_sysreg(tpidr_el0); in __sysreg_save_user_state()
27 ctxt_sys_reg(ctxt, TPIDRRO_EL0) = read_sysreg(tpidrro_el0); in __sysreg_save_user_state()
42 ctxt_sys_reg(ctxt, CSSELR_EL1) = read_sysreg(csselr_el1); in __sysreg_save_el1_state()
58 ctxt_sys_reg(ctxt, TPIDR_EL1) = read_sysreg(tpidr_el1); in __sysreg_save_el1_state()
65 ctxt_sys_reg(ctxt, SP_EL1) = read_sysreg(sp_el1); in __sysreg_save_el1_state()
190 vcpu->arch.ctxt.spsr_abt = read_sysreg(spsr_abt); in __sysreg32_save_state()
191 vcpu->arch.ctxt.spsr_und = read_sysreg(spsr_und); in __sysreg32_save_state()
192 vcpu->arch.ctxt.spsr_irq = read_sysreg(spsr_irq); in __sysreg32_save_state()
193 vcpu->arch.ctxt.spsr_fiq = read_sysreg(spsr_fiq); in __sysreg32_save_state()
[all …]
A Dswitch.h65 __vcpu_sys_reg(vcpu, FPEXC32_EL2) = read_sysreg(fpexc32_el2); in __fpsimd_save_fpexc32()
101 vcpu->arch.mdcr_el2_host = read_sysreg(mdcr_el2); in __activate_traps_common()
137 vcpu->arch.hcr_el2 |= read_sysreg(hcr_el2) & HCR_VSE; in ___deactivate_traps()
224 if (!(read_sysreg(hcr_el2) & HCR_RW)) in kvm_hyp_handle_fpsimd()
334 val = read_sysreg(hcr_el2); in kvm_hyp_handle_ptrauth()
491 unsigned long elr_el2 = read_sysreg(elr_el2); in __kvm_unexpected_el2_exception()
A Ddebug-sr.h18 #define read_debug(r,n) read_sysreg(r##n##_el1)
97 aa64dfr0 = read_sysreg(id_aa64dfr0_el1); in __debug_save_state()
106 ctxt_sys_reg(ctxt, MDCCINT_EL1) = read_sysreg(mdccint_el1); in __debug_save_state()
115 aa64dfr0 = read_sysreg(id_aa64dfr0_el1); in __debug_restore_state()
A Dfault.h67 hpfar = read_sysreg(hpfar_el2); in __get_fault_info()
/linux/tools/testing/selftests/kvm/include/aarch64/
A Darch_timer.h31 return read_sysreg(cntfrq_el0); in timer_get_cntfrq()
40 return read_sysreg(cntvct_el0); in timer_get_cntct()
42 return read_sysreg(cntpct_el0); in timer_get_cntct()
71 return read_sysreg(cntv_cval_el0); in timer_get_cval()
73 return read_sysreg(cntp_cval_el0); in timer_get_cval()
118 return read_sysreg(cntv_ctl_el0); in timer_get_ctl()
120 return read_sysreg(cntp_ctl_el0); in timer_get_ctl()
/linux/arch/arm64/kernel/
A Dentry-common.c300 reg = read_sysreg(mdscr_el1); in cortex_a76_erratum_1463225_svc_handler()
342 unsigned long far = read_sysreg(far_el1); in el1_abort()
353 unsigned long far = read_sysreg(far_el1); in el1_pc()
373 unsigned long far = read_sysreg(far_el1); in el1_dbg()
392 unsigned long esr = read_sysreg(esr_el1); in el1h_64_sync_handler()
475 unsigned long esr = read_sysreg(esr_el1); in el1h_64_error_handler()
485 unsigned long far = read_sysreg(far_el1); in el0_da()
495 unsigned long far = read_sysreg(far_el1); in el0_ia()
545 unsigned long far = read_sysreg(far_el1); in el0_pc()
591 unsigned long far = read_sysreg(far_el1); in el0_dbg()
[all …]
A Dsdei.c247 u64 elr = read_sysreg(elr_el1); in do_sdei_event()
248 u32 kernel_mode = read_sysreg(CurrentEL) | 1; /* +SPSel */ in do_sdei_event()
249 unsigned long vbar = read_sysreg(vbar_el1); in do_sdei_event()
264 if (elr != read_sysreg(elr_el1)) { in do_sdei_event()
A Dprocess.c344 *task_user_tls(p) = read_sysreg(tpidr_el0); in copy_thread()
388 *task_user_tls(current) = read_sysreg(tpidr_el0); in tls_preserve_current_state()
462 val = read_sysreg(cntkctl_el1); in erratum_1418040_thread_switch()
A Dcrash_core.c16 return (read_sysreg(tcr_el1) & TCR_T1SZ_MASK) >> TCR_T1SZ_OFFSET; in get_tcr_el1_t1sz()
A Dperf_event.c450 return read_sysreg(pmevcntr##n##_el0)
473 return read_sysreg(pmcr_el0); in armv8pmu_pmcr_read()
555 value = read_sysreg(pmccntr_el0); in armv8pmu_read_counter()
712 value = read_sysreg(pmovsclr_el0); in armv8pmu_getreset_flags()
1055 dfr0 = read_sysreg(id_aa64dfr0_el1); in __armv8pmu_probe_pmu()
1071 pmceid[0] = pmceid_raw[0] = read_sysreg(pmceid0_el0); in __armv8pmu_probe_pmu()
1072 pmceid[1] = pmceid_raw[1] = read_sysreg(pmceid1_el0); in __armv8pmu_probe_pmu()
/linux/arch/arm/include/asm/
A Darch_gicv3.h48 return read_sysreg(a32); \
80 u32 irqstat = read_sysreg(ICC_IAR1); in gic_read_iar()
95 return read_sysreg(ICC_CTLR); in gic_read_ctlr()
111 return read_sysreg(ICC_SRE); in gic_read_sre()
127 return read_sysreg(ICC_PMR); in gic_read_pmr()
137 return read_sysreg(ICC_RPR); in gic_read_rpr()
/linux/arch/arm64/include/asm/
A Darch_timer.h143 return read_sysreg(cntp_ctl_el0); in arch_timer_reg_read_cp15()
150 return read_sysreg(cntv_ctl_el0); in arch_timer_reg_read_cp15()
162 return read_sysreg(cntfrq_el0); in arch_timer_get_cntfrq()
167 return read_sysreg(cntkctl_el1); in arch_timer_get_cntkctl()
A Ddcc.h20 return read_sysreg(mdccsr_el0); in __dcc_getstatus()
25 char c = read_sysreg(dbgdtrrx_el0); in __dcc_getchar()
A Ddaifflags.h45 flags = read_sysreg(daif); in local_daif_save_flags()
72 (read_sysreg(daif) & (PSR_I_BIT | PSR_F_BIT)) != (PSR_I_BIT | PSR_F_BIT)); in local_daif_restore()
A Dvirt.h108 return read_sysreg(CurrentEL) == CurrentEL_EL2; in is_kernel_in_hyp_mode()
A Dcpuidle.h34 c->daif_bits = read_sysreg(daif); \
A Dhardirq.h42 ___hcr = read_sysreg(hcr_el2); \
/linux/tools/testing/selftests/kvm/aarch64/
A Ddebug-exceptions.c62 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_MDE; in install_wp()
79 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_MDE; in install_hw_bp()
90 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_SS; in install_ss()
172 wp_data_addr = read_sysreg(far_el1); in guest_wp_handler()
/linux/arch/arm64/kvm/hyp/nvhe/
A Dtimer-sr.c27 val = read_sysreg(cnthctl_el2); in __timer_disable_traps()
44 val = read_sysreg(cnthctl_el2); in __timer_enable_traps()
/linux/arch/arm64/kvm/hyp/vhe/
A Dswitch.c40 val = read_sysreg(cpacr_el1); in __activate_traps()
222 read_sysreg(hpfar_el2), par, vcpu); in __hyp_call_panic()
A Ddebug-sr.c25 return read_sysreg(mdcr_el2); in __kvm_get_mdcr_el2()
/linux/drivers/clocksource/
A Darm_arch_timer.c260 _old = read_sysreg(reg); \
261 _new = read_sysreg(reg); \
296 _old = read_sysreg(reg); \
297 _new = read_sysreg(reg); \
344 old = read_sysreg(cntpct_el0); in arm64_858921_read_cntpct_el0()
345 new = read_sysreg(cntpct_el0); in arm64_858921_read_cntpct_el0()
353 old = read_sysreg(cntvct_el0); in arm64_858921_read_cntvct_el0()
354 new = read_sysreg(cntvct_el0); in arm64_858921_read_cntvct_el0()
372 _val = read_sysreg(reg); \
/linux/arch/arm64/kvm/
A Dpmu.c61 return read_sysreg(pmevtyper##idx##_el0)
110 return read_sysreg(pmccfiltr_el0); in kvm_vcpu_pmu_read_evtype_direct()
/linux/arch/arm/include/asm/vdso/
A Dcp15.h24 #define read_sysreg(...) __read_sysreg(__VA_ARGS__) macro
/linux/arch/arm/mm/
A Dpmsa-v8.c27 return read_sysreg(PRLAR); in prlar_read()
32 return read_sysreg(PRBAR); in prbar_read()

Completed in 40 milliseconds

123