[PATCH v2] crypto: Fix divide error in do_xor_speed()

2020-12-30 Thread Kirill Tkhai
crypto: Fix divide error in do_xor_speed() From: Kirill Tkhai Latest (but not only latest) linux-next panics with divide error on my QEMU setup. The patch at the bottom of this message fixes the problem. xor: measuring software checksum speed divide error: [#1] PREEMPT SMP KASAN PREEMPT S

[PATCH] crypto: Fix divide error in do_xor_speed()

2020-12-30 Thread Kirill Tkhai
Latest (but not only latest) linux-next panics with divide error on my QEMU setup. The patch at the bottom of this message fixes the problem. xor: measuring software checksum speed divide error: [#1] PREEMPT SMP KASAN PREEMPT SMP KASAN CPU: 3 PID: 1 Comm: swapper/0 Not tainted 5.10.0-next-20

[PATCH AUTOSEL 5.10 18/31] um: random: Register random as hwrng-core device

2020-12-30 Thread Sasha Levin
From: Christopher Obbard [ Upstream commit 72d3e093afae79611fa38f8f2cfab9a888fe66f2 ] The UML random driver creates a dummy device under the guest, /dev/hw_random. When this file is read from the guest, the driver reads from the host machine's /dev/random, in-turn reading from the host kernel's

Re: [PATCH] crypto: Fix divide error in do_xor_speed()

2020-12-30 Thread Ard Biesheuvel
(+ Arnd, Douglas) On Wed, 30 Dec 2020 at 13:19, Kirill Tkhai wrote: > > Latest (but not only latest) linux-next panics with divide > error on my QEMU setup. > > The patch at the bottom of this message fixes the problem. > > xor: measuring software checksum speed > divide error: [#1] PREEMPT