arm-trusted-firmware/services
Andrei Homescu a0a7f158d2 feat(el3-spmc): use spmd_smc_switch_state after secure interrupt
Switch the state back to non-secure after a secure interrupt
using spmd_smc_switch_state with FFA_NORMAL_WORLD_RESUME
to reduce the number of control flow paths for world switches.
Fixes an issue where FP registers were not correctly restored
after secure interrupts.

Upstreamed from https://r.android.com/3345999, tested on Trusty.

Change-Id: I3ce33f7657c13b999969ebb8957d5d4b6c3aa634
Signed-off-by: Andrei Homescu <ahomescu@google.com>
2025-01-11 00:36:04 +00:00
..
arm_arch_svc chore: simplify the macro names in ENABLE_FEAT mechanism 2024-05-02 08:53:01 -05:00
el3 refactor(smccc): move pmf to vendor el3 calls 2024-05-06 09:42:11 -05:00
oem/chromeos feat(cros_widevine): add ChromeOS widevine SMC handler 2024-02-02 16:41:21 +08:00
spd feat(cm): test integrity of el1_ctx registers 2024-11-08 11:05:13 +00:00
std_svc feat(el3-spmc): use spmd_smc_switch_state after secure interrupt 2025-01-11 00:36:04 +00:00