Skip to content

4.9.320-rc1 review

Greg Kroah-Hartman linux-crypto linux-hyperv linux-tegra lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest264 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2649p: missing chunk of "fs/9p: Dont update file type when updating file attributes"fs/9p/vfs_inode_dotl.c+3 -70 replies
2/264random: remove stale maybe_reseed_primary_crngdrivers/char/random.c+0 -70 replies
3/264random: remove stale urandom_init_waitdrivers/char/random.c+0 -10 replies
4/264random: remove variable limitdrivers/char/random.c+8 -240 replies
5/264random: fix comment for unused random_min_urandom_seeddrivers/char/random.c+1 -30 replies
6/264random: convert get_random_int/long into get_random_u32/u64drivers/char/random.c include/linux/random.h+49 -310 replies
7/264random: move random_min_urandom_seed into CONFIG_SYSCTL ifdef blockdrivers/char/random.c+1 -50 replies
8/264random: invalidate batched entropy after crng initdrivers/char/random.c+37 -00 replies
9/264random: silence compiler warnings and fix racedrivers/char/random.c+6 -60 replies
10/264random: add wait_for_random_bytes() APIdrivers/char/random.c include/linux/random.h+32 -100 replies
11/264random: add get_random_{bytes,u32,u64,int,long,once}_wait familyinclude/linux/net.h include/linux/once.h include/linux/random.h+29 -00 replies
12/264random: warn when kernel uses unseeded randomnessdrivers/char/random.c lib/Kconfig.debug+29 -20 replies
13/264random: do not ignore early device randomnessdrivers/char/random.c init/main.c+6 -00 replies
14/264random: suppress spammy warnings about unseeded randomnessdrivers/char/random.c lib/Kconfig.debug+57 -230 replies
15/264random: reorder READ_ONCE() in get_random_uXXdrivers/char/random.c+4 -20 replies
16/264random: fix warning message on ia64 and pariscdrivers/char/random.c+1 -10 replies
17/264random: use a different mixing algorithm for add_device_randomness()drivers/char/random.c+51 -40 replies
18/264random: set up the NUMA crng instances after the CRNG is fully initializeddrivers/char/random.c+27 -00 replies
19/264random: fix possible sleeping allocation from irq contextdrivers/char/random.c+8 -10 replies
20/264random: rate limit unseeded randomness warningsdrivers/char/random.c+3 -20 replies
21/264random: add a spinlock_t to struct batched_entropydrivers/char/random.c+27 -250 replies
22/264char/random: silence a lockdep splat with printk()drivers/char/random.c+3 -20 replies
23/264Revert "char/random: silence a lockdep splat with printk()"drivers/char/random.c+2 -30 replies
24/264random: always use batched entropy for get_random_u{32,64}drivers/char/random.c+4 -160 replies
25/264random: fix data race on crng_node_pooldrivers/char/random.c+20 -20 replies
26/264crypto: chacha20 - Fix keystream alignment for chacha20_block()crypto/chacha20_generic.c drivers/char/random.c include/crypto/chacha20.h +1 more+18 -170 replies
27/264random: always fill buffer in get_random_bytes_waitinclude/linux/random.h+1 -30 replies
28/264random: optimize add_interrupt_randomnessdrivers/char/random.c+2 -10 replies
29/264drivers/char/random.c: remove unused dont_count_entropydrivers/char/random.c+26 -290 replies
30/264random: Fix whitespace pre random-bytes workdrivers/char/random.c+1 -20 replies
31/264random: Return nbytes filled from hw RNGdrivers/char/random.c include/linux/random.h+10 -80 replies
32/264random: add a config option to trust the CPUs hwrngdrivers/char/Kconfig drivers/char/random.c+24 -10 replies
33/264random: remove preempt disabled regiondrivers/char/random.c+0 -40 replies
34/264random: Make crng state queryabledrivers/char/random.c include/linux/random.h+16 -00 replies
35/264random: make CPU trust a boot parameterDocumentation/kernel-parameters.txt drivers/char/Kconfig drivers/char/random.c+16 -50 replies
36/264drivers/char/random.c: constify poolinfo_tabledrivers/char/random.c+1 -10 replies
37/264drivers/char/random.c: remove unused stuct poolinfo::poolbitsdrivers/char/random.c+3 -30 replies
38/264drivers/char/random.c: make primary_crng staticdrivers/char/random.c+1 -10 replies
39/264random: only read from /dev/random after its pool has received 128 bitsdrivers/char/random.c include/trace/events/random.h+27 -300 replies
40/264random: move rand_initialize() earlierdrivers/char/random.c include/linux/random.h init/main.c+17 -30 replies
41/264random: document get_random_int() familydrivers/char/random.c+76 -70 replies
42/264latent_entropy: avoid build error when plugin cflags are not setinclude/linux/random.h+1 -10 replies
43/264random: fix soft lockup when trying to read from an uninitialized blocking pooldrivers/char/random.c+13 -30 replies
44/264random: Support freezable kthreads in add_hwgenerator_randomness()drivers/char/random.c+7 -30 replies
45/264fdt: add support for rng-seeddrivers/char/Kconfig drivers/char/random.c drivers/of/fdt.c +1 more+36 -20 replies
46/264random: Use wait_event_freezable() in add_hwgenerator_randomness()drivers/char/random.c+5 -70 replies
47/264char/random: Add a newline at the end of the filedrivers/char/random.c+1 -10 replies
48/264Revert "hwrng: core - Freeze khwrng thread during suspend"drivers/char/random.c+1 -30 replies
49/264crypto: Deduplicate le32_to_cpu_array() and cpu_to_le32_array()crypto/md4.c crypto/md5.c include/linux/byteorder/generic.h+17 -340 replies
50/264crypto: blake2s - generic C library implementation and selftestinclude/crypto/blake2s.h include/crypto/internal/blake2s.h lib/Makefile +4 more+982 -00 replies
51/264lib/crypto: blake2s: move hmac construction into wireguardinclude/crypto/blake2s.h lib/crypto/blake2s-selftest.c lib/crypto/blake2s.c+0 -710 replies
52/264lib/crypto: sha1: re-roll loops to reduce code sizelib/sha1.c+14 -810 replies
53/264random: Dont wake crng_init_wait when crng_init == 1drivers/char/random.c+0 -10 replies
54/264random: Add a urandom_read_nowait() for random APIs that dont warndrivers/char/random.c+15 -60 replies
55/264random: add GRND_INSECURE to return best-effort non-cryptographic bytesdrivers/char/random.c include/uapi/linux/random.h+11 -20 replies
56/264random: ignore GRND_RANDOM in getentropy(2)drivers/char/random.c include/uapi/linux/random.h+1 -40 replies
57/264random: make /dev/random be almost like /dev/urandomdrivers/char/random.c+13 -410 replies
58/264random: fix crash on multiple early calls to add_bootloader_randomness()drivers/char/random.c+38 -220 replies
59/264random: remove the blocking pooldrivers/char/random.c+0 -1060 replies
60/264random: delete code to pull data into poolsdrivers/char/random.c+0 -400 replies
61/264random: remove kernel.random.read_wakeup_thresholddrivers/char/random.c+1 -170 replies
62/264random: remove unnecessary unlikely()drivers/char/random.c+2 -40 replies
63/264random: convert to ENTROPY_BITS for better code readabilitydrivers/char/random.c+2 -30 replies
64/264random: Add and use pr_fmt()drivers/char/random.c+10 -110 replies
65/264random: fix typo in add_timer_randomness()drivers/char/random.c+1 -10 replies
66/264random: remove some dead code of poolinfodrivers/char/random.c+0 -300 replies
67/264random: split primary/secondary crng init pathsdrivers/char/random.c+24 -120 replies
68/264random: avoid warnings for !CONFIG_NUMA buildsdrivers/char/random.c+1 -10 replies
69/264x86: Remove arch_has_random, arch_has_random_seedarch/x86/include/asm/archrandom.h+4 -80 replies
70/264powerpc: Remove arch_has_random, arch_has_random_seedarch/powerpc/include/asm/archrandom.h+0 -100 replies
71/264linux/random.h: Remove arch_has_random, arch_has_random_seedinclude/linux/random.h+0 -80 replies
72/264linux/random.h: Use false with boolinclude/linux/random.h+4 -40 replies
73/264linux/random.h: Mark CONFIG_ARCH_RANDOM functions __must_checkinclude/linux/random.h+4 -40 replies
74/264powerpc: Use bool in archrandom.harch/powerpc/include/asm/archrandom.h+9 -80 replies
75/264random: add arch_get_random_*long_early()drivers/char/random.c include/linux/random.h+41 -10 replies
76/264random: avoid arch_get_random_seed_long() when collecting IRQ randomnessdrivers/char/random.c+1 -140 replies
77/264random: remove dead code left over from blocking pooldrivers/char/random.c include/trace/events/random.h+3 -970 replies
78/264MAINTAINERS: co-maintain random.cMAINTAINERS+1 -00 replies
79/264crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>include/crypto/blake2s.h+1 -20 replies
80/264crypto: blake2s - adjust include guard naminginclude/crypto/blake2s.h include/crypto/internal/blake2s.h+6 -60 replies
81/264random: document add_hwgenerator_randomness() with other input functionsdrivers/char/random.c+11 -00 replies
82/264random: remove unused irq_flags argument from add_interrupt_randomness()drivers/char/random.c drivers/hv/vmbus_drv.c include/linux/random.h +1 more+5 -50 replies
83/264random: use BLAKE2s instead of SHA1 in extractiondrivers/char/random.c+30 -400 replies
84/264random: do not sign extend bytes for rotation when mixingdrivers/char/random.c+1 -10 replies
85/264random: do not re-init if crng_reseed completes before primary initdrivers/char/random.c+1 -10 replies
86/264random: mix bootloader randomness into pooldrivers/char/random.c+6 -20 replies
87/264random: harmonize "crng init done" messagesdrivers/char/random.c+1 -10 replies
88/264random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefsdrivers/char/random.c+12 -200 replies
89/264random: initialize ChaCha20 constants with correct endiannessdrivers/char/random.c include/crypto/chacha20.h+10 -20 replies
90/264random: early initialization of ChaCha constantsdrivers/char/random.c include/crypto/chacha20.h+15 -50 replies
91/264random: avoid superfluous call to RDRAND in CRNG extractiondrivers/char/random.c+1 -30 replies
92/264random: dont reset crng_init_cnt on urandom_read()drivers/char/random.c+0 -40 replies
93/264random: fix typo in commentsdrivers/char/random.c+1 -10 replies
94/264random: cleanup poolinfo abstractiondrivers/char/random.c+30 -370 replies
95/264crypto: chacha20 - Fix chacha20_block() keystream alignment (again)crypto/chacha20_generic.c drivers/char/random.c include/crypto/chacha20.h +1 more+20 -200 replies
96/264random: cleanup integer typesdrivers/char/random.c+57 -570 replies
97/264random: remove incomplete last_data logicdrivers/char/random.c+4 -360 replies
98/264random: remove unused extract_entropy() reserved argumentdrivers/char/random.c+7 -100 replies
99/264random: try to actively add entropy rather than passively wait for itdrivers/char/random.c+61 -10 replies
100/264random: rather than entropy_store abstraction, use globaldrivers/char/random.c include/trace/events/random.h+117 -1580 replies
101/264random: remove unused OUTPUT_POOL constantsdrivers/char/random.c+1 -30 replies
102/264random: de-duplicate INPUT_POOL constantsdrivers/char/random.c+6 -110 replies
103/264random: prepend remaining pool constants with POOL_drivers/char/random.c+20 -200 replies
104/264random: cleanup fractional entropy shift constantsdrivers/char/random.c+13 -150 replies
105/264random: access input_pool_data directly rather than through pointerdrivers/char/random.c+101 -1160 replies
106/264random: simplify arithmetic function flow in account()drivers/char/random.c+6 -110 replies
107/264random: continually use hwgenerator randomnessdrivers/char/random.c+6 -40 replies
108/264random: access primary_pool directly rather than through pointerdrivers/char/random.c+7 -70 replies
109/264random: only call crng_finalize_init() for primary_crngdrivers/char/random.c+5 -50 replies
110/264random: use computational hash for entropy extractiondrivers/char/random.c+55 -2490 replies
111/264random: simplify entropy debitingdrivers/char/random.c include/trace/events/random.h+27 -940 replies
112/264random: use linear min-entropy accumulation creditingdrivers/char/random.c+20 -940 replies
113/264random: always wake up entropy writers after extractionDocumentation/sysctl/kernel.txt drivers/char/random.c+56 -240 replies
114/264random: make credit_entropy_bits() always safedrivers/char/random.c+9 -200 replies
115/264random: remove use_input_pool parameter from crng_reseed()drivers/char/random.c+6 -60 replies
116/264random: remove batched entropy lockingdrivers/char/random.c+27 -310 replies
117/264random: fix locking in crng_fast_load()drivers/char/random.c+3 -20 replies
118/264random: use RDSEED instead of RDRAND in entropy extractiondrivers/char/random.c+62 -1840 replies
119/264random: inline leaves of rand_initialize()drivers/char/random.c+33 -570 replies
120/264random: ensure early RDSEED goes through mixer on initdrivers/char/random.c+5 -110 replies
121/264random: do not xor RDRAND when writing into /dev/randomdrivers/char/random.c+2 -120 replies
122/264random: absorb fast pool into input pool after fast loaddrivers/char/random.c+237 -1700 replies
123/264random: use hash function for crng_slow_load()drivers/char/random.c include/linux/hw_random.h include/linux/random.h +1 more+113 -1410 replies
124/264random: remove outdated INT_MAX >> 6 check in urandom_read()drivers/char/random.c+1 -20 replies
125/264random: zero buffer after reading entropy from userspacedrivers/char/random.c+14 -60 replies
126/264random: tie batched entropy generation to base_crng generationdrivers/char/random.c+8 -210 replies
127/264random: remove ifdefd out interrupt benchDocumentation/sysctl/kernel.txt drivers/char/random.c+0 -490 replies
128/264random: remove unused tracepointsdrivers/char/random.c include/trace/events/random.h lib/random32.c+5 -2210 replies
129/264random: add proper SPDX headerdrivers/char/random.c+1 -360 replies
130/264random: deobfuscate irq u32/u64 contributionsdrivers/char/random.c+28 -210 replies
131/264random: introduce drain_entropy() helper to declutter crng_reseed()drivers/char/random.c+23 -130 replies
132/264random: remove useless header commentinclude/linux/random.h+2 -50 replies
133/264random: remove whitespace and reorder includesdrivers/char/random.c+0 -10 replies
134/264random: group initialization wait functionsdrivers/char/random.c+527 -5390 replies
135/264random: group entropy extraction functionsdrivers/char/random.c+109 -1070 replies
136/264random: group entropy collection functionsdrivers/char/random.c+206 -1640 replies
137/264random: group userspace read/write functionsdrivers/char/random.c+77 -480 replies
138/264random: group sysctl functionsdrivers/char/random.c+30 -50 replies
139/264random: rewrite header introductory commentdrivers/char/random.c+19 -1600 replies
140/264workqueue: make workqueue available early during bootinclude/linux/workqueue.h init/main.c kernel/workqueue.c+76 -170 replies
141/264random: defer fast pool mixing to workerdrivers/char/random.c+49 -140 replies
142/264random: do not take pool spinlock at bootdrivers/char/random.c+3 -30 replies
143/264random: unify early init crng load accountingdrivers/char/random.c+59 -550 replies
144/264random: check for crng_init == 0 in add_device_randomness()drivers/char/random.c+1 -10 replies
145/264hwrng: core - do not use multiple blank linesdrivers/char/hw_random/core.c+0 -50 replies
146/264hwrng: core - rewrite better comparison to NULLdrivers/char/hw_random/core.c+1 -20 replies
147/264hwrng: core - Rewrite the headerdrivers/char/hw_random/core.c+9 -290 replies
148/264hwrng: core - Move hwrng miscdev minor number to include/linux/miscdevice.hdrivers/char/hw_random/core.c include/linux/miscdevice.h+2 -20 replies
149/264hwrng: core - remove unused PFX macrodrivers/char/hw_random/core.c+0 -10 replies
150/264hwrng: use rng source with best qualitydrivers/char/hw_random/core.c+19 -60 replies
151/264hwrng: remember rng chosen by userdrivers/char/hw_random/core.c+19 -20 replies
152/264random: pull add_hwgenerator_randomness() declaration into random.hdrivers/char/hw_random/core.c include/linux/hw_random.h include/linux/random.h+3 -20 replies
153/264random: clear fast pool, crng, and batches in cpuhp bring updrivers/char/random.c include/linux/cpuhotplug.h include/linux/random.h +1 more+65 -150 replies
154/264random: round-robin registers as ulong, not u32drivers/char/random.c+3 -30 replies
155/264random: only wake up writers after zap if threshold was passeddrivers/char/random.c+1 -10 replies
156/264random: cleanup UUID handlingdrivers/char/random.c include/linux/uuid.h+14 -160 replies
157/264random: unify cycles_t and jiffies usage and typesdrivers/char/random.c+27 -290 replies
158/264random: do crng pre-init loading in worker rather than irqdrivers/char/random.c+19 -460 replies
159/264random: give sysctl_random_min_urandom_seed a more sensible valuedrivers/char/random.c+2 -20 replies
160/264random: dont let 644 read-only sysctls be written todrivers/char/random.c+9 -20 replies
161/264random: replace custom notifier chain with standard onecrypto/drbg.c drivers/char/random.c include/crypto/drbg.h +2 more+41 -700 replies
162/264random: use SipHash as interrupt entropy accumulatordrivers/char/random.c+55 -390 replies
163/264random: make consistent usage of crng_ready()drivers/char/random.c+7 -120 replies
164/264random: reseed more often immediately after bootingdrivers/char/random.c+25 -30 replies
165/264random: check for signal and try earlier when generating entropydrivers/char/random.c+3 -20 replies
166/264random: skip fast_init if hwrng provides large chunk of entropydrivers/char/random.c+1 -10 replies
167/264random: treat bootloader trust toggle the same way as cpu trust toggleDocumentation/kernel-parameters.txt drivers/char/Kconfig drivers/char/random.c+15 -20 replies
168/264random: re-add removed comment about get_random_{u32,u64} reseedingdrivers/char/random.c+4 -30 replies
169/264random: mix build-time latent entropy into pool at initdrivers/char/random.c+5 -00 replies
170/264random: do not split fast init input in add_hwgenerator_randomness()drivers/char/random.c+6 -170 replies
171/264random: do not allow user to keep crng key around on stackdrivers/char/random.c+23 -120 replies
172/264random: check for signal_pending() outside of need_resched() checkdrivers/char/random.c+2 -20 replies
173/264random: check for signals every PAGE_SIZE chunk of /dev/[u]randomdrivers/char/random.c+20 -210 replies
174/264random: make random_get_entropy() return an unsigned longdrivers/char/random.c include/linux/timex.h+8 -140 replies
175/264random: document crng_fast_key_erasure() destination possibilitydrivers/char/random.c+7 -00 replies
176/264random: fix sysctl documentation nitsDocumentation/sysctl/kernel.txt+4 -40 replies
177/264init: call time_init() before rand_initialize()init/main.c+2 -10 replies
178/264ia64: define get_cycles macro for arch-overridearch/ia64/include/asm/timex.h+1 -00 replies
179/264s390: define get_cycles macro for arch-overridearch/s390/include/asm/timex.h+1 -00 replies
180/264parisc: define get_cycles macro for arch-overridearch/parisc/include/asm/timex.h+2 -10 replies
181/264alpha: define get_cycles macro for arch-overridearch/alpha/include/asm/timex.h+1 -00 replies
182/264powerpc: define get_cycles macro for arch-overridearch/powerpc/include/asm/timex.h+1 -00 replies
183/264timekeeping: Add raw clock fallback for random_get_entropy()include/linux/timex.h kernel/time/timekeeping.c+24 -00 replies
184/264m68k: use fallback for random_get_entropy() instead of zeroarch/m68k/include/asm/timex.h+1 -10 replies
185/264mips: use fallback for random_get_entropy() instead of just c0 randomarch/mips/include/asm/timex.h+8 -90 replies
186/264arm: use fallback for random_get_entropy() instead of zeroarch/arm/include/asm/timex.h+1 -00 replies
187/264nios2: use fallback for random_get_entropy() instead of zeroarch/nios2/include/asm/timex.h+3 -00 replies
188/264x86/tsc: Use fallback for random_get_entropy() instead of zeroarch/x86/include/asm/timex.h arch/x86/include/asm/tsc.h+12 -40 replies
189/264um: use fallback for random_get_entropy() instead of zeroarch/um/include/asm/timex.h+2 -70 replies
190/264sparc: use fallback for random_get_entropy() instead of zeroarch/sparc/include/asm/timex_32.h+1 -30 replies
191/264xtensa: use fallback for random_get_entropy() instead of zeroarch/xtensa/include/asm/timex.h+2 -40 replies
192/264uapi: rename ext2_swab() to swab() and share globally in swab.hinclude/linux/swab.h include/uapi/linux/swab.h lib/find_bit.c+13 -140 replies
193/264random: insist on random_get_entropy() existing in order to simplifydrivers/char/random.c+26 -600 replies
194/264random: do not use batches when !crng_ready()drivers/char/random.c+59 -990 replies
195/264random: do not pretend to handle premature next security modeldrivers/char/random.c+62 -1120 replies
196/264random: order timer entropy functions below interrupt functionsdrivers/char/random.c+119 -1190 replies
197/264random: do not use input pool from hard IRQsdrivers/char/random.c+36 -150 replies
198/264random: help compiler out with fast_mix() by using simpler argumentsdrivers/char/random.c+23 -210 replies
199/264siphash: use one source of truth for siphash permutationsdrivers/char/random.c include/linux/prandom.h include/linux/siphash.h +1 more+52 -610 replies
200/264random: use symbolic constants for crng_init statesdrivers/char/random.c+19 -190 replies
201/264random: avoid initializing twice in credit racedrivers/char/random.c+22 -260 replies
202/264random: remove ratelimiting for in-kernel unseeded randomnessdrivers/char/random.c lib/Kconfig.debug+20 -460 replies
203/264random: use proper jiffies comparison macrodrivers/char/random.c+1 -10 replies
204/264random: handle latent entropy and command line from random_init()drivers/char/random.c include/linux/random.h init/main.c+18 -210 replies
205/264random: credit architectural init the exact amountdrivers/char/random.c+6 -60 replies
206/264random: use static branch for crng_ready()drivers/char/random.c+12 -40 replies
207/264random: remove extern from functions in headerinclude/linux/random.h+27 -400 replies
208/264random: use proper return types on get_random_{int,long}_wait()drivers/char/random.c include/linux/random.h+107 -1120 replies
209/264random: move initialization functions out of hot pagesdrivers/char/random.c+18 -220 replies
210/264random: move randomize_page() into mm where it belongsdrivers/char/random.c include/linux/mm.h include/linux/random.h +1 more+117 -1580 replies
211/264random: convert to using fops->write_iter()drivers/char/random.c+35 -320 replies
212/264random: wire up fops->splice_{read,write}_iter()drivers/char/random.c+4 -00 replies
213/264random: check for signals after page of pool writesdrivers/char/random.c+10 -40 replies
214/264Revert "random: use static branch for crng_ready()"drivers/char/random.c+2 -100 replies
215/264crypto: drbg - add FIPS 140-2 CTRNG for noise sourcecrypto/drbg.c include/crypto/drbg.h+93 -30 replies
216/264crypto: drbg - always seeded with SP800-90B compliant noise sourcecrypto/drbg.c include/crypto/drbg.h+20 -120 replies
217/264crypto: drbg - prepare for more fine-grained tracking of seeding statecrypto/drbg.c include/crypto/drbg.h+16 -100 replies
218/264crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()crypto/drbg.c include/crypto/drbg.h+9 -40 replies
219/264crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()crypto/drbg.c+20 -90 replies
220/264crypto: drbg - always try to free Jitter RNG instancecrypto/drbg.c+4 -20 replies
221/264crypto: drbg - make reseeding from get_random_bytes() synchronouscrypto/drbg.c drivers/char/random.c include/crypto/drbg.h+11 -540 replies
222/264random: avoid checking crng_ready() twice in random_init()drivers/char/random.c+1 -10 replies
223/264random: mark bootloader randomness code as __initdrivers/char/random.c include/linux/random.h+4 -50 replies
224/264random: account for arch randomness in bitsdrivers/char/random.c+4 -40 replies
225/264ASoC: cs42l52: Fix TLV scales for mixer controlssound/soc/codecs/cs42l52.c+2 -20 replies
226/264ASoC: cs53l30: Correct number of volume levels on SX controlssound/soc/codecs/cs53l30.c+8 -80 replies
227/264ASoC: cs42l52: Correct TLV for Bypass Volumesound/soc/codecs/cs42l52.c+3 -10 replies
228/264ASoC: cs42l56: Correct typo in minimum level for SX volume controlssound/soc/codecs/cs42l56.c+2 -20 replies
229/264ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()drivers/ata/libata-core.c+2 -20 replies
230/264ASoC: wm8962: Fix suspend while playing musicsound/soc/codecs/wm8962.c+1 -00 replies
231/264scsi: vmw_pvscsi: Expand vcpuHint to 16 bitsdrivers/scsi/vmw_pvscsi.h+2 -20 replies
232/264scsi: lpfc: Fix port stuck in bypassed state after LIP in PT2PT topologydrivers/scsi/lpfc/lpfc_nportdisc.c+2 -10 replies
233/264virtio-mmio: fix missing put_device() when vm_cmdline_parent registration faileddrivers/virtio/virtio_mmio.c+1 -00 replies
234/264nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferreddrivers/nfc/nfcmrvl/usb.c+14 -20 replies
235/264ipv6: Fix signed integer overflow in l2tp_ip6_sendmsgnet/l2tp/l2tp_ip6.c+3 -20 replies
236/264net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_fragdrivers/net/ethernet/mediatek/mtk_eth_soc.c+19 -20 replies
237/264random: credit cpu and bootloader seeds by defaultdrivers/char/Kconfig+33 -210 replies
238/264pNFS: Dont keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLEfs/nfs/pnfs.c+6 -00 replies
239/264misc: atmel-ssc: Fix IRQ check in ssc_probedrivers/misc/atmel-ssc.c+2 -20 replies
240/264irqchip/gic/realview: Fix refcount leak in realview_gic_of_initdrivers/irqchip/irq-gic-realview.c+1 -00 replies
241/264irqchip/gic-v3: Iterate over possible CPUs by for_each_possible_cpu()drivers/irqchip/irq-gic-v3.c+4 -40 replies
242/264comedi: vmk80xx: fix expression for tx buffer sizedrivers/staging/comedi/drivers/vmk80xx.c+1 -10 replies
243/264USB: serial: option: add support for Cinterion MV31 with new baselinedrivers/usb/serial/option.c+6 -00 replies
244/264USB: serial: io_ti: add Agilent E5805A supportdrivers/usb/serial/io_ti.c drivers/usb/serial/io_usbvend.h+3 -00 replies
245/264usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probedrivers/usb/gadget/udc/lpc32xx_udc.c+1 -00 replies
246/264serial: 8250: Store to lsr_save_flags after lsr readdrivers/tty/serial/8250/8250_port.c+2 -00 replies
247/264ext4: fix bug_on ext4_mb_use_inode_pafs/ext4/mballoc.c+9 -00 replies
248/264ext4: make variable "count" signedfs/ext4/namei.c+2 -10 replies
249/264ext4: add reserved GDT blocks checkfs/ext4/resize.c+10 -00 replies
250/264l2tp: dont use inet_shutdown on ppp session destroynet/l2tp/l2tp_ppp.c+0 -100 replies
251/264l2tp: fix race in pppol2tp_release with session object destroynet/l2tp/l2tp_ppp.c+27 -250 replies
252/264s390/mm: use non-quiescing sske for KVM switch to keyed guestarch/s390/mm/pgtable.c+1 -10 replies
253/264xprtrdma: fix incorrect header size calculationsnet/sunrpc/xprtrdma/rpc_rdma.c+2 -20 replies
254/264swiotlb: fix info leak with DMA_FROM_DEVICEDocumentation/DMA-attributes.txt include/linux/dma-mapping.h lib/swiotlb.c+19 -10 replies
255/264Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""Documentation/DMA-attributes.txt include/linux/dma-mapping.h lib/swiotlb.c+8 -210 replies
256/264fuse: fix pipe buffer lifetime for direct_iofs/fuse/dev.c fs/fuse/file.c fs/fuse/fuse_i.h+14 -10 replies
257/264tcp: change source port randomizarion at connect() timenet/ipv4/inet_hashtables.c+17 -30 replies
258/264tcp: add some entropy in __inet_hash_connect()net/ipv4/inet_hashtables.c+5 -00 replies
259/264secure_seq: use the 64 bits of the siphash for port offset calculationinclude/net/inet_hashtables.h include/net/secure_seq.h net/core/secure_seq.c +2 more+13 -110 replies
260/264tcp: use different parts of the port_offset for index and offsetnet/ipv4/inet_hashtables.c+1 -10 replies
261/264tcp: add small random increments to the source portnet/ipv4/inet_hashtables.c+5 -40 replies
262/264tcp: dynamically allocate the perturb table used by source portsnet/ipv4/inet_hashtables.c+13 -20 replies
263/264tcp: increase source port perturb table to 2^16net/ipv4/inet_hashtables.c+5 -40 replies
264/264tcp: drop the hash_32() part from the index calculationnet/ipv4/inet_hashtables.c+1 -10 replies

