arm-trusted-firmware/plat
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
..
allwinner fix(allwinner): check RSB availability in DT on H6 2023-02-03 13:31:28 +00:00
amlogic Plat AXG: Fix PLAT_MAX_PWR_LVL value 2020-12-29 13:52:11 +00:00
arm Merge changes from topic "mb/tos-fw-config-load-refactor" into integration 2023-02-10 10:05:12 +01:00
brcm 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
hisilicon feat(hikey960): read serial number from UFS 2022-11-02 15:35:03 +01:00
imx perf(imx): speed-up console/uart TX using FIFO 2023-01-27 17:34:15 +01:00
intel/soc Merge "fix(intel): add mailbox error return status for FCS_DECRYPTION" into integration 2022-12-19 08:37:23 +01:00
marvell build: clarify linker script generation 2023-02-10 17:01:46 +00:00
mediatek build: permit multiple linker scripts 2023-02-10 17:01:47 +00:00
nvidia/tegra fix: remove old-style declarations 2022-12-01 16:17:34 +00:00
nxp Merge changes from topic "bk/warnings" into integration 2023-01-10 11:56:42 +01:00
qemu Merge "fix(qemu-sbsa): enable SVE and SME" into integration 2022-12-22 23:38:58 +01:00
qti feat(aarch64): make ID system register reads non-volatile 2023-01-11 16:02:57 +00:00
renesas fix(ras): restrict RAS support for NS world 2022-11-08 10:10:59 +00:00
rockchip fix(rockchip): align fdt buffer on 8 bytes 2022-11-15 11:22:42 +01:00
rpi fix(rpi3): tighten platform pwr_domain_pwr_down_wfi behaviour 2022-10-27 13:46:02 +01:00
socionext fix(synquacer): increase size of BL33 2022-09-21 22:14:29 +02:00
st Merge changes from topic "deprecate_io_drivers" into integration 2023-01-16 16:45:37 +01:00
ti/k3 fix(ti): fix typo in boot authentication message name 2023-01-12 18:45:48 -06:00
xilinx Merge changes from topic "zynqmp-smc" into integration 2023-02-18 17:35:44 +01:00