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.c365 TCGv_i32 tcg_el = tcg_constant_i32(s->current_el); in gen_rebuild_hflags()
1138 if (semihosting_enabled(s->current_el == 0) && in gen_hlt()
2797 if (s->current_el == 1) { in msr_banked_access_decode()
2833 if (!arm_dc_feature(s, ARM_FEATURE_EL2) || s->current_el < 2 in msr_banked_access_decode()
2834 || (s->current_el < 3 && *regno != 16 && *regno != 17)) { in msr_banked_access_decode()
2982 if (s->hstr_active && cpnum == 15 && s->current_el == 1) { in do_coproc_insn()
3019 switch (s->current_el) { in do_coproc_insn()
3055 if (!cp_access_ok(s->current_el, ri, isread)) { in do_coproc_insn()
3060 if ((s->hstr_active && s->current_el == 0) || ri->accessfn || in do_coproc_insn()
3401 if (s->current_el == 1 && !s->ns && mode == ARM_CPU_MODE_MON) { in gen_srs()
[all …]
H A Dtranslate-a64.c445 gen_helper_rebuild_hflags_a64(tcg_env, tcg_constant_i32(s->current_el)); in gen_rebuild_hflags()
1684 if (s->current_el == 0) { in trans_ERET()
1693 offsetof(CPUARMState, elr_el[s->current_el])); in trans_ERET()
1710 if (s->current_el == 0) { in trans_ERETA()
1720 offsetof(CPUARMState, elr_el[s->current_el])); in trans_ERETA()
1865 if (s->current_el <= 1 && arm_dc_feature(s, ARM_FEATURE_EL2)) { in trans_ESB()
2053 if (!dc_isar_feature(aa64_uao, s) || s->current_el == 0) { in trans_MSR_i_UAO()
2068 if (!dc_isar_feature(aa64_pan, s) || s->current_el == 0) { in trans_MSR_i_PAN()
2083 if (s->current_el == 0) { in trans_MSR_i_SPSEL()
2160 if (!dc_isar_feature(aa64_nmi, s) || s->current_el == 0) { in trans_MSR_i_ALLINT()
[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.c3623 int current_el = arm_current_el(env); in do_ats_write() local
3628 if (fi.s1ptw && current_el == 1 in do_ats_write()
3655 if (current_el == 3) { in do_ats_write()
3680 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()