Re: [PATCH v3 1/3] powerpc/microwatt: wire up rng during setup_arch

2022-06-11 Thread Christophe Leroy
Le 11/06/2022 à 17:10, Jason A. Donenfeld a écrit : > 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

[PATCH v3 1/3] powerpc/microwatt: wire up rng during setup_arch

2022-06-11 Thread Jason A. Donenfeld
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 it's easy to wire