Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/kernel/
H A Dsecure_partition.cd2a2d36288a2b54d1f513faae9acdb8b709b4557 Tue Jun 06 10:59:03 UTC 2023 Balint Dobszay <balint.dobszay@arm.com> core: sp: fix session handling in sp_first_run

Currently the error handling after sp_enter() calls vm_unmap() without
activating the correct session with ts_push_current_session(), fix this.
Also fix the returned error code to use TEE_* instead of FFA_*.

Fixes: 6d618ba1d612 ("core: sp: map device regions from SP manifest")
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>