Home
last modified time | relevance | path

Searched hist:"0 cea2ae07db089e60322677021da4743a084f9ca" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/services/std_svc/spmd/
H A Dspmd_main.c0cea2ae07db089e60322677021da4743a084f9ca Tue Feb 07 11:26:38 UTC 2023 Manish V Badarkhe <Manish.Badarkhe@arm.com> feat(spmd): copy tos_fw_config in secure region

The tos_fw_config is currently loaded into memory by BL2 and
consumed by SPMD (part of BL31) and BL32 firmwares. This does
not work in RME-enabled systems as BL31 uses the root PAS memory
and does not trust secure PAS memory.

A first attempt was made to map the TOS_FW_CONFIG region as root PAS,
and then to remap to secure PAS after SPMD consumption, but this was
not suitable for RME systems where memory encryption is enabled.

This can be solved by copying the TOS FW config (SPMC manifest) from
the Root PAS region to the Secure PAS region so that BL32 can consume
it.

Change-Id: I8eef8345366199cb0e367db883c34a5b5136465d
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>