Home
last modified time | relevance | path

Searched hist:a0a7f158d2932117d57ec0d74113890a565e0cbc (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/services/std_svc/spm/el3_spmc/
H A Dspmc_main.ca0a7f158d2932117d57ec0d74113890a565e0cbc Fri Dec 13 09:27:57 UTC 2024 Andrei Homescu <ahomescu@google.com> 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>
/rk3399_ARM-atf/services/std_svc/spmd/
H A Dspmd_main.ca0a7f158d2932117d57ec0d74113890a565e0cbc Fri Dec 13 09:27:57 UTC 2024 Andrei Homescu <ahomescu@google.com> 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>