[GIT PULL] random number generator fixes for 6.9-rc5
From: Jason A. Donenfeld
Date: Thu Apr 18 2024 - 11:47:44 EST
Hi Linus,
This pull has two small fixes:
- The input subsystem contributes entropy in some places where a spinlock is
held, but the entropy accounting code only handled callers being in an
interrupt or non-atomic process context, but not atomic process context. We
fix this by removing an optimization and just calling queue_work()
unconditionally.
- Greg accidently sent up a patch not intended for his tree and that had been
nack'd, so that's now reverted.
Please pull.
Thanks,
Jason
The following changes since commit 4cece764965020c22cff7665b18a012006359095:
Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git tags/random-6.9-rc5-for-linus
for you to fetch changes up to 3aadf100f93d80815685493d60cd8cab206403df:
Revert "vmgenid: emit uevent when VMGENID updates" (2024-04-18 14:47:23 +0200)
----------------------------------------------------------------
Random number generator fixes for Linux 6.9-rc5.
----------------------------------------------------------------
Jason A. Donenfeld (2):
random: handle creditable entropy from atomic process context
Revert "vmgenid: emit uevent when VMGENID updates"
drivers/char/random.c | 10 +++++-----
drivers/virt/vmgenid.c | 2 --
2 files changed, 5 insertions(+), 7 deletions(-)