22bcbb038e7a Linux 5.17.12-xanmod1 fca9dac1f3a4 Merge tag 'v5.17.12' into 5.17 cafd91468077 drivers/char: Remove LRNG v44 patchset 39555c443b4f Linux 5.17.12 d3bbcba97b5b ALSA: ctxfi: Add SB046x PCI ID 567ae03f0caa ACPI: sysfs: Fix BERT error region memory mapping 3879d3f918ef random: check for signals after page of pool writes de63c5e7f40f random: wire up fops->splice_{read,write}_iter() 27bf1c93bfe2 random: convert to using fops->write_iter() afc002fdd1e5 random: convert to using fops->read_iter() fb7d06d39e99 random: unify batched entropy implementations 817191b4c37a random: move randomize_page() into mm where it belongs 41f07747e845 random: move initialization functions out of hot pages e35c23cb1257 random: make consistent use of buf and len 65d3f67f00be random: use proper return types on get_random_{int,long}_wait() 245b1ae3969b random: remove extern from functions in header 80ec4c649102 random: use static branch for crng_ready() d3fc4f466111 random: credit architectural init the exact amount e136fbd60e54 random: handle latent entropy and command line from random_init() e78d195f30b4 random: use proper jiffies comparison macro b4b11eb04905 random: remove ratelimiting for in-kernel unseeded randomness e6b205dcc981 random: move initialization out of reseeding hot path 8fe9ac5ed215 random: avoid initializing twice in credit race 4f8ab1ca8aac random: use symbolic constants for crng_init states 9ebf07a79140 siphash: use one source of truth for siphash permutations c5ff607d9498 random: help compiler out with fast_mix() by using simpler arguments de2ba59544b6 random: do not use input pool from hard IRQs 1705dc1fc202 random: order timer entropy functions below interrupt functions c3b0492820e1 random: do not pretend to handle premature next security model 427346f4bc8c random: use first 128 bits of input as fast init 6521446a5f21 random: do not use batches when !crng_ready() c7a9336169b3 random: insist on random_get_entropy() existing in order to simplify 227221a9c9de xtensa: use fallback for random_get_entropy() instead of zero 1cdbac296ee5 sparc: use fallback for random_get_entropy() instead of zero 36b6fc9afe25 um: use fallback for random_get_entropy() instead of zero 9771084ea544 x86/tsc: Use fallback for random_get_entropy() instead of zero 71cc2c05cc1c nios2: use fallback for random_get_entropy() instead of zero 357f8b293e4b arm: use fallback for random_get_entropy() instead of zero 131a92aa0b7b mips: use fallback for random_get_entropy() instead of just c0 random 715066a79ea9 riscv: use fallback for random_get_entropy() instead of zero ff52f69a4d2d m68k: use fallback for random_get_entropy() instead of zero 9aaae713da1f timekeeping: Add raw clock fallback for random_get_entropy() d2e082dc5209 powerpc: define get_cycles macro for arch-override af739f071963 alpha: define get_cycles macro for arch-override 4b40eda72a4b parisc: define get_cycles macro for arch-override 312903826870 s390: define get_cycles macro for arch-override 01f814b110ec ia64: define get_cycles macro for arch-override 12ea85416610 init: call time_init() before rand_initialize() 80f5814079f4 random: fix sysctl documentation nits dcc76aa03228 random: document crng_fast_key_erasure() destination possibility 284ca0bd8276 random: make random_get_entropy() return an unsigned long 96260d6235fd random: allow partial reads if later user copies fail 6ce4add612f4 random: check for signals every PAGE_SIZE chunk of /dev/[u]random 90fc9bf665b2 random: check for signal_pending() outside of need_resched() check b8567f745fa6 random: do not allow user to keep crng key around on stack da31d0d02da4 random: do not split fast init input in add_hwgenerator_randomness() 24abaf3f2c27 random: mix build-time latent entropy into pool at init a1baaeff24ff random: re-add removed comment about get_random_{u32,u64} reseeding 9b1d7b3f0b85 random: treat bootloader trust toggle the same way as cpu trust toggle d82e9eac3aae random: skip fast_init if hwrng provides large chunk of entropy ded7b5cb5fdb random: check for signal and try earlier when generating entropy ff1ca4a832ef random: reseed more often immediately after booting 0d19aeee38f5 random: make consistent usage of crng_ready() db9b977310bf random: use SipHash as interrupt entropy accumulator 367c559a20d0 random: replace custom notifier chain with standard one bdfa5997e9fe random: don't let 644 read-only sysctls be written to eca9204717ad random: give sysctl_random_min_urandom_seed a more sensible value a12d3e7b695d random: do crng pre-init loading in worker rather than irq 4dec7f2f3c68 random: unify cycles_t and jiffies usage and types e75a5b24f5f6 random: cleanup UUID handling 14b565abce10 random: only wake up writers after zap if threshold was passed 83b4dbb8cd5c random: round-robin registers as ulong, not u32 dc64f36e88b9 random: clear fast pool, crng, and batches in cpuhp bring up 101d38dd808b random: pull add_hwgenerator_randomness() declaration into random.h 0014e4fc9438 random: check for crng_init == 0 in add_device_randomness() 993d28d586fe random: unify early init crng load accounting 89148b5c36c4 random: do not take pool spinlock at boot a4217ab7175e random: defer fast pool mixing to worker 8bbe2f4be761 random: rewrite header introductory comment 118b78be8e4a random: group sysctl functions 04c5d0c3a85f random: group userspace read/write functions b94106cb842a random: group entropy collection functions 7c0cd71d0b17 random: group entropy extraction functions 53418d3c5a08 random: group crng functions 799d1e8d7ae4 random: group initialization wait functions 93f764a0fc14 random: remove whitespace and reorder includes 26db5c080d13 random: remove useless header comment fc8ce0999626 random: introduce drain_entropy() helper to declutter crng_reseed() 8a5bdefe3b2d random: deobfuscate irq u32/u64 contributions 5753c6533162 random: add proper SPDX header a66146af77c4 random: remove unused tracepoints 5dde7c4d00b9 random: remove ifdef'd out interrupt bench d52d9b75cf94 random: tie batched entropy generation to base_crng generation 432b6e6e6009 random: fix locking for crng_init in crng_reseed() 06460c438d4a random: zero buffer after reading entropy from userspace 3272ad78eca7 random: remove outdated INT_MAX >> 6 check in urandom_read() d1d80e9c4f16 random: make more consistent use of integer types 5e2eceffd13b random: use hash function for crng_slow_load() 2aca3e634a52 random: use simpler fast key erasure flow on per-cpu keys 8643bf4db178 random: absorb fast pool into input pool after fast load badc140de820 random: do not xor RDRAND when writing into /dev/random 6057a5d6a3b7 random: ensure early RDSEED goes through mixer on init 18ae4b529d3b random: inline leaves of rand_initialize() e5af930b65d8 random: get rid of secondary crngs bd6f26c2a375 random: use RDSEED instead of RDRAND in entropy extraction ba2005493776 random: fix locking in crng_fast_load() 048d57faf93c random: remove batched entropy locking a53df4495996 random: remove use_input_pool parameter from crng_reseed() 4fa0d8ed5c45 random: make credit_entropy_bits() always safe 740414024d59 random: always wake up entropy writers after extraction bd7d220a614a random: use linear min-entropy accumulation crediting 2d6c74b87f65 random: simplify entropy debiting efba5eb2281e random: use computational hash for entropy extraction 19a66796d1f0 KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID 0650aa520ae8 HID: amd_sfh: Add support for sensor discovery