/Linux-v5.10/arch/arm64/kvm/hyp/include/hyp/ |
D | sysreg-sr.h | 65 write_sysreg(ctxt_sys_reg(ctxt, MDSCR_EL1), mdscr_el1); in __sysreg_restore_common_state() 70 write_sysreg(ctxt_sys_reg(ctxt, TPIDR_EL0), tpidr_el0); in __sysreg_restore_user_state() 71 write_sysreg(ctxt_sys_reg(ctxt, TPIDRRO_EL0), tpidrro_el0); in __sysreg_restore_user_state() 76 write_sysreg(ctxt_sys_reg(ctxt, MPIDR_EL1), vmpidr_el2); in __sysreg_restore_el1_state() 77 write_sysreg(ctxt_sys_reg(ctxt, CSSELR_EL1), csselr_el1); in __sysreg_restore_el1_state() 107 write_sysreg(ctxt_sys_reg(ctxt, PAR_EL1), par_el1); in __sysreg_restore_el1_state() 108 write_sysreg(ctxt_sys_reg(ctxt, TPIDR_EL1), tpidr_el1); in __sysreg_restore_el1_state() 128 write_sysreg(ctxt_sys_reg(ctxt, SP_EL1), sp_el1); in __sysreg_restore_el1_state() 181 write_sysreg(vcpu->arch.ctxt.spsr_abt, spsr_abt); in __sysreg32_restore_state() 182 write_sysreg(vcpu->arch.ctxt.spsr_und, spsr_und); in __sysreg32_restore_state() [all …]
|
D | switch.h | 75 write_sysreg(1 << 30, fpexc32_el2); in __activate_traps_fpsimd32() 83 write_sysreg(1 << 15, hstr_el2); in __activate_traps_common() 91 write_sysreg(0, pmselr_el0); in __activate_traps_common() 92 write_sysreg(ARMV8_PMU_USERENR_MASK, pmuserenr_el0); in __activate_traps_common() 93 write_sysreg(vcpu->arch.mdcr_el2, mdcr_el2); in __activate_traps_common() 98 write_sysreg(0, hstr_el2); in __deactivate_traps_common() 99 write_sysreg(0, pmuserenr_el0); in __deactivate_traps_common() 109 write_sysreg(hcr, hcr_el2); in ___activate_traps() 148 write_sysreg(par, par_el1); in __translate_far_to_hpfar() 239 write_sysreg(reg, cpacr_el1); in __hyp_handle_fpsimd() [all …]
|
D | debug-sr.h | 19 #define write_debug(v,r,n) write_sysreg(v, r##n##_el1) 125 write_sysreg(ctxt_sys_reg(ctxt, MDCCINT_EL1), mdccint_el1); in __debug_restore_state()
|
/Linux-v5.10/arch/arm64/kvm/hyp/nvhe/ |
D | switch.c | 49 write_sysreg(val, cptr_el2); in __activate_traps() 50 write_sysreg(__this_cpu_read(kvm_hyp_vector), vbar_el2); in __activate_traps() 98 write_sysreg(mdcr_el2, mdcr_el2); in __deactivate_traps() 99 write_sysreg(HCR_HOST_NVHE_FLAGS, hcr_el2); in __deactivate_traps() 100 write_sysreg(CPTR_EL2_DEFAULT, cptr_el2); in __deactivate_traps() 101 write_sysreg(__kvm_hyp_host_vector, vbar_el2); in __deactivate_traps() 106 write_sysreg(0, vttbr_el2); in __load_host_stage2() 139 write_sysreg(pmu->events_host, pmcntenclr_el0); in __pmu_switch_to_guest() 142 write_sysreg(pmu->events_guest, pmcntenset_el0); in __pmu_switch_to_guest() 159 write_sysreg(pmu->events_guest, pmcntenclr_el0); in __pmu_switch_to_host() [all …]
|
D | timer-sr.c | 15 write_sysreg(cntvoff, cntvoff_el2); in __kvm_timer_set_cntvoff() 29 write_sysreg(val, cnthctl_el2); in __timer_disable_traps() 47 write_sysreg(val, cnthctl_el2); in __timer_enable_traps()
|
/Linux-v5.10/arch/arm/include/asm/ |
D | arch_gicv3.h | 44 write_sysreg(val, a32); \ 68 write_sysreg(irq, ICC_EOIR1); in CPUIF_MAP() 74 write_sysreg(val, ICC_DIR); in gic_write_dir() 89 write_sysreg(val, ICC_CTLR); in gic_write_ctlr() 100 write_sysreg(val, ICC_IGRPEN1); in gic_write_grpen1() 106 write_sysreg(val, ICC_SGI1R); in gic_write_sgi1r() 116 write_sysreg(val, ICC_SRE); in gic_write_sre() 122 write_sysreg(val, ICC_BPR1); in gic_write_bpr1() 132 write_sysreg(val, ICC_PMR); in gic_write_pmr()
|
/Linux-v5.10/arch/arm64/kvm/hyp/vhe/ |
D | switch.c | 65 write_sysreg(val, cpacr_el1); in __activate_traps() 67 write_sysreg(__this_cpu_read(kvm_hyp_vector), vbar_el1); in __activate_traps() 77 write_sysreg(HCR_HOST_VHE_FLAGS, hcr_el2); in __deactivate_traps() 86 write_sysreg(CPACR_EL1_DEFAULT, cpacr_el1); in __deactivate_traps() 87 write_sysreg(vectors, vbar_el1); in __deactivate_traps() 104 write_sysreg(mdcr_el2, mdcr_el2); in deactivate_traps_vhe_put()
|
D | tlb.c | 59 write_sysreg(val, hcr_el2); in __tlb_switch_to_guest() 69 write_sysreg(0, vttbr_el2); in __tlb_switch_to_host() 70 write_sysreg(HCR_HOST_VHE_FLAGS, hcr_el2); in __tlb_switch_to_host()
|
D | timer-sr.c | 11 write_sysreg(cntvoff, cntvoff_el2); in __kvm_timer_set_cntvoff()
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | arch_timer.h | 110 write_sysreg(val, cntp_ctl_el0); in arch_timer_reg_write_cp15() 113 write_sysreg(val, cntp_tval_el0); in arch_timer_reg_write_cp15() 119 write_sysreg(val, cntv_ctl_el0); in arch_timer_reg_write_cp15() 122 write_sysreg(val, cntv_tval_el0); in arch_timer_reg_write_cp15() 164 write_sysreg(cntkctl, cntkctl_el1); in arch_timer_set_cntkctl()
|
D | hardirq.h | 47 write_sysreg(___hcr | HCR_TGE, hcr_el2); \ 88 write_sysreg(___hcr, hcr_el2); \
|
D | mmu_context.h | 34 write_sysreg(task_pid_nr(next), contextidr_el1); in contextidr_thread_switch() 45 write_sysreg(ttbr, ttbr0_el1); in cpu_set_reserved_ttbr0() 96 write_sysreg(tcr, tcr_el1); in __cpu_set_tcr_t0sz()
|
D | daifflags.h | 117 write_sysreg(flags, daif); in local_daif_restore() 139 write_sysreg(flags, daif); in local_daif_inherit()
|
D | uaccess.h | 117 write_sysreg(ttbr - RESERVED_TTBR0_SIZE, ttbr0_el1); in __uaccess_ttbr0_disable() 120 write_sysreg(ttbr, ttbr1_el1); in __uaccess_ttbr0_disable() 141 write_sysreg(ttbr1, ttbr1_el1); in __uaccess_ttbr0_enable() 145 write_sysreg(ttbr0, ttbr0_el1); in __uaccess_ttbr0_enable()
|
D | dcc.h | 37 write_sysreg((unsigned char)c, dbgdtrtx_el0); in __dcc_putchar()
|
D | kvm_mmu.h | 276 write_sysreg(kern_hyp_va(mmu->kvm)->arch.vtcr, vtcr_el2); 277 write_sysreg(kvm_get_vttbr(mmu), vttbr_el2);
|
/Linux-v5.10/arch/arm/mm/ |
D | pmsa-v7.c | 49 write_sysreg(v, RNGNR); in rgnr_write() 57 write_sysreg(v, DRACR); in dracr_write() 63 write_sysreg(v, DRSR); in drsr_write() 69 write_sysreg(v, DRBAR); in drbar_write() 81 write_sysreg(v, IRACR); in iracr_write() 87 write_sysreg(v, IRSR); in irsr_write() 93 write_sysreg(v, IRBAR); in irbar_write()
|
D | proc-v7-bugs.c | 21 write_sysreg(0, BPIALL); in harden_branch_predictor_bpiall() 26 write_sysreg(0, ICIALLU); in harden_branch_predictor_iciallu()
|
D | pmsa-v8.c | 37 write_sysreg(v, PRSEL); in prsel_write() 42 write_sysreg(v, PRBAR); in prbar_write() 47 write_sysreg(v, PRLAR); in prlar_write()
|
/Linux-v5.10/arch/arm64/kernel/ |
D | process.c | 87 write_sysreg(daif_bits | PSR_I_BIT, daif); in __cpu_do_idle_irqprio() 99 write_sysreg(daif_bits, daif); in __cpu_do_idle_irqprio() 315 write_sysreg(0, tpidr_el0); in tls_thread_flush() 326 write_sysreg(0, tpidrro_el0); in tls_thread_flush() 457 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch() 459 write_sysreg(0, tpidrro_el0); in tls_thread_switch() 461 write_sysreg(*task_user_tls(next), tpidr_el0); in tls_thread_switch() 541 write_sysreg(val, cntkctl_el1); in erratum_1418040_thread_switch()
|
D | perf_event.c | 428 write_sysreg(val, pmevcntr##n##_el0) 435 write_sysreg(val, pmevtyper##n##_el0) 450 write_sysreg(val, pmcr_el0); in armv8pmu_pmcr_write() 561 write_sysreg(value, pmccntr_el0); in armv8pmu_write_counter() 592 write_sysreg(hwc->config_base, pmccfiltr_el0); in armv8pmu_write_event_type() 615 write_sysreg(mask, pmcntenset_el0); in armv8pmu_enable_counter() 632 write_sysreg(mask, pmcntenclr_el0); in armv8pmu_disable_counter() 654 write_sysreg(mask, pmintenset_el1); in armv8pmu_enable_intens() 665 write_sysreg(mask, pmintenclr_el1); in armv8pmu_disable_intens() 668 write_sysreg(mask, pmovsclr_el0); in armv8pmu_disable_intens() [all …]
|
D | syscall.c | 83 write_sysreg(val, mdscr_el1); in cortex_a76_erratum_1463225_svc_handler() 89 write_sysreg(reg, mdscr_el1); in cortex_a76_erratum_1463225_svc_handler()
|
D | debug-monitors.c | 41 write_sysreg(mdscr, mdscr_el1); in mdscr_write() 127 write_sysreg(0, osdlr_el1); in clear_os_lock() 128 write_sysreg(0, oslar_el1); in clear_os_lock()
|
/Linux-v5.10/arch/arm64/kvm/ |
D | regmap.c | 212 write_sysreg(v, spsr_abt); in vcpu_write_spsr32() 215 write_sysreg(v, spsr_und); in vcpu_write_spsr32() 218 write_sysreg(v, spsr_irq); in vcpu_write_spsr32() 221 write_sysreg(v, spsr_fiq); in vcpu_write_spsr32()
|
D | pmu.c | 65 write_sysreg(val, pmevtyper##idx##_el0); \ 127 write_sysreg(val, pmccfiltr_el0); in kvm_vcpu_pmu_write_evtype_direct()
|