Home
last modified time | relevance | path

Searched hist:"5 c669b6d1a1139cf3dca201f2a849476564069a0" (Results 1 – 2 of 2) sorted by relevance

/optee_os/ta/remoteproc/include/
H A Dta_remoteproc.h5c669b6d1a1139cf3dca201f2a849476564069a0 Wed Aug 28 16:42:27 UTC 2024 Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> ta: remoteproc: add command to release remote processor firmware

This patch introduces a new command `TA_RPROC_CMD_RELEASE_FW` to release
the firmware images and associated resources of a remote processor.

This command can be called by the non-secure context to release the loaded
firmware if the remoteproc is not running.

The command can be used, for instance, in case an error occurs in the
non-secure context between the load request and the start of the
remote processor. Calling the command allows releasing the loaded firmware
and going back to the REMOTEPROC_OFF state.

This command should also be called after the stop of the
remote processor to release associated resources.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
/optee_os/ta/remoteproc/src/
H A Dremoteproc_core.c5c669b6d1a1139cf3dca201f2a849476564069a0 Wed Aug 28 16:42:27 UTC 2024 Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> ta: remoteproc: add command to release remote processor firmware

This patch introduces a new command `TA_RPROC_CMD_RELEASE_FW` to release
the firmware images and associated resources of a remote processor.

This command can be called by the non-secure context to release the loaded
firmware if the remoteproc is not running.

The command can be used, for instance, in case an error occurs in the
non-secure context between the load request and the start of the
remote processor. Calling the command allows releasing the loaded firmware
and going back to the REMOTEPROC_OFF state.

This command should also be called after the stop of the
remote processor to release associated resources.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>