[PATCH v2] m68k: pass rng seed via BI_RNG_SEED

Jason A. Donenfeld Jason at zx2c4.com
Wed Sep 28 16:16:19 PDT 2022


On Fri, Sep 23, 2022 at 06:41:52PM +0200, Jason A. Donenfeld wrote:
> In order to pass fresh entropy to kexec'd kernels, use BI_RNG_SEED
> for passing a seed, with the same semantics that kexec-tools currently
> uses for i386's setup_data.
> 
> Cc: Geert Uytterhoeven <geert at linux-m68k.org>
> Signed-off-by: Jason A. Donenfeld <Jason at zx2c4.com>
> ---
> Geert - this hasn't been compile tested yet and also depends on changes
> that haven't yet landed upstream. Posting this preliminarily now. -Jason

With [1] having landed, does this patch here suffice for kexec-tools?

[1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git/commit/?id=f1bb20c8be1929743fdb313b4770601afc39c1b7

Jason



More information about the kexec mailing list