lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] random: defer crediting bootloader randomness to random_init()
From
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

\
 
 \ /
  Last update: 2022-06-07 16:15    [W:0.043 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site