arm-trusted-firmware/bl31/aarch64
Jaiprakash Singh 0bc3115f6e fix(el3-runtime): for nested serrors, restore x30 to lower EL address
In FFH mode, When handling nested serrors, serror is handled once and
all subsequent serrors are considered handled.And EL3 directly return
to lower EL.

While returning to lower EL, x30 is restore to CTX_SAVED_GPREG_LR
address.CTX_SAVED_GPREG_LR address belongs to EL3 address range and
this address will not be accessible in lower EL.

After return to lower EL, when lower EL access x30, segmentation fault
happens and Kernel kills application.

This patch restore x30 to lower EL address (CTX_GPREG_LR) to avoid
segmentation fault at lower EL.

Change-Id: Ie8becb206e0c0204e01d12ab63ae6e915dcf33e4
Signed-off-by: Jaiprakash Singh <jaiprakashs@marvell.com>
2025-02-05 16:33:33 +00:00
..
bl31_entrypoint.S fix(bl31): avoid clearing of argument registers in RESET_TO_BL31 case 2023-03-09 13:51:35 +00:00
crash_reporting.S refactor(aarch64): remove weak links to el3_panic 2023-02-21 17:26:01 +00:00
ea_delegate.S fix(el3-runtime): for nested serrors, restore x30 to lower EL address 2025-02-05 16:33:33 +00:00
runtime_exceptions.S feat(context-mgmt): introduce EL3/root context 2024-10-15 13:25:58 +01:00