/linux/tools/testing/selftests/kvm/aarch64/ |
A D | debug-exceptions.c | 37 write_sysreg(0, osdlr_el1); in reset_debug_state() 38 write_sysreg(0, oslar_el1); in reset_debug_state() 41 write_sysreg(0, mdscr_el1); in reset_debug_state() 43 write_sysreg(0, dbgbvr0_el1); in reset_debug_state() 44 write_sysreg(0, dbgbcr0_el1); in reset_debug_state() 45 write_sysreg(0, dbgwcr0_el1); in reset_debug_state() 46 write_sysreg(0, dbgwvr0_el1); in reset_debug_state() 56 write_sysreg(wcr, dbgwcr0_el1); in install_wp() 63 write_sysreg(mdscr, mdscr_el1); in install_wp() 73 write_sysreg(bcr, dbgbcr0_el1); in install_hw_bp() [all …]
|
/linux/arch/arm64/kvm/hyp/include/hyp/ |
A D | sysreg-sr.h | 86 write_sysreg(ctxt_sys_reg(ctxt, MDSCR_EL1), mdscr_el1); in __sysreg_restore_common_state() 91 write_sysreg(ctxt_sys_reg(ctxt, TPIDR_EL0), tpidr_el0); in __sysreg_restore_user_state() 97 write_sysreg(ctxt_sys_reg(ctxt, MPIDR_EL1), vmpidr_el2); in __sysreg_restore_el1_state() 98 write_sysreg(ctxt_sys_reg(ctxt, CSSELR_EL1), csselr_el1); in __sysreg_restore_el1_state() 128 write_sysreg(ctxt_sys_reg(ctxt, PAR_EL1), par_el1); in __sysreg_restore_el1_state() 129 write_sysreg(ctxt_sys_reg(ctxt, TPIDR_EL1), tpidr_el1); in __sysreg_restore_el1_state() 154 write_sysreg(ctxt_sys_reg(ctxt, SP_EL1), sp_el1); in __sysreg_restore_el1_state() 207 write_sysreg(vcpu->arch.ctxt.spsr_abt, spsr_abt); in __sysreg32_restore_state() 208 write_sysreg(vcpu->arch.ctxt.spsr_und, spsr_und); in __sysreg32_restore_state() 209 write_sysreg(vcpu->arch.ctxt.spsr_irq, spsr_irq); in __sysreg32_restore_state() [all …]
|
A D | switch.h | 80 write_sysreg(1 << 30, fpexc32_el2); in __activate_traps_fpsimd32() 88 write_sysreg(1 << 15, hstr_el2); in __activate_traps_common() 97 write_sysreg(0, pmselr_el0); in __activate_traps_common() 102 write_sysreg(vcpu->arch.mdcr_el2, mdcr_el2); in __activate_traps_common() 107 write_sysreg(vcpu->arch.mdcr_el2_host, mdcr_el2); in __deactivate_traps_common() 109 write_sysreg(0, hstr_el2); in __deactivate_traps_common() 111 write_sysreg(0, pmuserenr_el0); in __deactivate_traps_common() 121 write_sysreg(hcr, hcr_el2); in ___activate_traps() 336 write_sysreg(val, hcr_el2); in kvm_hyp_handle_ptrauth() 505 write_sysreg(fixup, elr_el2); in __kvm_unexpected_el2_exception() [all …]
|
A 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/arch/arm/include/asm/ |
A 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/tools/testing/selftests/kvm/include/aarch64/ |
A D | arch_timer.h | 55 write_sysreg(cval, cntv_cval_el0); in timer_set_cval() 58 write_sysreg(cval, cntp_cval_el0); in timer_set_cval() 86 write_sysreg(tval, cntv_tval_el0); in timer_set_tval() 89 write_sysreg(tval, cntp_tval_el0); in timer_set_tval() 102 write_sysreg(ctl, cntv_ctl_el0); in timer_set_ctl() 105 write_sysreg(ctl, cntp_ctl_el0); in timer_set_ctl()
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
A D | switch.c | 52 write_sysreg(val, cptr_el2); in __activate_traps() 53 write_sysreg(__this_cpu_read(kvm_hyp_vector), vbar_el2); in __activate_traps() 96 write_sysreg(this_cpu_ptr(&kvm_init_params)->hcr_el2, hcr_el2); in __deactivate_traps() 102 write_sysreg(cptr, cptr_el2); in __deactivate_traps() 103 write_sysreg(__kvm_hyp_host_vector, vbar_el2); in __deactivate_traps() 136 write_sysreg(pmu->events_host, pmcntenclr_el0); in __pmu_switch_to_guest() 139 write_sysreg(pmu->events_guest, pmcntenset_el0); in __pmu_switch_to_guest() 156 write_sysreg(pmu->events_guest, pmcntenclr_el0); in __pmu_switch_to_host() 159 write_sysreg(pmu->events_host, pmcntenset_el0); in __pmu_switch_to_host()
|
A 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/arch/arm64/kvm/hyp/vhe/ |
A D | switch.c | 63 write_sysreg(val, cpacr_el1); in __activate_traps() 65 write_sysreg(__this_cpu_read(kvm_hyp_vector), vbar_el1); in __activate_traps() 75 write_sysreg(HCR_HOST_VHE_FLAGS, hcr_el2); in __deactivate_traps() 84 write_sysreg(CPACR_EL1_DEFAULT, cpacr_el1); in __deactivate_traps() 85 write_sysreg(vectors, vbar_el1); in __deactivate_traps()
|
A 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()
|
A D | timer-sr.c | 11 write_sysreg(cntvoff, cntvoff_el2); in __kvm_timer_set_cntvoff()
|
/linux/arch/arm64/include/asm/ |
A D | arch_timer.h | 111 write_sysreg(val, cntp_ctl_el0); in arch_timer_reg_write_cp15() 115 write_sysreg(val, cntp_cval_el0); in arch_timer_reg_write_cp15() 123 write_sysreg(val, cntv_ctl_el0); in arch_timer_reg_write_cp15() 127 write_sysreg(val, cntv_cval_el0); in arch_timer_reg_write_cp15() 172 write_sysreg(cntkctl, cntkctl_el1); in arch_timer_set_cntkctl()
|
A 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() 78 write_sysreg(tcr, tcr_el1); in __cpu_set_tcr_t0sz() 138 write_sysreg(ttbr0, ttbr0_el1); in cpu_install_ttbr0()
|
A D | cpuidle.h | 35 write_sysreg(c->daif_bits | PSR_I_BIT | PSR_F_BIT, \ 47 write_sysreg(c->daif_bits, daif); \
|
A D | hardirq.h | 44 write_sysreg(___hcr | HCR_TGE, hcr_el2); \ 85 write_sysreg(___hcr, hcr_el2); \
|
A D | daifflags.h | 117 write_sysreg(flags, daif); in local_daif_restore() 142 write_sysreg(flags, daif); in local_daif_inherit()
|
A D | uaccess.h | 86 write_sysreg(ttbr - RESERVED_SWAPPER_OFFSET, ttbr0_el1); in __uaccess_ttbr0_disable() 89 write_sysreg(ttbr, ttbr1_el1); in __uaccess_ttbr0_disable() 110 write_sysreg(ttbr1, ttbr1_el1); in __uaccess_ttbr0_enable() 114 write_sysreg(ttbr0, ttbr0_el1); in __uaccess_ttbr0_enable()
|
A D | kvm_mmu.h | 278 write_sysreg(arch->vtcr, vtcr_el2); 279 write_sysreg(kvm_get_vttbr(mmu), vttbr_el2);
|
/linux/arch/arm/mm/ |
A 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()
|
A 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()
|
A 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/arch/arm64/kernel/ |
A D | process.c | 251 write_sysreg(0, tpidr_el0); in tls_thread_flush() 262 write_sysreg(0, tpidrro_el0); in tls_thread_flush() 396 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch() 398 write_sysreg(0, tpidrro_el0); in tls_thread_switch() 400 write_sysreg(*task_user_tls(next), tpidr_el0); in tls_thread_switch() 469 write_sysreg(val, cntkctl_el1); in erratum_1418040_thread_switch()
|
A D | perf_event.c | 458 write_sysreg(val, pmevcntr##n##_el0) 465 write_sysreg(val, pmevtyper##n##_el0) 480 write_sysreg(val, pmcr_el0); in armv8pmu_pmcr_write() 590 write_sysreg(value, pmccntr_el0); in armv8pmu_write_counter() 621 write_sysreg(hwc->config_base, pmccfiltr_el0); in armv8pmu_write_event_type() 644 write_sysreg(mask, pmcntenset_el0); in armv8pmu_enable_counter() 661 write_sysreg(mask, pmcntenclr_el0); in armv8pmu_disable_counter() 683 write_sysreg(mask, pmintenset_el1); in armv8pmu_enable_intens() 694 write_sysreg(mask, pmintenclr_el1); in armv8pmu_disable_intens() 697 write_sysreg(mask, pmovsclr_el0); in armv8pmu_disable_intens() [all …]
|
A 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/arch/arm64/kvm/ |
A D | pmu.c | 65 write_sysreg(val, pmevtyper##idx##_el0); \ 127 write_sysreg(val, pmccfiltr_el0); in kvm_vcpu_pmu_write_evtype_direct()
|