Reviews trailers per patch

128 of 264 patches have a Reviewed-by or Acked-by.

PatchSergey SenozhatskyGreg Kroah-HartmanPaul E. McKenneyTheodore Ts'oSteven Rostedt (VMware)Wei LiuDominik BrodowskiEric BiggersJean-Philippe AumassonJann HornArd BiesheuvelSebastian Andrzej SiewiorJonathan NeuschäferKeerthyStephen BoydRob HerringPrasannaKumar MuralidharanKees CookAndy LutomirskiAndre PrzywaraMarc ZyngierJason A. DonenfeldHerbert XuGeert UytterhoevenMaciej W. RozyckiThomas BogendoerferDinh NguyenHeiko CarstensThomas GleixnerHelge DellerMax FilippovRussell King (Oracle)Michael EllermanMatt TurnerJohannes BergStafford HorneCharles KeepaxYann DroneaudJason WangKrzysztof KozlowskiJohan HovoldSultan AlsawafClaudiu BezneaUwe Kleine-KönigRitesh HarjaniClaudio ImbrendaStephan MüllerChuck LeverOleksandr NatalenkoEric DumazetJan KaraFlorian FainelliPavel Machek (CIP)Shuah KhanJon HunterGuenter RoeckLinux Kernel Functional Testing
SeriesT-b T-b T-b T-b T-b T-b
1/264
2/264
3/264
4/264
5/264
6/264
7/264
8/264
9/264
10/264
11/264
12/264
13/264
14/264
15/264
16/264
17/264
18/264
19/264
20/264
21/264
22/264R-b
23/264
24/264R-b
25/264A-b
26/264
27/264
28/264
29/264
30/264A-b
31/264A-b R-b
32/264
33/264
34/264
35/264
36/264
37/264
38/264
39/264
40/264
41/264
42/264A-b
43/264
44/264T-b
45/264R-b R-b R-b
46/264T-b
47/264
48/264
49/264
50/264
51/264A-b T-b
52/264T-b
53/264
54/264
55/264
56/264
57/264
58/264
59/264
60/264
61/264
62/264
63/264
64/264
65/264
66/264
67/264
68/264
69/264
70/264
71/264
72/264
73/264R-b
74/264R-b
75/264
76/264R-b R-b T-b A-b R-b
77/264A-b R-b
78/264
79/264A-b
80/264A-b
81/264
82/264A-b
83/264R-b R-b R-b R-b
84/264
85/264R-b
86/264
87/264
88/264R-b
89/264A-b
90/264
91/264R-b A-b
92/264
93/264
94/264R-b
95/264
96/264R-b
97/264R-b
98/264R-b
99/264
100/264R-b
101/264R-b
102/264R-b
103/264R-b
104/264R-b
105/264R-b
106/264R-b
107/264
108/264
109/264
110/264R-b R-b R-b
111/264R-b R-b
112/264R-b R-b
113/264R-b R-b
114/264R-b R-b
115/264
116/264R-b R-b R-b T-b
117/264R-b
118/264R-b R-b
119/264R-b R-b
120/264R-b R-b
121/264R-b R-b
122/264R-b R-b
123/264R-b R-b
124/264R-b R-b R-b
125/264R-b R-b R-b
126/264R-b R-b
127/264R-b R-b
128/264R-b R-b
129/264R-b
130/264R-b
131/264R-b R-b
132/264R-b R-b
133/264R-b R-b
134/264R-b R-b
135/264R-b R-b
136/264R-b R-b
137/264R-b R-b
138/264R-b
139/264R-b R-b
140/264
141/264R-b A-b R-b
142/264R-b R-b
143/264R-b R-b
144/264R-b R-b
145/264
146/264
147/264
148/264
149/264
150/264R-b
151/264R-b
152/264R-b R-b A-b
153/264A-b
154/264R-b
155/264R-b
156/264R-b
157/264R-b
158/264R-b A-b
159/264R-b
160/264R-b
161/264R-b
162/264R-b
163/264R-b
164/264R-b
165/264R-b
166/264
167/264R-b R-b
168/264R-b
169/264R-b R-b
170/264
171/264R-b
172/264
173/264
174/264A-b
175/264R-b
176/264
177/264R-b
178/264
179/264A-b
180/264A-b
181/264A-b
182/264A-b
183/264R-b
184/264A-b
185/264T-b A-b
186/264R-b
187/264A-b
188/264R-b
189/264A-b
190/264
191/264A-b
192/264
193/264
194/264R-b
195/264R-b
196/264
197/264
198/264
199/264
200/264R-b
201/264R-b
202/264
203/264
204/264R-b
205/264R-b
206/264R-b
207/264
208/264
209/264R-b
210/264
211/264
212/264
213/264
214/264
215/264R-b
216/264
217/264R-b
218/264R-b
219/264R-b
220/264
221/264
222/264
223/264
224/264
225/264
226/264
227/264
228/264
229/264
230/264A-b
231/264
232/264
233/264A-b
234/264A-b
235/264
236/264
237/264R-b
238/264
239/264R-b
240/264
241/264
242/264R-b
243/264
244/264
245/264
246/264A-b
247/264R-b
248/264
249/264R-b R-b
250/264
251/264
252/264R-b
253/264R-b
254/264
255/264T-b
256/264
257/264
258/264
259/264R-b
260/264R-b
261/264R-b
262/264R-b
263/264R-b
264/264R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 57 reviewers.

