[PATCH v9 0/3] ARMv8.5-RNG support
broonie at kernel.org
Wed Jan 8 11:41:30 PST 2020
This series is based on Richard Henderson's previous v7, it addresses
review comments from that version by splitting the boot and runtime
interaction with the core random code so that they are completely
separate and adds a new change that uses the v8.5-RNG extension to seed
KASLR when ARCH_RANDOM is enabled.
- Make another static inline helper for early feature checks.
- Add init annotations.
- Use xor to add RNDR output to seed for KASLR.
Mark Brown (2):
arm64: random: Add data to pool from setup_arch()
arm64: Use v8.5-RNG entropy for KASLR seed
Richard Henderson (1):
arm64: Implement archrandom.h for ARMv8.5-RNG
Documentation/arm64/cpu-feature-registers.rst | 2 +
arch/arm64/Kconfig | 12 +++
arch/arm64/include/asm/archrandom.h | 97 +++++++++++++++++++
arch/arm64/include/asm/cpucaps.h | 3 +-
arch/arm64/include/asm/sysreg.h | 4 +
arch/arm64/kernel/cpufeature.c | 13 +++
arch/arm64/kernel/kaslr.c | 11 +++
arch/arm64/kernel/setup.c | 2 +
8 files changed, 143 insertions(+), 1 deletion(-)
create mode 100644 arch/arm64/include/asm/archrandom.h
More information about the linux-arm-kernel