arm-trusted-firmware/include
Govindraj Raja 7e619ecc89 refactor(aarch64): refactor usage of elx_panic
Currently we call el3_panic for panics from EL3 and elx_panic for
panics from lower ELs.

When we boot into a rich OS environment and interact with BL31 using
SMC/ABI calls and we can also decide to handle any lower EL panics in
EL3. Panic can occur in lower EL from rich OS or during SMC/ABI calls
after context switch to EL3.

But after booting into any rich OS we may land in panic either from
rich OS or while servicing any SMC call, here the logic to use
el3_panic or elx_panic is flawed as spsr_el3[3:0] is always EL3h
and end up in elx_panic even if panic occurred from EL3 during
SMC handling.

We try to decouple the elx_panic usage for its intended purpose,
introduce lower_el_panic which would call elx_panic, currently
lower_el_panic is called from default platform_ea_handle which
would be called due to panic from any of the lower ELs.

Also remove the weak linkage for elx_panic and rename it to
report_elx_panic which could be used with lower_el_panic.

Change-Id: I268bca89c01c60520d127ef6c7ba851460edc747
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
2023-02-21 17:26:01 +00:00
..
arch feat(spmd): introduce FFA_PARTITION_INFO_GET_REGS 2023-02-13 08:47:41 -08:00
bl1 Specify signed-ness of constants 2020-08-14 11:36:05 +00:00
bl2 BL2_AT_EL3: Enable pointer authentication support 2019-02-27 11:58:09 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 feat(fvp): emulate trapped RNDR 2022-12-21 12:59:36 +00:00
bl32 refactor(libc): clean up dependencies in libc 2022-09-22 13:23:49 +02:00
common refactor(aarch64): refactor usage of elx_panic 2023-02-21 17:26:01 +00:00
drivers Merge changes from topic "fix_misra_partition_mmc" into integration 2023-01-24 17:29:28 +01:00
dt-bindings feat(dt-bindings): add TZC400 bindings for STM32MP13 2022-03-22 09:09:23 +01:00
export chore: use tabs for indentation 2022-09-12 15:12:01 -07:00
lib Merge changes from topic "mb/tos-fw-config-load-refactor" into integration 2023-02-10 10:05:12 +01:00
plat feat(rme): read DRAM information from FVP DTB 2023-01-31 14:19:48 +02:00
services feat(spmd): introduce FFA_PARTITION_INFO_GET_REGS 2023-02-13 08:47:41 -08:00
tools_share feat(fiptool): add cca, core_swd, plat cert in FIP 2022-06-14 09:47:37 -05:00