Read the v1 thread

Cover letter [PATCH 4.9 000/264] 4.9.320-rc1 review

This is the start of the stable review cycle for the 4.9.320 release. There are 264 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 Sat, 25 Jun 2022 16:43:11 +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/v4.x/stable-review/patch-4.9.320-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>

    Linux 4.9.320-rc1

Willy Tarreau <[email protected]>
tcp: drop the hash_32() part from the index calculation

Willy Tarreau <[email protected]>
tcp: increase source port perturb table to 2^16

Willy Tarreau <[email protected]>
tcp: dynamically allocate the perturb table used by source ports

Willy Tarreau <[email protected]>
tcp: add small random increments to the source port

Willy Tarreau <[email protected]>
tcp: use different parts of the port_offset for index and offset

Willy Tarreau <[email protected]>
secure_seq: use the 64 bits of the siphash for port offset calculation

Eric Dumazet <[email protected]>
tcp: add some entropy in __inet_hash_connect()

Eric Dumazet <[email protected]>
tcp: change source port randomizarion at connect() time

Miklos Szeredi <[email protected]>
fuse: fix pipe buffer lifetime for direct_io

Linus Torvalds <[email protected]>
Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""

Halil Pasic <[email protected]>
swiotlb: fix info leak with DMA_FROM_DEVICE

