Re: [PATCH v3] random: defer crediting bootloader randomness to random_init()
From: Phil Elwell
Date: Tue Jun 07 2022 - 10:13:59 EST
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@xxxxxxxxx/
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