[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a696e6fe-7337-2f16-9349-13130bc7805e@raspberrypi.com>
Date: Tue, 7 Jun 2022 15:13:51 +0100
From: Phil Elwell <phil@...pberrypi.com>
To: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
LKML <linux-kernel@...r.kernel.org>,
Stephen Boyd <swboyd@...omium.org>,
Ard Biesheuvel <ardb@...nel.org>,
Catalin Marinas <catalin.marinas@....com>,
Russell King <linux@...linux.org.uk>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH v3] random: defer crediting bootloader randomness to
random_init()
Jason,
On 07/06/2022 14:51, Jason A. Donenfeld wrote:
> Hi Phil,
>
> And this one also works, I assume?
>
> https://lore.kernel.org/lkml/20220607100210.683136-1-Jason@zx2c4.com/
Using the metrics "earlier is better2 and "shorter is better", that patch wins
on both counts:
With 5.15.45 + CONFIG_RANDOM_TRUST_BOOTLOADER=y:
[ 0.000000] random: crng init done
[ 1.985290] bcm2835-rng 3f104000.rng: hwrng registered
With rpi-5.15.y:
[ 0.000000] random: crng init done
[ 1.969552] bcm2835-rng 3f104000.rng: hwrng registered
No splats in either, of course.
Phil
Powered by blists - more mailing lists