Colin Ian King <[email protected]>
xprtrdma: fix incorrect header size calculations

Christian Borntraeger <[email protected]>
s390/mm: use non-quiescing sske for KVM switch to keyed guest

James Chapman <[email protected]>
l2tp: fix race in pppol2tp_release with session object destroy

James Chapman <[email protected]>
l2tp: don't use inet_shutdown on ppp session destroy

Zhang Yi <[email protected]>
ext4: add reserved GDT blocks check

Ding Xiang <[email protected]>
ext4: make variable "count" signed

Baokun Li <[email protected]>
ext4: fix bug_on ext4_mb_use_inode_pa

Ilpo Järvinen <[email protected]>
serial: 8250: Store to lsr_save_flags after lsr read

Miaoqian Lin <[email protected]>
usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe

Robert Eckelmann <[email protected]>
USB: serial: io_ti: add Agilent E5805A support

Slark Xiao <[email protected]>
USB: serial: option: add support for Cinterion MV31 with new baseline

Ian Abbott <[email protected]>

    comedi: vmk80xx: fix expression for tx buffer size

zijun_hu <[email protected]>
irqchip/gic-v3: Iterate over possible CPUs by for_each_possible_cpu()

Miaoqian Lin <[email protected]>
irqchip/gic/realview: Fix refcount leak in realview_gic_of_init

