Home
last modified time | relevance | path

Searched refs:current_el (Results 1 – 22 of 22) sorted by relevance

/openbmc/u-boot/arch/arm/cpu/armv8/
H A Dsec_firmware.c232 if (current_el() != 3) { in sec_firmware_load_image()
336 if (current_el() == SEC_FIRMWARE_TARGET_EL) in sec_firmware_support_psci_version()
431 current_el()); in sec_firmware_init()
437 if (current_el() != SEC_FIRMWARE_TARGET_EL) in sec_firmware_init()
443 if (current_el() != 3) { in sec_firmware_init()
H A Dexception_level.c46 if (current_el() == 3) { in switch_to_non_secure_mode()
H A Dcache_v8.c412 el = current_el(); in mmu_setup()
/openbmc/u-boot/board/xilinx/versal/
H A Dboard.c17 printf("EL Level:\tEL%d\n", current_el()); in board_init()
26 if (current_el() != 3) in board_early_init_r()
/openbmc/qemu/target/arm/tcg/
H A Dtlb_helper.c119 static bool report_as_gpc_exception(ARMCPU *cpu, int current_el, in report_as_gpc_exception() argument
139 ret = (cpu->env.cp15.scr_el3 & SCR_GPF) && current_el != 3; in report_as_gpc_exception()
177 int current_el = arm_current_el(env); in arm_deliver_fault() local
195 if (report_as_gpc_exception(cpu, current_el, fi)) { in arm_deliver_fault()
242 same_el = current_el == target_el; in arm_deliver_fault()
H A Dtranslate.c1138 if (semihosting_enabled(s->current_el == 0) && in gen_hlt()
2797 if (s->current_el == 1) { in msr_banked_access_decode()
3019 switch (s->current_el) { in do_coproc_insn()
3055 if (!cp_access_ok(s->current_el, ri, isread)) { in do_coproc_insn()
3406 if (s->current_el == 0 || s->current_el == 2) { in gen_srs()
3429 if (s->current_el != 3) { in gen_srs()
4719 s->current_el < 2 && s->ns) { in trans_BXJ()
4790 if (s->current_el == 2) { in trans_ERET()
4814 semihosting_enabled(s->current_el == 0) && in trans_BKPT()
6972 semihosting_enabled(s->current_el == 0) && in trans_SVC()
[all …]
H A Dtranslate-a64.c1668 if (s->current_el == 0) { in trans_ERET()
1694 if (s->current_el == 0) { in trans_ERETA()
2067 if (s->current_el == 0) { in trans_MSR_i_SPSEL()
2150 } else if (s->current_el > 1) { in trans_MSR_i_ALLINT()
2270 switch (s->current_el) { in handle_sys()
2600 if (s->current_el == 0) { in trans_HVC()
2618 if (s->current_el == 0) { in trans_SMC()
3972 if (s->current_el == 0) { in trans_STZGM()
4004 if (s->current_el == 0) { in trans_STGM()
4036 if (s->current_el == 0) { in trans_LDGM()
[all …]
H A Dtranslate.h88 int current_el; member
H A Dtranslate-vfp.c821 if (s->current_el == 1) { in trans_VMSR_VMRS()
/openbmc/u-boot/board/xilinx/zynqmp/
H A Dzynqmp.c181 if (current_el() != 3) { in chip_id()
330 printf("EL Level:\tEL%d\n", current_el()); in board_init()
335 if (current_el() != 3) { in board_init()
385 if (current_el() != 3) in board_early_init_r()
411 if (current_el() > 1) { in do_go_exec()
/openbmc/u-boot/arch/arm/mach-zynqmp/
H A Dcpu.c140 if (current_el() == 3) in zynqmp_get_silicon_version()
234 if (IS_ENABLED(CONFIG_SPL_BUILD) || current_el() == 3) in zynqmp_mmio_write()
251 if (IS_ENABLED(CONFIG_SPL_BUILD) || current_el() == 3) { in zynqmp_mmio_read()
/openbmc/u-boot/arch/arm/include/asm/
H A Dsystem.h133 static inline unsigned int current_el(void) in current_el() function
144 el = current_el(); in get_sctlr()
159 el = current_el(); in set_sctlr()
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dsoc.c418 if (current_el() < 3) in erratum_a008850_early()
439 if (current_el() < 3) in erratum_a008850_post()
618 if (current_el() == 3) { in fsl_lsch2_early_init_f()
628 if (current_el() == 3) in fsl_lsch2_early_init_f()
H A Dcpu.c403 unsigned int el = current_el(); in early_mmu_setup()
480 unsigned int el = current_el(); in final_mmu_setup()
738 if (current_el() == 2) { in get_boot_src()
746 if (current_el() == 3 || !porsr1) { in get_boot_src()
1148 if (current_el() == 3) in timer_init()
H A Dppa.c34 unsigned int el = current_el(); in ppa_init()
/openbmc/u-boot/board/freescale/ls1012afrdm/
H A Dls1012afrdm.c167 if (current_el() == 3) in board_init()
/openbmc/u-boot/board/freescale/ls1012ardb/
H A Dls1012ardb.c148 if (current_el() == 3) in board_init()
/openbmc/u-boot/board/freescale/ls1012aqds/
H A Dls1012aqds.c125 if (current_el() == 3) in board_init()
/openbmc/u-boot/board/freescale/common/
H A Dns_access.c209 if (current_el() == 3) in enable_layerscape_ns_access()
/openbmc/qemu/target/arm/
H A Dcpregs.h1062 static inline bool cp_access_ok(int current_el, in cp_access_ok() argument
1065 return (ri->access >> ((current_el * 2) + isread)) & 1; in cp_access_ok()
H A Dhelper.c3622 int current_el = arm_current_el(env); in do_ats_write() local
3627 if (fi.s1ptw && current_el == 1 in do_ats_write()
3654 if (current_el == 3) { in do_ats_write()
3679 syn = syn_data_abort_no_iss(current_el == target_el, 0, in do_ats_write()
/openbmc/u-boot/arch/arm/mach-tegra/tegra210/
H A Dclock.c1052 if (current_el() == 3) in arch_timer_init()