/linux-6.6.21/arch/arm64/include/asm/ |
D | arm_pmuv3.h | 15 return read_sysreg(pmevcntr##n##_el0) 43 u64 dfr0 = read_sysreg(id_aa64dfr0_el1); in read_pmuver() 56 return read_sysreg(pmcr_el0); in read_pmcr() 71 return read_sysreg(pmccntr_el0); in read_pmccntr() 106 return read_sysreg(pmovsclr_el0); in read_pmovsclr() 116 return read_sysreg(pmceid0_el0); in read_pmceid0() 121 return read_sysreg(pmceid1_el0); in read_pmceid1()
|
D | arch_timer.h | 137 return read_sysreg(cntp_ctl_el0); in arch_timer_reg_read_cp15() 144 return read_sysreg(cntv_ctl_el0); in arch_timer_reg_read_cp15() 156 return read_sysreg(cntfrq_el0); in arch_timer_get_cntfrq() 161 return read_sysreg(cntkctl_el1); in arch_timer_get_cntkctl()
|
D | dcc.h | 20 return read_sysreg(mdccsr_el0); in __dcc_getstatus() 25 char c = read_sysreg(dbgdtrrx_el0); in __dcc_getchar()
|
D | daifflags.h | 45 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()
|
D | cpuidle.h | 19 c->daif_bits = read_sysreg(daif); \
|
/linux-6.6.21/tools/testing/selftests/kvm/include/aarch64/ |
D | arch_timer.h | 31 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-6.6.21/arch/arm64/kvm/hyp/include/hyp/ |
D | sysreg-sr.h | 21 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() 63 ctxt_sys_reg(ctxt, TPIDR_EL1) = read_sysreg(tpidr_el1); in __sysreg_save_el1_state() 70 ctxt_sys_reg(ctxt, SP_EL1) = read_sysreg(sp_el1); in __sysreg_save_el1_state() 217 vcpu->arch.ctxt.spsr_abt = read_sysreg(spsr_abt); in __sysreg32_save_state() 218 vcpu->arch.ctxt.spsr_und = read_sysreg(spsr_und); in __sysreg32_save_state() 219 vcpu->arch.ctxt.spsr_irq = read_sysreg(spsr_irq); in __sysreg32_save_state() 220 vcpu->arch.ctxt.spsr_fiq = read_sysreg(spsr_fiq); in __sysreg32_save_state() 222 __vcpu_sys_reg(vcpu, DACR32_EL2) = read_sysreg(dacr32_el2); in __sysreg32_save_state() [all …]
|
D | debug-sr.h | 18 #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()
|
D | switch.h | 53 __vcpu_sys_reg(vcpu, FPEXC32_EL2) = read_sysreg(fpexc32_el2); in __fpsimd_save_fpexc32() 192 ctxt_sys_reg(hctxt, PMUSERENR_EL0) = read_sysreg(pmuserenr_el0); in __activate_traps_common() 197 vcpu->arch.mdcr_el2_host = read_sysreg(mdcr_el2); in __activate_traps_common() 259 vcpu->arch.hcr_el2 |= read_sysreg(hcr_el2) & HCR_VSE; in ___deactivate_traps() 335 if (!(read_sysreg(hcr_el2) & HCR_RW)) in kvm_hyp_handle_fpsimd() 445 val = read_sysreg(hcr_el2); in kvm_hyp_handle_ptrauth() 705 unsigned long elr_el2 = read_sysreg(elr_el2); in __kvm_unexpected_el2_exception()
|
D | fault.h | 67 hpfar = read_sysreg(hpfar_el2); in __get_fault_info()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | entry-common.c | 255 if (system_uses_irq_prio_masking() && read_sysreg(daif)) in arm64_preempt_schedule_irq() 305 __panic_unhandled(regs, desc, read_sysreg(esr_el1)); \ 322 reg = read_sysreg(mdscr_el1); in cortex_a76_erratum_1463225_svc_handler() 394 unsigned long far = read_sysreg(far_el1); in el1_abort() 405 unsigned long far = read_sysreg(far_el1); in el1_pc() 434 unsigned long far = read_sysreg(far_el1); in el1_dbg() 453 unsigned long esr = read_sysreg(esr_el1); in el1h_64_sync_handler() 532 unsigned long esr = read_sysreg(esr_el1); in el1h_64_error_handler() 542 unsigned long far = read_sysreg(far_el1); in el0_da() 552 unsigned long far = read_sysreg(far_el1); in el0_ia() [all …]
|
D | sdei.c | 218 u64 elr = read_sysreg(elr_el1); in do_sdei_event() 219 u32 kernel_mode = read_sysreg(CurrentEL) | 1; /* +SPSel */ in do_sdei_event() 220 unsigned long vbar = read_sysreg(vbar_el1); in do_sdei_event() 235 if (elr != read_sysreg(elr_el1)) { in do_sdei_event()
|
D | crash_core.c | 17 return (read_sysreg(tcr_el1) & TCR_T1SZ_MASK) >> TCR_T1SZ_OFFSET; in get_tcr_el1_t1sz()
|
D | mte.c | 279 BUG_ON(read_sysreg(ttbr0_el1) & TTBR_CNP_BIT); in mte_cpu_setup() 280 BUG_ON(read_sysreg(ttbr1_el1) & TTBR_CNP_BIT); in mte_cpu_setup() 296 rgsr = (read_sysreg(CNTVCT_EL0) & SYS_RGSR_EL1_SEED_MASK) << in mte_cpu_setup()
|
/linux-6.6.21/arch/arm/include/asm/ |
D | arm_pmuv3.h | 96 return read_sysreg(PMEVCNTR##n) 119 return read_sysreg(PMMIR); in read_pmmir() 137 return read_sysreg(PMCR); in read_pmcr() 152 return read_sysreg(PMCCNTR); in read_pmccntr() 187 return read_sysreg(PMOVSR); in read_pmovsclr() 234 u64 val = read_sysreg(PMCEID0); in read_pmceid0() 237 val |= (u64)read_sysreg(PMCEID2) << 32; in read_pmceid0() 244 u64 val = read_sysreg(PMCEID1); in read_pmceid1() 247 val |= (u64)read_sysreg(PMCEID3) << 32; in read_pmceid1()
|
D | arch_gicv3.h | 48 return read_sysreg(a32); \ 75 u32 irqstat = read_sysreg(ICC_IAR1); in gic_read_iar() 90 return read_sysreg(ICC_CTLR); in gic_read_ctlr() 106 return read_sysreg(ICC_SRE); in gic_read_sre() 122 return read_sysreg(ICC_PMR); in gic_read_pmr() 132 return read_sysreg(ICC_RPR); in gic_read_rpr()
|
/linux-6.6.21/tools/testing/selftests/kvm/aarch64/ |
D | debug-exceptions.c | 118 dfr0 = read_sysreg(id_aa64dfr0_el1); in GEN_DEBUG_WRITE_REG() 138 GUEST_ASSERT(read_sysreg(oslsr_el1) & 2); in enable_os_lock() 147 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_MDE; in enable_monitor_debug_exceptions() 230 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_SS; in install_ss() 361 wp_data_addr = read_sysreg(far_el1); in guest_wp_handler() 407 bvr = read_sysreg(dbgbvr0_el1); in guest_code_ss() 408 wvr = read_sysreg(dbgwvr0_el1); in guest_code_ss()
|
/linux-6.6.21/arch/arm64/kvm/ |
D | fpsimd.c | 92 if (read_sysreg(cpacr_el1) & CPACR_EL1_ZEN_EL0EN) in kvm_arch_vcpu_load_fp() 97 if (read_sysreg(cpacr_el1) & CPACR_EL1_SMEN_EL0EN) in kvm_arch_vcpu_load_fp()
|
D | pmu.c | 67 return read_sysreg(pmevtyper##idx##_el0) 116 return read_sysreg(pmccfiltr_el0); in kvm_vcpu_pmu_read_evtype_direct()
|
/linux-6.6.21/tools/lib/perf/ |
D | mmap.c | 299 #define read_sysreg(r) ({ \ macro 307 return read_sysreg(pmccntr_el0); in read_pmccntr() 312 return read_sysreg(pmevcntr##idx##_el0); \ 393 static u64 read_timestamp(void) { return read_sysreg(cntvct_el0); } in read_timestamp()
|
/linux-6.6.21/arch/arm64/kvm/hyp/vhe/ |
D | debug-sr.c | 25 return read_sysreg(mdcr_el2); in __kvm_get_mdcr_el2()
|
D | switch.c | 62 val = read_sysreg(cpacr_el1); in __activate_traps() 310 read_sysreg(hpfar_el2), par, vcpu); in __hyp_call_panic()
|
/linux-6.6.21/drivers/clocksource/ |
D | arm_arch_timer.c | 279 _old = read_sysreg(reg); \ 280 _new = read_sysreg(reg); \ 315 _old = read_sysreg(reg); \ 316 _new = read_sysreg(reg); \ 363 old = read_sysreg(cntpct_el0); in arm64_858921_read_cntpct_el0() 364 new = read_sysreg(cntpct_el0); in arm64_858921_read_cntpct_el0() 372 old = read_sysreg(cntvct_el0); in arm64_858921_read_cntvct_el0() 373 new = read_sysreg(cntvct_el0); in arm64_858921_read_cntvct_el0() 391 _val = read_sysreg(reg); \
|
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/ |
D | timer-sr.c | 31 val = read_sysreg(cnthctl_el2); in __timer_disable_traps()
|
/linux-6.6.21/arch/arm/include/asm/vdso/ |
D | cp15.h | 24 #define read_sysreg(...) __read_sysreg(__VA_ARGS__) macro
|