Re: [PATCH 5/7] hwrng: exynos: Add SMC based TRNG operation

From: Krzysztof Kozlowski
Date: Tue Jun 18 2024 - 02:38:14 EST


On 18/06/2024 02:37, Sam Protsenko wrote:
> On some Exynos chips like Exynos850 the access to Security Sub System
> (SSS) registers is protected with TrustZone, and therefore only possible
> from EL3 monitor software. The Linux kernel is running in EL1, so the
> only way for the driver to obtain TRNG data is via SMC calls to EL3
> monitor. Implement such SMC operation and use it when QUIRK_SMC is set
> in the corresponding chip driver data.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@xxxxxxxxxx>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof