arm-trusted-firmware/bl31
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
..
aarch64 fix(el3-runtime): for nested serrors, restore x30 to lower EL address 2025-02-05 16:33:33 +00:00
bl31.ld.S build(bl31): support separated memory for RW DATA 2024-11-05 17:24:41 +08:00
bl31.mk feat(fpmr): disable FPMR trap 2024-12-12 10:03:23 -06:00
bl31_context_mgmt.c feat(rme): add context management changes for FEAT_RME 2021-10-05 18:41:35 +02:00
bl31_main.c Merge changes from topic "early_console" into integration 2024-05-08 23:12:11 +02:00
bl31_traps.c docs: review Undefined Injection for 2.12 release 2024-11-14 18:30:02 +02:00
ehf.c fix(gic600): workaround for Part 1 of GIC600 erratum 2384374 2024-03-06 14:16:35 -06:00
interrupt_mgmt.c fix(misra): fix MISRA defects 2024-03-07 09:38:27 -06:00