[GIT PULL] random number generator fixes for 6.1-rc3

From: Jason A. Donenfeld
Date: Sat Oct 29 2022 - 19:57:01 EST


Hi Linus,

This pull contains one fix from Jean-Philippe Brucker, addressing a regression
in which early boot code on ARM64 would use the non-_early variant of the
arch_get_random family of functions, resulting in the architectural random
number generator appearing unavailable during that early phase of boot. The
fix simply changes arch_get_random*() to arch_get_random*_early().

This distinction between these two functions is a bit of an old wart I'm not a
fan of, and for 6.2 I'll see if I can make obsolete the _early variant, so
that one function does the right thing in all contexts without overhead.

Regards,
Jason

The following changes since commit 23758867219c8d84c8363316e6dd2f9fd7ae3049:

Merge tag 'net-6.1-rc3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2022-10-27 13:36:59 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git tags/random-6.1-rc3-for-linus

for you to fetch changes up to f5e4ec155d145002fd9840868453d785fab86d42:

random: use arch_get_random*_early() in random_init() (2022-10-29 00:24:03 +0200)

----------------------------------------------------------------
Random number generator fixes for Linux 6.1-rc3.
----------------------------------------------------------------
Jean-Philippe Brucker (1):
random: use arch_get_random*_early() in random_init()

drivers/char/random.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)