Miaoqian Lin <[email protected]>
misc: atmel-ssc: Fix IRQ check in ssc_probe

Trond Myklebust <[email protected]>
pNFS: Don't keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLE

Jason A. Donenfeld <[email protected]>
random: credit cpu and bootloader seeds by default

Chen Lin <[email protected]>
net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_frag

Wang Yufen <[email protected]>
ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg

Xiaohui Zhang <[email protected]>
nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred

chengkaitao <[email protected]>
virtio-mmio: fix missing put_device() when vm_cmdline_parent registration failed

James Smart <[email protected]>
scsi: lpfc: Fix port stuck in bypassed state after LIP in PT2PT topology

Wentao Wang <[email protected]>
scsi: vmw_pvscsi: Expand vcpuHint to 16 bits

Adam Ford <[email protected]>
ASoC: wm8962: Fix suspend while playing music

Sergey Shtylyov <[email protected]>
ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()

Charles Keepax <[email protected]>
ASoC: cs42l56: Correct typo in minimum level for SX volume controls

Charles Keepax <[email protected]>
ASoC: cs42l52: Correct TLV for Bypass Volume

Charles Keepax <[email protected]>
ASoC: cs53l30: Correct number of volume levels on SX controls

Charles Keepax <[email protected]>
ASoC: cs42l52: Fix TLV scales for mixer controls

Jason A. Donenfeld <[email protected]>
random: account for arch randomness in bits

Jason A. Donenfeld <[email protected]>
random: mark bootloader randomness code as __init

Jason A. Donenfeld <[email protected]>
random: avoid checking crng_ready() twice in random_init()

Nicolai Stange <[email protected]>
crypto: drbg - make reseeding from get_random_bytes() synchronous

Stephan Müller <[email protected]>
crypto: drbg - always try to free Jitter RNG instance

Nicolai Stange <[email protected]>

    crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()

Nicolai Stange <[email protected]>
crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()

Nicolai Stange <[email protected]>
crypto: drbg - prepare for more fine-grained tracking of seeding state

Stephan Müller <[email protected]>
crypto: drbg - always seeded with SP800-90B compliant noise source

Stephan Mueller <[email protected]>
crypto: drbg - add FIPS 140-2 CTRNG for noise source

Jason A. Donenfeld <[email protected]>
Revert "random: use static branch for crng_ready()"

Jason A. Donenfeld <[email protected]>
random: check for signals after page of pool writes

Jens Axboe <[email protected]>

    random: wire up fops->splice_{read,write}_iter()

Jens Axboe <[email protected]>

    random: convert to using fops->write_iter()

Jason A. Donenfeld <[email protected]>
random: move randomize_page() into mm where it belongs

Jason A. Donenfeld <[email protected]>
random: move initialization functions out of hot pages

