[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165620330450.1934578.17474382204617879607.b4-ty@ellerman.id.au>
Date: Sun, 26 Jun 2022 10:28:24 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@...roup.eu>,
stable <stable@...r.kernel.org>,
"Jason A. Donenfeld" <Jason@...c4.com>,
linuxppc-dev@...ts.ozlabs.org,
Michael Ellerman <mpe@...erman.id.au>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5] powerpc/powernv: wire up rng during setup_arch
On Tue, 21 Jun 2022 16:08:49 +0200, Jason A. Donenfeld wrote:
> The platform's RNG must be available before random_init() in order to be
> useful for initial seeding, which in turn means that it needs to be
> called from setup_arch(), rather than from an init call. Fortunately,
> each platform already has a setup_arch function pointer, which means we
> can wire it up that way. Complicating things, however, is that POWER8
> systems need some per-cpu state and kmalloc, which isn't available at
> this stage. So we split things up into an early phase and a later
> opportunistic phase. This commit also removes some noisy log messages
> that don't add much.
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/powernv: wire up rng during setup_arch
https://git.kernel.org/powerpc/c/f3eac426657d985b97c92fa5f7ae1d43f04721f3
cheers
Powered by blists - more mailing lists