[PATCH v10 3/3] arm64: Use v8.5-RNG entropy for KASLR seed

Richard Henderson richard.henderson at linaro.org
Mon Jan 13 11:09:59 PST 2020


On 1/10/20 2:23 AM, Mark Brown wrote:
> When seeding KALSR on a system where we have architecture level random
> number generation make use of that entropy, mixing it in with the seed
> passed by the bootloader. Since this is run very early in init before
> feature detection is complete we open code rather than use archrandom.h.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
>  arch/arm64/kernel/kaslr.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson at linaro.org>


r~



More information about the linux-arm-kernel mailing list