Jason A. Donenfeld <[email protected]>
random: use proper return types on get_random_{int,long}_wait()

Jason A. Donenfeld <[email protected]>
random: remove extern from functions in header

Jason A. Donenfeld <[email protected]>
random: use static branch for crng_ready()

Jason A. Donenfeld <[email protected]>
random: credit architectural init the exact amount

Jason A. Donenfeld <[email protected]>
random: handle latent entropy and command line from random_init()

Jason A. Donenfeld <[email protected]>
random: use proper jiffies comparison macro

Jason A. Donenfeld <[email protected]>
random: remove ratelimiting for in-kernel unseeded randomness

Jason A. Donenfeld <[email protected]>
random: avoid initializing twice in credit race

Jason A. Donenfeld <[email protected]>
random: use symbolic constants for crng_init states

Jason A. Donenfeld <[email protected]>
siphash: use one source of truth for siphash permutations

Jason A. Donenfeld <[email protected]>
random: help compiler out with fast_mix() by using simpler arguments

Jason A. Donenfeld <[email protected]>
random: do not use input pool from hard IRQs

Jason A. Donenfeld <[email protected]>
random: order timer entropy functions below interrupt functions

Jason A. Donenfeld <[email protected]>
random: do not pretend to handle premature next security model

Jason A. Donenfeld <[email protected]>
random: do not use batches when !crng_ready()

Jason A. Donenfeld <[email protected]>
random: insist on random_get_entropy() existing in order to simplify

Yury Norov <[email protected]>
uapi: rename ext2_swab() to swab() and share globally in swab.h

Jason A. Donenfeld <[email protected]>
xtensa: use fallback for random_get_entropy() instead of zero

Jason A. Donenfeld <[email protected]>
sparc: use fallback for random_get_entropy() instead of zero

Jason A. Donenfeld <[email protected]>
um: use fallback for random_get_entropy() instead of zero

Jason A. Donenfeld <[email protected]>
x86/tsc: Use fallback for random_get_entropy() instead of zero

Jason A. Donenfeld <[email protected]>
nios2: use fallback for random_get_entropy() instead of zero

Jason A. Donenfeld <[email protected]>
arm: use fallback for random_get_entropy() instead of zero

Jason A. Donenfeld <[email protected]>
mips: use fallback for random_get_entropy() instead of just c0 random

Jason A. Donenfeld <[email protected]>
m68k: use fallback for random_get_entropy() instead of zero

Jason A. Donenfeld <[email protected]>
timekeeping: Add raw clock fallback for random_get_entropy()

Jason A. Donenfeld <[email protected]>
powerpc: define get_cycles macro for arch-override

Jason A. Donenfeld <[email protected]>
alpha: define get_cycles macro for arch-override

Jason A. Donenfeld <[email protected]>
parisc: define get_cycles macro for arch-override

Jason A. Donenfeld <[email protected]>
s390: define get_cycles macro for arch-override

Jason A. Donenfeld <[email protected]>
ia64: define get_cycles macro for arch-override

Jason A. Donenfeld <[email protected]>
init: call time_init() before rand_initialize()

Jason A. Donenfeld <[email protected]>
random: fix sysctl documentation nits

Jason A. Donenfeld <[email protected]>
random: document crng_fast_key_erasure() destination possibility

Jason A. Donenfeld <[email protected]>
random: make random_get_entropy() return an unsigned long

Jason A. Donenfeld <[email protected]>
random: check for signals every PAGE_SIZE chunk of /dev/[u]random

Jann Horn <[email protected]>
random: check for signal_pending() outside of need_resched() check

Jason A. Donenfeld <[email protected]>
random: do not allow user to keep crng key around on stack

Jan Varho <[email protected]>
random: do not split fast init input in add_hwgenerator_randomness()

Jason A. Donenfeld <[email protected]>
random: mix build-time latent entropy into pool at init

Jason A. Donenfeld <[email protected]>
random: re-add removed comment about get_random_{u32,u64} reseeding

Jason A. Donenfeld <[email protected]>
random: treat bootloader trust toggle the same way as cpu trust toggle

Jason A. Donenfeld <[email protected]>
random: skip fast_init if hwrng provides large chunk of entropy

Jason A. Donenfeld <[email protected]>
random: check for signal and try earlier when generating entropy

Jason A. Donenfeld <[email protected]>
random: reseed more often immediately after booting

Jason A. Donenfeld <[email protected]>
random: make consistent usage of crng_ready()

Jason A. Donenfeld <[email protected]>
random: use SipHash as interrupt entropy accumulator

Jason A. Donenfeld <[email protected]>
random: replace custom notifier chain with standard one

Jason A. Donenfeld <[email protected]>
random: don't let 644 read-only sysctls be written to

Jason A. Donenfeld <[email protected]>
random: give sysctl_random_min_urandom_seed a more sensible value

Jason A. Donenfeld <[email protected]>
random: do crng pre-init loading in worker rather than irq

Jason A. Donenfeld <[email protected]>
random: unify cycles_t and jiffies usage and types

Jason A. Donenfeld <[email protected]>
random: cleanup UUID handling

Jason A. Donenfeld <[email protected]>
random: only wake up writers after zap if threshold was passed

Jason A. Donenfeld <[email protected]>
random: round-robin registers as ulong, not u32

Jason A. Donenfeld <[email protected]>
random: clear fast pool, crng, and batches in cpuhp bring up

Jason A. Donenfeld <[email protected]>
random: pull add_hwgenerator_randomness() declaration into random.h

Harald Freudenberger <[email protected]>
hwrng: remember rng chosen by user

Harald Freudenberger <[email protected]>
hwrng: use rng source with best quality

Corentin LABBE <[email protected]>
hwrng: core - remove unused PFX macro

Corentin LABBE <[email protected]>
hwrng: core - Move hwrng miscdev minor number to include/linux/miscdevice.h

Corentin LABBE <[email protected]>
hwrng: core - Rewrite the header

Corentin LABBE <[email protected]>
hwrng: core - rewrite better comparison to NULL

Corentin LABBE <[email protected]>
hwrng: core - do not use multiple blank lines

Jason A. Donenfeld <[email protected]>

    random: check for crng_init == 0 in add_device_randomness()

Jason A. Donenfeld <[email protected]>
random: unify early init crng load accounting

Jason A. Donenfeld <[email protected]>
random: do not take pool spinlock at boot

Jason A. Donenfeld <[email protected]>
random: defer fast pool mixing to worker

Tejun Heo <[email protected]>
workqueue: make workqueue available early during boot

Jason A. Donenfeld <[email protected]>
random: rewrite header introductory comment

Jason A. Donenfeld <[email protected]>
random: group sysctl functions

Jason A. Donenfeld <[email protected]>
random: group userspace read/write functions

Jason A. Donenfeld <[email protected]>
random: group entropy collection functions

Jason A. Donenfeld <[email protected]>
random: group entropy extraction functions

Jason A. Donenfeld <[email protected]>
random: group initialization wait functions

Jason A. Donenfeld <[email protected]>
random: remove whitespace and reorder includes

Jason A. Donenfeld <[email protected]>
random: remove useless header comment

Jason A. Donenfeld <[email protected]>
random: introduce drain_entropy() helper to declutter crng_reseed()

Jason A. Donenfeld <[email protected]>
random: deobfuscate irq u32/u64 contributions

Jason A. Donenfeld <[email protected]>
random: add proper SPDX header

Jason A. Donenfeld <[email protected]>
random: remove unused tracepoints

Jason A. Donenfeld <[email protected]>
random: remove ifdef'd out interrupt bench

Jason A. Donenfeld <[email protected]>
random: tie batched entropy generation to base_crng generation

Jason A. Donenfeld <[email protected]>
random: zero buffer after reading entropy from userspace

Jason A. Donenfeld <[email protected]>
random: remove outdated INT_MAX >> 6 check in urandom_read()

Jason A. Donenfeld <[email protected]>
random: use hash function for crng_slow_load()

Jason A. Donenfeld <[email protected]>
random: absorb fast pool into input pool after fast load

Jason A. Donenfeld <[email protected]>
random: do not xor RDRAND when writing into /dev/random

