OSDN Git Service

firmware: smccc: Add SMCCC TRNG function call IDs
authorArd Biesheuvel <ardb@kernel.org>
Wed, 6 Jan 2021 10:34:49 +0000 (10:34 +0000)
committerWill Deacon <will@kernel.org>
Wed, 20 Jan 2021 12:31:43 +0000 (12:31 +0000)
commit67c6bb56b649590a3f59c2a92331aa4e83d4534c
treebbd35f801f72edd099b5c51a9f724073df81be48
parent19c329f6808995b142b3966301f217c831e7cf31
firmware: smccc: Add SMCCC TRNG function call IDs

The ARM architected TRNG firmware interface, described in ARM spec
DEN0098, define an ARM SMCCC based interface to a true random number
generator, provided by firmware.

Add the definitions of the SMCCC functions as defined by the spec.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20210106103453.152275-2-andre.przywara@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
include/linux/arm-smccc.h