[PATCH] arm64: random: implement arch_get_random_int/_long based on RNDR

Will Deacon will at kernel.org
Tue Feb 15 15:18:23 PST 2022


On Thu, 13 Jan 2022 14:12:39 +0100, Ard Biesheuvel wrote:
> When support for RNDR/RNDRRS was introduced, we elected to only
> implement arch_get_random_seed_int/_long(), and back them by RNDR
> instead of RNDRRS. This was needed to prevent potential performance
> and/or starvation issues resulting from the fact that the /dev/random
> driver used to invoke these routines on various hot paths.
> 
> These issues have all been addressed now [0] [1], and so we can wire up
> this API more straight-forwardly:
> 
> [...]

Applied to arm64 (for-next/rng), thanks!

[1/1] arm64: random: implement arch_get_random_int/_long based on RNDR
      https://git.kernel.org/arm64/c/35bde68bba54

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list