This is the start of the stable review cycle for the 5.17.12 release. There are 111 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Sun, 29 May 2022 08:46:36 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at: https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.17.12-rc1... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.17.y and the diffstat can be found below.
thanks,
greg k-h
------------- Pseudo-Shortlog of commits:
Greg Kroah-Hartman gregkh@linuxfoundation.org Linux 5.17.12-rc1
Edward Matijevic motolav@gmail.com ALSA: ctxfi: Add SB046x PCI ID
Lorenzo Pieralisi lorenzo.pieralisi@arm.com ACPI: sysfs: Fix BERT error region memory mapping
Jason A. Donenfeld Jason@zx2c4.com random: check for signals after page of pool writes
Jens Axboe axboe@kernel.dk random: wire up fops->splice_{read,write}_iter()
Jens Axboe axboe@kernel.dk random: convert to using fops->write_iter()
Jens Axboe axboe@kernel.dk random: convert to using fops->read_iter()
Jason A. Donenfeld Jason@zx2c4.com random: unify batched entropy implementations
Jason A. Donenfeld Jason@zx2c4.com random: move randomize_page() into mm where it belongs
Jason A. Donenfeld Jason@zx2c4.com random: move initialization functions out of hot pages
Jason A. Donenfeld Jason@zx2c4.com random: make consistent use of buf and len
Jason A. Donenfeld Jason@zx2c4.com random: use proper return types on get_random_{int,long}_wait()
Jason A. Donenfeld Jason@zx2c4.com random: remove extern from functions in header
Jason A. Donenfeld Jason@zx2c4.com random: use static branch for crng_ready()
Jason A. Donenfeld Jason@zx2c4.com random: credit architectural init the exact amount
Jason A. Donenfeld Jason@zx2c4.com random: handle latent entropy and command line from random_init()
Jason A. Donenfeld Jason@zx2c4.com random: use proper jiffies comparison macro
Jason A. Donenfeld Jason@zx2c4.com random: remove ratelimiting for in-kernel unseeded randomness
Jason A. Donenfeld Jason@zx2c4.com random: move initialization out of reseeding hot path
Jason A. Donenfeld Jason@zx2c4.com random: avoid initializing twice in credit race
Jason A. Donenfeld Jason@zx2c4.com random: use symbolic constants for crng_init states
Jason A. Donenfeld Jason@zx2c4.com siphash: use one source of truth for siphash permutations
Jason A. Donenfeld Jason@zx2c4.com random: help compiler out with fast_mix() by using simpler arguments
Jason A. Donenfeld Jason@zx2c4.com random: do not use input pool from hard IRQs
Jason A. Donenfeld Jason@zx2c4.com random: order timer entropy functions below interrupt functions
Jason A. Donenfeld Jason@zx2c4.com random: do not pretend to handle premature next security model
Jason A. Donenfeld Jason@zx2c4.com random: use first 128 bits of input as fast init
Jason A. Donenfeld Jason@zx2c4.com random: do not use batches when !crng_ready()
Jason A. Donenfeld Jason@zx2c4.com random: insist on random_get_entropy() existing in order to simplify
Jason A. Donenfeld Jason@zx2c4.com xtensa: use fallback for random_get_entropy() instead of zero
Jason A. Donenfeld Jason@zx2c4.com sparc: use fallback for random_get_entropy() instead of zero
Jason A. Donenfeld Jason@zx2c4.com um: use fallback for random_get_entropy() instead of zero
Jason A. Donenfeld Jason@zx2c4.com x86/tsc: Use fallback for random_get_entropy() instead of zero
Jason A. Donenfeld Jason@zx2c4.com nios2: use fallback for random_get_entropy() instead of zero
Jason A. Donenfeld Jason@zx2c4.com arm: use fallback for random_get_entropy() instead of zero
Jason A. Donenfeld Jason@zx2c4.com mips: use fallback for random_get_entropy() instead of just c0 random
Jason A. Donenfeld Jason@zx2c4.com riscv: use fallback for random_get_entropy() instead of zero
Jason A. Donenfeld Jason@zx2c4.com m68k: use fallback for random_get_entropy() instead of zero
Jason A. Donenfeld Jason@zx2c4.com timekeeping: Add raw clock fallback for random_get_entropy()
Jason A. Donenfeld Jason@zx2c4.com powerpc: define get_cycles macro for arch-override
Jason A. Donenfeld Jason@zx2c4.com alpha: define get_cycles macro for arch-override
Jason A. Donenfeld Jason@zx2c4.com parisc: define get_cycles macro for arch-override
Jason A. Donenfeld Jason@zx2c4.com s390: define get_cycles macro for arch-override
Jason A. Donenfeld Jason@zx2c4.com ia64: define get_cycles macro for arch-override
Jason A. Donenfeld Jason@zx2c4.com init: call time_init() before rand_initialize()
Jason A. Donenfeld Jason@zx2c4.com random: fix sysctl documentation nits
Jason A. Donenfeld Jason@zx2c4.com random: document crng_fast_key_erasure() destination possibility
Jason A. Donenfeld Jason@zx2c4.com random: make random_get_entropy() return an unsigned long
Jason A. Donenfeld Jason@zx2c4.com random: allow partial reads if later user copies fail
Jason A. Donenfeld Jason@zx2c4.com random: check for signals every PAGE_SIZE chunk of /dev/[u]random
Jann Horn jannh@google.com random: check for signal_pending() outside of need_resched() check
Jason A. Donenfeld Jason@zx2c4.com random: do not allow user to keep crng key around on stack
Jan Varho jan.varho@gmail.com random: do not split fast init input in add_hwgenerator_randomness()
Jason A. Donenfeld Jason@zx2c4.com random: mix build-time latent entropy into pool at init
Jason A. Donenfeld Jason@zx2c4.com random: re-add removed comment about get_random_{u32,u64} reseeding
Jason A. Donenfeld Jason@zx2c4.com random: treat bootloader trust toggle the same way as cpu trust toggle
Jason A. Donenfeld Jason@zx2c4.com random: skip fast_init if hwrng provides large chunk of entropy
Jason A. Donenfeld Jason@zx2c4.com random: check for signal and try earlier when generating entropy
Jason A. Donenfeld Jason@zx2c4.com random: reseed more often immediately after booting
Jason A. Donenfeld Jason@zx2c4.com random: make consistent usage of crng_ready()
Jason A. Donenfeld Jason@zx2c4.com random: use SipHash as interrupt entropy accumulator
Jason A. Donenfeld Jason@zx2c4.com random: replace custom notifier chain with standard one
Jason A. Donenfeld Jason@zx2c4.com random: don't let 644 read-only sysctls be written to
Jason A. Donenfeld Jason@zx2c4.com random: give sysctl_random_min_urandom_seed a more sensible value
Jason A. Donenfeld Jason@zx2c4.com random: do crng pre-init loading in worker rather than irq
Jason A. Donenfeld Jason@zx2c4.com random: unify cycles_t and jiffies usage and types
Jason A. Donenfeld Jason@zx2c4.com random: cleanup UUID handling
Jason A. Donenfeld Jason@zx2c4.com random: only wake up writers after zap if threshold was passed
Jason A. Donenfeld Jason@zx2c4.com random: round-robin registers as ulong, not u32
Jason A. Donenfeld Jason@zx2c4.com random: clear fast pool, crng, and batches in cpuhp bring up
Jason A. Donenfeld Jason@zx2c4.com random: pull add_hwgenerator_randomness() declaration into random.h
Jason A. Donenfeld Jason@zx2c4.com random: check for crng_init == 0 in add_device_randomness()
Jason A. Donenfeld Jason@zx2c4.com random: unify early init crng load accounting
Jason A. Donenfeld Jason@zx2c4.com random: do not take pool spinlock at boot
Jason A. Donenfeld Jason@zx2c4.com random: defer fast pool mixing to worker
Jason A. Donenfeld Jason@zx2c4.com random: rewrite header introductory comment
Jason A. Donenfeld Jason@zx2c4.com random: group sysctl functions
Jason A. Donenfeld Jason@zx2c4.com random: group userspace read/write functions
Jason A. Donenfeld Jason@zx2c4.com random: group entropy collection functions
Jason A. Donenfeld Jason@zx2c4.com random: group entropy extraction functions
Jason A. Donenfeld Jason@zx2c4.com random: group crng functions
Jason A. Donenfeld Jason@zx2c4.com random: group initialization wait functions
Jason A. Donenfeld Jason@zx2c4.com random: remove whitespace and reorder includes
Jason A. Donenfeld Jason@zx2c4.com random: remove useless header comment
Jason A. Donenfeld Jason@zx2c4.com random: introduce drain_entropy() helper to declutter crng_reseed()
Jason A. Donenfeld Jason@zx2c4.com random: deobfuscate irq u32/u64 contributions
Jason A. Donenfeld Jason@zx2c4.com random: add proper SPDX header
Jason A. Donenfeld Jason@zx2c4.com random: remove unused tracepoints
Jason A. Donenfeld Jason@zx2c4.com random: remove ifdef'd out interrupt bench
Jason A. Donenfeld Jason@zx2c4.com random: tie batched entropy generation to base_crng generation
Dominik Brodowski linux@dominikbrodowski.net random: fix locking for crng_init in crng_reseed()
Jason A. Donenfeld Jason@zx2c4.com random: zero buffer after reading entropy from userspace
Jason A. Donenfeld Jason@zx2c4.com random: remove outdated INT_MAX >> 6 check in urandom_read()
Jason A. Donenfeld Jason@zx2c4.com random: make more consistent use of integer types
Jason A. Donenfeld Jason@zx2c4.com random: use hash function for crng_slow_load()
Jason A. Donenfeld Jason@zx2c4.com random: use simpler fast key erasure flow on per-cpu keys
Jason A. Donenfeld Jason@zx2c4.com random: absorb fast pool into input pool after fast load
Jason A. Donenfeld Jason@zx2c4.com random: do not xor RDRAND when writing into /dev/random
Jason A. Donenfeld Jason@zx2c4.com random: ensure early RDSEED goes through mixer on init
Jason A. Donenfeld Jason@zx2c4.com random: inline leaves of rand_initialize()
Jason A. Donenfeld Jason@zx2c4.com random: get rid of secondary crngs
Jason A. Donenfeld Jason@zx2c4.com random: use RDSEED instead of RDRAND in entropy extraction
Dominik Brodowski linux@dominikbrodowski.net random: fix locking in crng_fast_load()
Jason A. Donenfeld Jason@zx2c4.com random: remove batched entropy locking
Eric Biggers ebiggers@google.com random: remove use_input_pool parameter from crng_reseed()
Jason A. Donenfeld Jason@zx2c4.com random: make credit_entropy_bits() always safe
Jason A. Donenfeld Jason@zx2c4.com random: always wake up entropy writers after extraction
Jason A. Donenfeld Jason@zx2c4.com random: use linear min-entropy accumulation crediting
Jason A. Donenfeld Jason@zx2c4.com random: simplify entropy debiting
Jason A. Donenfeld Jason@zx2c4.com random: use computational hash for entropy extraction
Paolo Bonzini pbonzini@redhat.com KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID
Basavaraj Natikar Basavaraj.Natikar@amd.com HID: amd_sfh: Add support for sensor discovery
-------------
Diffstat:
Documentation/admin-guide/kernel-parameters.txt | 6 + Documentation/admin-guide/sysctl/kernel.rst | 22 +- Makefile | 4 +- arch/alpha/include/asm/timex.h | 1 + arch/arm/include/asm/timex.h | 1 + arch/ia64/include/asm/timex.h | 1 + arch/m68k/include/asm/timex.h | 2 +- arch/mips/include/asm/timex.h | 17 +- arch/nios2/include/asm/timex.h | 3 + arch/parisc/include/asm/timex.h | 3 +- arch/powerpc/include/asm/timex.h | 1 + arch/riscv/include/asm/timex.h | 2 +- arch/s390/include/asm/timex.h | 1 + arch/sparc/include/asm/timex_32.h | 4 +- arch/um/include/asm/timex.h | 9 +- arch/x86/include/asm/timex.h | 9 + arch/x86/include/asm/tsc.h | 7 +- arch/x86/kvm/mmu/mmu.c | 6 +- arch/xtensa/include/asm/timex.h | 6 +- drivers/acpi/sysfs.c | 25 +- drivers/char/Kconfig | 3 +- drivers/char/hw_random/core.c | 1 + drivers/char/random.c | 2868 +++++++++-------------- drivers/hid/amd-sfh-hid/amd_sfh_client.c | 11 + drivers/hid/amd-sfh-hid/amd_sfh_pcie.c | 7 + drivers/hid/amd-sfh-hid/amd_sfh_pcie.h | 4 + include/linux/cpuhotplug.h | 2 + include/linux/hw_random.h | 2 - include/linux/mm.h | 1 + include/linux/prandom.h | 23 +- include/linux/random.h | 100 +- include/linux/siphash.h | 28 + include/linux/timex.h | 10 +- include/trace/events/random.h | 233 -- init/main.c | 13 +- kernel/cpu.c | 11 + kernel/time/timekeeping.c | 15 + lib/Kconfig.debug | 3 +- lib/random32.c | 14 +- lib/siphash.c | 32 +- lib/vsprintf.c | 10 +- mm/util.c | 32 + sound/pci/ctxfi/ctatc.c | 2 + sound/pci/ctxfi/cthardware.h | 3 +- 44 files changed, 1365 insertions(+), 2193 deletions(-)