Jason A. Donenfeld <[email protected]>
random: ensure early RDSEED goes through mixer on init

Jason A. Donenfeld <[email protected]>
random: inline leaves of rand_initialize()

Jason A. Donenfeld <[email protected]>
random: use RDSEED instead of RDRAND in entropy extraction

Dominik Brodowski <[email protected]>
random: fix locking in crng_fast_load()

Jason A. Donenfeld <[email protected]>
random: remove batched entropy locking

Eric Biggers <[email protected]>
random: remove use_input_pool parameter from crng_reseed()

Jason A. Donenfeld <[email protected]>
random: make credit_entropy_bits() always safe

Jason A. Donenfeld <[email protected]>
random: always wake up entropy writers after extraction

Jason A. Donenfeld <[email protected]>
random: use linear min-entropy accumulation crediting

Jason A. Donenfeld <[email protected]>
random: simplify entropy debiting

Jason A. Donenfeld <[email protected]>
random: use computational hash for entropy extraction

Dominik Brodowski <[email protected]>
random: only call crng_finalize_init() for primary_crng

Dominik Brodowski <[email protected]>
random: access primary_pool directly rather than through pointer

Dominik Brodowski <[email protected]>
random: continually use hwgenerator randomness

Jason A. Donenfeld <[email protected]>
random: simplify arithmetic function flow in account()

Jason A. Donenfeld <[email protected]>
random: access input_pool_data directly rather than through pointer

Jason A. Donenfeld <[email protected]>
random: cleanup fractional entropy shift constants

Jason A. Donenfeld <[email protected]>
random: prepend remaining pool constants with POOL_

Jason A. Donenfeld <[email protected]>
random: de-duplicate INPUT_POOL constants

Jason A. Donenfeld <[email protected]>
random: remove unused OUTPUT_POOL constants

Jason A. Donenfeld <[email protected]>
random: rather than entropy_store abstraction, use global

Linus Torvalds <[email protected]>
random: try to actively add entropy rather than passively wait for it

Jason A. Donenfeld <[email protected]>
random: remove unused extract_entropy() reserved argument

Jason A. Donenfeld <[email protected]>
random: remove incomplete last_data logic

Jason A. Donenfeld <[email protected]>
random: cleanup integer types

Eric Biggers <[email protected]>
crypto: chacha20 - Fix chacha20_block() keystream alignment (again)

Jason A. Donenfeld <[email protected]>
random: cleanup poolinfo abstraction

Schspa Shi <[email protected]>
random: fix typo in comments

Jann Horn <[email protected]>
random: don't reset crng_init_cnt on urandom_read()

Jason A. Donenfeld <[email protected]>
random: avoid superfluous call to RDRAND in CRNG extraction

Dominik Brodowski <[email protected]>
random: early initialization of ChaCha constants

Eric Biggers <[email protected]>
random: initialize ChaCha20 constants with correct endianness

Jason A. Donenfeld <[email protected]>
random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs

Dominik Brodowski <[email protected]>
random: harmonize "crng init done" messages

Jason A. Donenfeld <[email protected]>
random: mix bootloader randomness into pool

Jason A. Donenfeld <[email protected]>
random: do not re-init if crng_reseed completes before primary init

Jason A. Donenfeld <[email protected]>
random: do not sign extend bytes for rotation when mixing

Jason A. Donenfeld <[email protected]>
random: use BLAKE2s instead of SHA1 in extraction

Sebastian Andrzej Siewior <[email protected]>
random: remove unused irq_flags argument from add_interrupt_randomness()

Mark Brown <[email protected]>
random: document add_hwgenerator_randomness() with other input functions

Eric Biggers <[email protected]>
crypto: blake2s - adjust include guard naming

Eric Biggers <[email protected]>
crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>

Jason A. Donenfeld <[email protected]>
MAINTAINERS: co-maintain random.c

Eric Biggers <[email protected]>
random: remove dead code left over from blocking pool

Ard Biesheuvel <[email protected]>
random: avoid arch_get_random_seed_long() when collecting IRQ randomness

Mark Rutland <[email protected]>
random: add arch_get_random_*long_early()

Richard Henderson <[email protected]>
powerpc: Use bool in archrandom.h

Richard Henderson <[email protected]>
linux/random.h: Mark CONFIG_ARCH_RANDOM functions __must_check

Richard Henderson <[email protected]>
linux/random.h: Use false with bool

Richard Henderson <[email protected]>
linux/random.h: Remove arch_has_random, arch_has_random_seed

Richard Henderson <[email protected]>
powerpc: Remove arch_has_random, arch_has_random_seed

Richard Henderson <[email protected]>
x86: Remove arch_has_random, arch_has_random_seed

Mark Rutland <[email protected]>
random: avoid warnings for !CONFIG_NUMA builds

Mark Rutland <[email protected]>
random: split primary/secondary crng init paths

Yangtao Li <[email protected]>
random: remove some dead code of poolinfo

Yangtao Li <[email protected]>
random: fix typo in add_timer_randomness()

Yangtao Li <[email protected]>
random: Add and use pr_fmt()

Yangtao Li <[email protected]>
random: convert to ENTROPY_BITS for better code readability

Yangtao Li <[email protected]>
random: remove unnecessary unlikely()

Andy Lutomirski <[email protected]>
random: remove kernel.random.read_wakeup_threshold

Andy Lutomirski <[email protected]>
random: delete code to pull data into pools

Andy Lutomirski <[email protected]>
random: remove the blocking pool

Dominik Brodowski <[email protected]>
random: fix crash on multiple early calls to add_bootloader_randomness()

Andy Lutomirski <[email protected]>
random: make /dev/random be almost like /dev/urandom

Andy Lutomirski <[email protected]>
random: ignore GRND_RANDOM in getentropy(2)

Andy Lutomirski <[email protected]>
random: add GRND_INSECURE to return best-effort non-cryptographic bytes

Andy Lutomirski <[email protected]>
random: Add a urandom_read_nowait() for random APIs that don't warn

Andy Lutomirski <[email protected]>

    random: Don't wake crng_init_wait when crng_init == 1

Jason A. Donenfeld <[email protected]>
lib/crypto: sha1: re-roll loops to reduce code size

Jason A. Donenfeld <[email protected]>
lib/crypto: blake2s: move hmac construction into wireguard

Jason A. Donenfeld <[email protected]>
crypto: blake2s - generic C library implementation and selftest

Andy Shevchenko <[email protected]>
crypto: Deduplicate le32_to_cpu_array() and cpu_to_le32_array()

Herbert Xu <[email protected]>
Revert "hwrng: core - Freeze khwrng thread during suspend"

Borislav Petkov <[email protected]>
char/random: Add a newline at the end of the file

Stephen Boyd <[email protected]>
random: Use wait_event_freezable() in add_hwgenerator_randomness()

Hsin-Yi Wang <[email protected]>
fdt: add support for rng-seed

Stephen Boyd <[email protected]>
random: Support freezable kthreads in add_hwgenerator_randomness()

Theodore Ts'o <[email protected]>
random: fix soft lockup when trying to read from an uninitialized blocking pool

Vasily Gorbik <[email protected]>
latent_entropy: avoid build error when plugin cflags are not set

George Spelvin <[email protected]>
random: document get_random_int() family

Kees Cook <[email protected]>
random: move rand_initialize() earlier

Theodore Ts'o <[email protected]>
random: only read from /dev/random after its pool has received 128 bits

Rasmus Villemoes <[email protected]>
drivers/char/random.c: make primary_crng static

Rasmus Villemoes <[email protected]>
drivers/char/random.c: remove unused stuct poolinfo::poolbits

Rasmus Villemoes <[email protected]>
drivers/char/random.c: constify poolinfo_table

Kees Cook <[email protected]>
random: make CPU trust a boot parameter

Jason A. Donenfeld <[email protected]>
random: Make crng state queryable

Ingo Molnar <[email protected]>
random: remove preempt disabled region

Theodore Ts'o <[email protected]>
random: add a config option to trust the CPU's hwrng

Tobin C. Harding <[email protected]>
random: Return nbytes filled from hw RNG

Tobin C. Harding <[email protected]>
random: Fix whitespace pre random-bytes work

