Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/plat-rcar/
H A Dconf.mk5d3112cb8fee37d28a54434dc4bbb9040b7d13b5 Tue Jan 16 20:35:00 UTC 2024 Volodymyr Babchuk <volodymyr_babchuk@epam.com> plat: rcar-gen3: disable HWRNG by default

Sometimes ROM code fails to provide random numbers, which leads to
OP-TEE panic with "ROM_GetRndVector() returned error!" message.

So far this behavior was observed only on M3 Ver.3.0, but it is
unclear if other SoCs are affected. There is a workaround which
retries and operation and this workaround seems to work, but again, it
is unclear if this is the correct way to deal with the issue. So it is
better to disable use of HWRNG by default, until we get clarification
on those errors from Renesas.

This patch moves HWRNG code under CFG_RCAR_GEN3_HWRNG option, so
expert user still can try to use it.

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>