/openbmc/qemu/target/arm/tcg/ |
H A D | tlb_helper.c | 61 } else if (!(template_syn & ARM_EL_ISV) || target_el != 2 in merge_syn_data_abort() 96 (target_el == 2 || arm_el_is_aa64(env, target_el) || in compute_fsr_fsc() 176 int target_el = exception_target_el(env); in arm_deliver_fault() local 192 target_el = 2; in arm_deliver_fault() 196 target_el = 3; in arm_deliver_fault() 228 if (fi->gpcf == GPCF_Fail && target_el < 2) { in arm_deliver_fault() 230 target_el = 2; in arm_deliver_fault() 235 target_el = 2; in arm_deliver_fault() 242 same_el = current_el == target_el; in arm_deliver_fault() 262 raise_exception(env, exc, syn, target_el); in arm_deliver_fault() [all …]
|
H A D | op_helper.c | 41 target_el = 3; in exception_target_el() 44 return target_el; in exception_target_el() 59 target_el = 2; in raise_exception() 68 env->exception.target_el = target_el; in raise_exception() 334 int target_el; in check_wfx_trap() local 395 if (target_el) { in HELPER() 442 if (target_el) { in HELPER() 760 int target_el; in HELPER() local 915 int target_el; in HELPER() local 919 target_el = 2; in HELPER() [all …]
|
H A D | psci.c | 145 int target_el = arm_feature(env, ARM_FEATURE_EL2) ? 2 : 1; in arm_handle_psci_call() local 146 bool target_aarch64 = arm_el_is_aa64(env, target_el); in arm_handle_psci_call() 152 target_el, target_aarch64); in arm_handle_psci_call()
|
H A D | pauth_helper.c | 459 void pauth_trap(CPUARMState *env, int target_el, uintptr_t ra) in pauth_trap() argument 461 raise_exception_ra(env, EXCP_UDEF, syn_pactrap(), target_el, ra); in pauth_trap()
|
H A D | translate.h | 343 uint32_t syn, uint32_t target_el);
|
H A D | translate.c | 1059 static void gen_exception_el(int excp, uint32_t syndrome, uint32_t target_el) in gen_exception_el() argument 1061 gen_exception_el_v(excp, syndrome, tcg_constant_i32(target_el)); in gen_exception_el() 1084 uint32_t syn, uint32_t target_el) in gen_exception_insn_el() argument 1087 tcg_constant_i32(target_el)); in gen_exception_insn_el()
|
H A D | m_helper.c | 2210 if (env->exception.target_el == 3) { in arm_v7m_cpu_do_interrupt()
|
H A D | translate-a64.c | 2598 int target_el = s->current_el == 3 ? 3 : 2; in trans_HVC() local 2612 gen_exception_insn_el(s, 4, EXCP_HVC, syn_aa64_hvc(a->imm), target_el); in trans_HVC()
|
/openbmc/qemu/target/arm/ |
H A D | arm-powerctl.c | 56 uint32_t target_el; member 69 arm_emulate_firmware_reset(target_cpu_state, info->target_el); in arm_set_cpu_on_async_work() 73 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 97 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 106 "\n", cpuid, target_el, target_aa64 ? "aarch64" : "aarch32", entry, in arm_set_cpu_on() 110 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() 140 if (((target_el == 3) && !arm_feature(&target_cpu->env, ARM_FEATURE_EL3)) || in arm_set_cpu_on() 141 ((target_el == 2) && !arm_feature(&target_cpu->env, ARM_FEATURE_EL2))) { in arm_set_cpu_on() 180 info->target_el = target_el; in arm_set_cpu_on()
|
H A D | cpu.c | 586 switch (target_el) { in arm_emulate_firmware_reset() 635 if (target_el == 2) { in arm_emulate_firmware_reset() 691 env->cp15.sctlr_el[target_el] & SCTLR_NMI && cur_el == target_el) { in arm_excp_unmasked() 749 if ((target_el > cur_el) && (target_el != 1)) { in arm_excp_unmasked() 834 uint32_t target_el; in arm_cpu_exec_interrupt() local 851 target_el = 1; in arm_cpu_exec_interrupt() 859 target_el = 1; in arm_cpu_exec_interrupt() 899 target_el = 1; in arm_cpu_exec_interrupt() 907 target_el = 1; in arm_cpu_exec_interrupt() 915 target_el = 1; in arm_cpu_exec_interrupt() [all …]
|
H A D | tcg-stubs.c | 20 uint32_t target_el, uintptr_t ra) in raise_exception_ra() argument
|
H A D | arm-powerctl.h | 50 uint32_t target_el, bool target_aa64);
|
H A D | debug_helper.c | 441 int target_el = arm_debug_target_el(env); in arm_debug_exception_fsr() local 446 } else if (target_el == 2 || arm_el_is_aa64(env, target_el)) { in arm_debug_exception_fsr() 452 (env->cp15.tcr_el[target_el] & TTBCR_EAE)) { in arm_debug_exception_fsr()
|
H A D | internals.h | 285 uint32_t syndrome, uint32_t target_el); 291 uint32_t syndrome, uint32_t target_el,
|
H A D | kvm.c | 1415 env->exception.target_el = 1; in kvm_arm_handle_debug() 1959 env->exception.target_el = 1; in kvm_inject_arm_sea() 1965 same_el = arm_current_el(env) == env->exception.target_el; in kvm_inject_arm_sea()
|
H A D | helper.c | 3623 int target_el; in do_ats_write() local 3639 target_el = 3; in do_ats_write() 3645 target_el = 2; in do_ats_write() 3655 target_el = 3; in do_ats_write() 3657 target_el = 2; in do_ats_write() 3667 if (target_el == 2 || arm_el_is_aa64(env, target_el) || in do_ats_write() 10774 int target_el; in arm_phys_excp_target_el() local 10816 assert(target_el > 0); in arm_phys_excp_target_el() 10818 return target_el; in arm_phys_excp_target_el() 11289 if (env->exception.target_el == 2) { in arm_cpu_do_interrupt_aarch32() [all …]
|
H A D | cpu.h | 583 uint32_t target_el; /* EL the exception should be targeted for */ member 1201 void arm_emulate_firmware_reset(CPUState *cpustate, int target_el);
|
/openbmc/qemu/tests/unit/ |
H A D | test-rcu-list.c | 202 int j, target_el; in rcu_q_updater() local 215 target_el = select_random_el(RCU_Q_LEN); in rcu_q_updater() 220 if (target_el == j) { in rcu_q_updater() 231 target_el = select_random_el(RCU_Q_LEN); in rcu_q_updater() 235 if (target_el == j) { in rcu_q_updater()
|
/openbmc/qemu/hw/arm/ |
H A D | boot.c | 734 int target_el = arm_feature(env, ARM_FEATURE_EL2) ? 2 : 1; in do_cpu_reset() local 748 target_el = 3; in do_cpu_reset() 752 arm_emulate_firmware_reset(cs, target_el); in do_cpu_reset()
|
/openbmc/qemu/target/arm/hvf/ |
H A D | hvf.c | 1014 env->exception.target_el = 1; in hvf_raise_exception() 1047 int target_el = 1; in hvf_handle_psci_call() local 1101 target_el, target_aarch64); in hvf_handle_psci_call()
|