Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/plat-rcar/
H A Dromapi.cec0d74f21384f9a720fbee68924cfde1eb82e6ba Tue Jan 16 21:24:18 UTC 2024 Volodymyr Babchuk <volodymyr_babchuk@epam.com> plat-rcar: romapi: retry call to ROM_GetRndVector

Sometimes ROM_GetRndVector() function returns an error, which causes
OP-TEE panic down the call path, as OP-TEE can't handle errors from
the hardware random number generator. As a workaround, we can try to
repeat call to the ROM_GetRndVector() because it succeeds on the next
try.

Anyways, this hardly can be considered as a normal behavior so it is
better to disable HW RNG by default, which will be done in a separate
patch.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>