[GIT PULL] random changes for 5.2

From: Theodore Ts'o
Date: Tue May 07 2019 - 19:33:08 EST


The following changes since commit dc4060a5dc2557e6b5aa813bf5b73677299d62d2:

Linux 5.1-rc5 (2019-04-14 15:17:41 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random.git tags/random_for_linus

for you to fetch changes up to b7d5dc21072cda7124d13eae2aefb7343ef94197:

random: add a spinlock_t to struct batched_entropy (2019-04-20 00:09:56 -0400)

----------------------------------------------------------------
Initialize the random driver earler; fix CRNG initialization when we
trust the CPU's RNG on NUMA systems; other miscellaneous cleanups and
fixes.

----------------------------------------------------------------
George Spelvin (1):
random: document get_random_int() family

Jon DeVree (1):
random: fix CRNG initialization when random.trust_cpu=1

Kees Cook (1):
random: move rand_initialize() earlier

Rasmus Villemoes (3):
drivers/char/random.c: constify poolinfo_table
drivers/char/random.c: remove unused stuct poolinfo::poolbits
drivers/char/random.c: make primary_crng static

Sebastian Andrzej Siewior (1):
random: add a spinlock_t to struct batched_entropy

Theodore Ts'o (1):
random: only read from /dev/random after its pool has received 128 bits

drivers/char/random.c | 199 +++++++++++++++++++++++++++++++++++++++++++++---------------------
include/linux/random.h | 1 +
include/trace/events/random.h | 13 ++---
init/main.c | 21 ++++---
4 files changed, 156 insertions(+), 78 deletions(-)