Re: [PATCH v2] random: defer crediting bootloader randomness to random_init()

From: Jason A. Donenfeld
Date: Tue Jun 07 2022 - 08:24:09 EST


Hi Phil,

On Tue, Jun 07, 2022 at 01:19:41PM +0100, Phil Elwell wrote:
> After a trivial merge conflict (into 5.15) was resolved, this patch allows the
> downstream kernel with CONFIG_RANDOM_TRUST_BOOTLOADER=y to boot cleanly.
> However, it does delay the initialisation of crng significantly compared to my
> hack.
>
> With v2:
> [ 1.981493] bcm2835-rng 3f104000.rng: hwrng registered
> [ 12.549190] random: crng init done

Thanks. It's because the patch is buggy :)

v3 coming right up.

Jason