Home
last modified time | relevance | path

Searched hist:ad50321f47fd752682e5db8679d4c714dc34f473 (Results 1 – 1 of 1) sorted by relevance

/optee_os/ta/remoteproc/src/
H A Dremoteproc_core.cad50321f47fd752682e5db8679d4c714dc34f473 Fri Mar 08 10:03:35 UTC 2024 Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> ta: remoteproc: allow remoteproc_load_fw re-entrance

Instead of returning an error if the TA_RPROC_CMD_LOAD_FW is called
several times, just return TEE_SUCCESS if the firmware is already loaded.

This commit is the result of a discussion on Linux Kernel mailing list:
https://lore.kernel.org/lkml/ZeCujRgH%2FodzU9og@p14s/

Fixes: fcf382e2440c ("ta: remoteproc: add remote processor Trusted Application")

Suggested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>