OP-TEE / optee_os

Trusted side of the TEE
Other
1.59k stars 1.07k forks source link

plat-stm32: SCMI reset controllers on remoteproc are disabled on secure fmw loading #7106

Closed etienne-lms closed 1 week ago

etienne-lms commented 1 week ago

Changes for STM32 remote proc driver and SCMI server to expose remoteproc reset controllers through SCMI only when the secure loading of remoteproc firmware is disabled. When so, remoteproc reset and power sequence shall go through OP-TEE remoteproc services, not SCMI platform services.

GseoC commented 1 week ago

Reviewed-by: Gatien Chevallier <gatien.chevallier@foss.st.com>

@arnopo , do you want to give your tag as well?

GseoC commented 1 week ago

@etienne-lms I'm just worried about stm32mp_nsec_can_access_reset() call above. Who registered the resource?

etienne-lms commented 1 week ago

Removal of stm32mp_nsec_can_access_reset() and stm32mp_nsec_can_access_clock() are addressed in https://github.com/OP-TEE/optee_os/pull/7111.