Home
last modified time | relevance | path

Searched hist:"6 d7c8c3d88ad45699d3bac4d2fa4583ba7b7f05c" (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/arch/arm/include/kernel/
H A Dsecure_partition.h6d7c8c3d88ad45699d3bac4d2fa4583ba7b7f05c Tue Feb 28 10:25:51 UTC 2023 Balint Dobszay <balint.dobszay@arm.com> core: spmc: fix FIP SP loading

The memory management in process_sp_pkg() function contains errors. It
tries to add new mappings for the SP packages that reside in the TA_RAM
PA range, but this range is already mapped so this is unnecessary and
wrong. Fix the code by simply using phys_to_virt() instead.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
/optee_os/core/arch/arm/kernel/
H A Dsecure_partition.c6d7c8c3d88ad45699d3bac4d2fa4583ba7b7f05c Tue Feb 28 10:25:51 UTC 2023 Balint Dobszay <balint.dobszay@arm.com> core: spmc: fix FIP SP loading

The memory management in process_sp_pkg() function contains errors. It
tries to add new mappings for the SP packages that reside in the TA_RAM
PA range, but this range is already mapped so this is unnecessary and
wrong. Fix the code by simply using phys_to_virt() instead.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>