Home
last modified time | relevance | path

Searched hist:"122114 b25d7d4592bb9d5b6933e1c148073d4f0f" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/arch/arm/plat-ti/
H A Dmain.c122114b25d7d4592bb9d5b6933e1c148073d4f0f Tue Nov 11 23:16:15 UTC 2025 Alistair Higgins <Alistair_Higgins@trimble.com> plat-ti: Fix initialisation order

Since commit 358cdcd2b079 ("core: arm32: initialize secure monitor
late") TI platforms have been broken due to only initialising the
HUK in `init_sec_mon` after the SSK has been derived/generated from
it in the `tee_fs_init_key_manager` service init.

Move initialisation of HUK into an `early_init` registration to
restore the correct order of operations.

Secure monitor initialisation cannot be moved into the
`early_init()` as the secure monitor stack is not yet initialised.

Link: https://github.com/OP-TEE/optee_os/issues/7587

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