[PATCH v3] random: defer crediting bootloader randomness to random_init()
Phil Elwell
phil at raspberrypi.com
Tue Jun 7 07:13:51 PDT 2022
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
More information about the linux-arm-kernel
mailing list