Rasmus Villemoes <[email protected]>
drivers/char/random.c: remove unused dont_count_entropy

Andi Kleen <[email protected]>
random: optimize add_interrupt_randomness

Jason A. Donenfeld <[email protected]>
random: always fill buffer in get_random_bytes_wait

Eric Biggers <[email protected]>
crypto: chacha20 - Fix keystream alignment for chacha20_block()

Eric Biggers <[email protected]>
random: fix data race on crng_node_pool

Jason A. Donenfeld <[email protected]>

    random: always use batched entropy for get_random_u{32,64}

Greg Kroah-Hartman <[email protected]>
Revert "char/random: silence a lockdep splat with printk()"

Sergey Senozhatsky <[email protected]>
char/random: silence a lockdep splat with printk()

Sebastian Andrzej Siewior <[email protected]>
random: add a spinlock_t to struct batched_entropy

Theodore Ts'o <[email protected]>
random: rate limit unseeded randomness warnings

Theodore Ts'o <[email protected]>
random: fix possible sleeping allocation from irq context

Theodore Ts'o <[email protected]>
random: set up the NUMA crng instances after the CRNG is fully initialized

Theodore Ts'o <[email protected]>
random: use a different mixing algorithm for add_device_randomness()

Helge Deller <[email protected]>
random: fix warning message on ia64 and parisc

Sebastian Andrzej Siewior <[email protected]>
random: reorder READ_ONCE() in get_random_uXX

Theodore Ts'o <[email protected]>
random: suppress spammy warnings about unseeded randomness

Kees Cook <[email protected]>
random: do not ignore early device randomness

Jason A. Donenfeld <[email protected]>
random: warn when kernel uses unseeded randomness

Jason A. Donenfeld <[email protected]>
random: add get_random_{bytes,u32,u64,int,long,once}_wait family

Jason A. Donenfeld <[email protected]>
random: add wait_for_random_bytes() API

Jason A. Donenfeld <[email protected]>
random: silence compiler warnings and fix race

Jason A. Donenfeld <[email protected]>
random: invalidate batched entropy after crng init

Fabio Estevam <[email protected]>
random: move random_min_urandom_seed into CONFIG_SYSCTL ifdef block

Jason A. Donenfeld <[email protected]>
random: convert get_random_int/long into get_random_u32/u64

Stephan Müller <[email protected]>
random: fix comment for unused random_min_urandom_seed

Stephan Müller <[email protected]>
random: remove variable limit

Stephan Müller <[email protected]>
random: remove stale urandom_init_wait

Stephan Mueller <[email protected]>
random: remove stale maybe_reseed_primary_crng

Al Viro <[email protected]>
9p: missing chunk of "fs/9p: Don't update file type when updating file attributes"

-------------

Diffstat:

 Documentation/kernel-parameters.txt         |   12 +
 Documentation/sysctl/kernel.txt             |   35 +-
 MAINTAINERS                                 |    1 +
 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/archrandom.h       |   27 +-
 arch/powerpc/include/asm/timex.h            |    1 +
 arch/s390/include/asm/timex.h               |    1 +
 arch/s390/mm/pgtable.c                      |    2 +-
 arch/sparc/include/asm/timex_32.h           |    4 +-
 arch/um/include/asm/timex.h                 |    9 +-
 arch/x86/include/asm/archrandom.h           |   12 +-
 arch/x86/include/asm/timex.h                |    9 +
 arch/x86/include/asm/tsc.h                  |    7 +-
 arch/xtensa/include/asm/timex.h             |    6 +-
 crypto/chacha20_generic.c                   |    3 +-
 crypto/drbg.c                               |  220 +-
 crypto/md4.c                                |   17 -
 crypto/md5.c                                |   17 -
 drivers/ata/libata-core.c                   |    4 +-
 drivers/char/Kconfig                        |   38 +-
 drivers/char/hw_random/core.c               |   93 +-
 drivers/char/random.c                       | 2891 ++++++++++-----------------
 drivers/hv/vmbus_drv.c                      |    2 +-
 drivers/irqchip/irq-gic-realview.c          |    1 +
 drivers/irqchip/irq-gic-v3.c                |    8 +-
 drivers/misc/atmel-ssc.c                    |    4 +-
 drivers/net/ethernet/mediatek/mtk_eth_soc.c |   21 +-
 drivers/nfc/nfcmrvl/usb.c                   |   16 +-
 drivers/of/fdt.c                            |   14 +-
 drivers/scsi/lpfc/lpfc_nportdisc.c          |    3 +-
 drivers/scsi/vmw_pvscsi.h                   |    4 +-
 drivers/staging/comedi/drivers/vmk80xx.c    |    2 +-
 drivers/tty/serial/8250/8250_port.c         |    2 +
 drivers/usb/gadget/udc/lpc32xx_udc.c        |    1 +
 drivers/usb/serial/io_ti.c                  |    2 +
 drivers/usb/serial/io_usbvend.h             |    1 +
 drivers/usb/serial/option.c                 |    6 +
 drivers/virtio/virtio_mmio.c                |    1 +
 fs/9p/vfs_inode_dotl.c                      |   10 +-
 fs/ext4/mballoc.c                           |    9 +
 fs/ext4/namei.c                             |    3 +-
 fs/ext4/resize.c                            |   10 +
 fs/fuse/dev.c                               |   12 +-
 fs/fuse/file.c                              |    1 +
 fs/fuse/fuse_i.h                            |    2 +
 fs/nfs/pnfs.c                               |    6 +
 include/crypto/blake2s.h                    |  102 +
 include/crypto/chacha20.h                   |   17 +-
 include/crypto/drbg.h                       |   18 +-
 include/crypto/internal/blake2s.h           |   19 +
 include/linux/byteorder/generic.h           |   17 +
 include/linux/cpuhotplug.h                  |    2 +
 include/linux/hw_random.h                   |    2 -
 include/linux/miscdevice.h                  |    1 +
 include/linux/mm.h                          |    2 +
 include/linux/net.h                         |    2 +
 include/linux/once.h                        |    2 +
 include/linux/prandom.h                     |   23 +-
 include/linux/random.h                      |  133 +-
 include/linux/siphash.h                     |   28 +
 include/linux/swab.h                        |    1 +
 include/linux/timex.h                       |   10 +-
 include/linux/uuid.h                        |    1 +
 include/linux/workqueue.h                   |    7 +-
 include/net/inet_hashtables.h               |    2 +-
 include/net/secure_seq.h                    |    4 +-
 include/trace/events/random.h               |  315 ---
 include/uapi/linux/random.h                 |    4 +-
 include/uapi/linux/swab.h                   |   10 +
 init/main.c                                 |   22 +
 kernel/cpu.c                                |   11 +
 kernel/irq/handle.c                         |    2 +-
 kernel/time/timekeeping.c                   |   16 +
 kernel/workqueue.c                          |   76 +-
 lib/Kconfig.debug                           |   27 +
 lib/Makefile                                |    2 +
 lib/chacha20.c                              |    6 +-
 lib/crypto/Makefile                         |    7 +
 lib/crypto/blake2s-generic.c                |  111 +
 lib/crypto/blake2s-selftest.c               |  591 ++++++
 lib/crypto/blake2s.c                        |   78 +
 lib/find_bit.c                              |   16 +-
 lib/random32.c                              |   15 +-
 lib/sha1.c                                  |   95 +-
 lib/siphash.c                               |   32 +-
 lib/swiotlb.c                               |   11 +-
 mm/util.c                                   |   33 +
 net/core/secure_seq.c                       |    4 +-
 net/ipv4/inet_hashtables.c                  |   46 +-
 net/ipv6/inet6_hashtables.c                 |    4 +-
 net/l2tp/l2tp_ip6.c                         |    5 +-
 net/l2tp/l2tp_ppp.c                         |   60 +-
 net/sunrpc/xprtrdma/rpc_rdma.c              |    4 +-
 sound/soc/codecs/cs42l52.c                  |    8 +-
 sound/soc/codecs/cs42l56.c                  |    4 +-
 sound/soc/codecs/cs53l30.c                  |   16 +-
 sound/soc/codecs/wm8962.c                   |    1 +
 104 files changed, 2966 insertions(+), 2641 deletions(-)