diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2024-06-21 02:13:38 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-06-28 04:35:49 +0300 |
commit | 10bb6ac8f86f4b65ef8d227504868a61e0bcb148 (patch) | |
tree | e7e402888b9f92bbf32c0028305c15d64b8bc29e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e003d67067043488595f33f3a82230a4281686ca (diff) | |
download | linux-10bb6ac8f86f4b65ef8d227504868a61e0bcb148.tar.xz |
hwrng: exynos - Add SMC based TRNG operation
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 EXYNOS_SMC flag is
set in the corresponding chip driver data.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions