Skip to contentSkip to conversation

random number generator fixes for 6.9-rc5

GIT PULL Merged Jason A. Donenfeld 2 participants 2 messages Apr 18, 2024

lore
Share & tools
lore
#0 lore raw

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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 18 Apr 2024 17:47:17 +0200:

The pull request you sent on Thu, 18 Apr 2024 17:47:17 +0200:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e4add02086a61247e9ff65a4600dd84a31aacc92

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html