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

Krzysztof Kozlowski krzk at kernel.org
Mon Jun 17 23:37:56 PDT 2024


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 at linaro.org>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list