Home
last modified time | relevance | path

Searched hist:"414123 ae8ca55dcc0536fd95aace052f8c28e749" (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/kernel/
H A Ddt.c414123ae8ca55dcc0536fd95aace052f8c28e749 Thu Apr 03 12:43:21 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> core: ffa: reserve physical memory for manifest

With CFG_CORE_SEL2_SPMC=y (Hafnium as SPMC at S-EL2), the FF-A manifest
passed to OP-TEE resides in the memory reserved for OP-TEE just before
the load address. The physical memory pool is initialized with the entire
range of secure memory, with holes carved out for already used memory.

Temporarily allocate the physical memory used by the manifest until it's
not needed any longer and released by release_manifest_dt().

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
/optee_os/core/include/kernel/
H A Ddt.h414123ae8ca55dcc0536fd95aace052f8c28e749 Thu Apr 03 12:43:21 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> core: ffa: reserve physical memory for manifest

With CFG_CORE_SEL2_SPMC=y (Hafnium as SPMC at S-EL2), the FF-A manifest
passed to OP-TEE resides in the memory reserved for OP-TEE just before
the load address. The physical memory pool is initialized with the entire
range of secure memory, with holes carved out for already used memory.

Temporarily allocate the physical memory used by the manifest until it's
not needed any longer and released by release_manifest_dt().

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
/optee_os/core/arch/arm/kernel/
H A Dboot.c414123ae8ca55dcc0536fd95aace052f8c28e749 Thu Apr 03 12:43:21 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> core: ffa: reserve physical memory for manifest

With CFG_CORE_SEL2_SPMC=y (Hafnium as SPMC at S-EL2), the FF-A manifest
passed to OP-TEE resides in the memory reserved for OP-TEE just before
the load address. The physical memory pool is initialized with the entire
range of secure memory, with holes carved out for already used memory.

Temporarily allocate the physical memory used by the manifest until it's
not needed any longer and released by release_manifest_dt().

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>