Re: [PATCH] hw/openrisc: pass random seed to fdt

2022-06-13 Thread Philippe Mathieu-Daudé via
On 13/6/22 12:58, Jason A. Donenfeld wrote: On 6/13/22, Stafford Horne wrote: On Sun, Jun 12, 2022 at 11:59:49PM +0200, Jason A. Donenfeld wrote: If the FDT contains /chosen/rng-seed, then the Linux RNG will use it to initialize early. Set this using the usual guest random number generation fu

Re: [PATCH] hw/openrisc: pass random seed to fdt

2022-06-13 Thread Jason A. Donenfeld
On 6/13/22, Stafford Horne wrote: > On Sun, Jun 12, 2022 at 11:59:49PM +0200, Jason A. Donenfeld wrote: >> If the FDT contains /chosen/rng-seed, then the Linux RNG will use it to >> initialize early. Set this using the usual guest random number >> generation function. This is confirmed to successf

Re: [PATCH] hw/openrisc: pass random seed to fdt

2022-06-12 Thread Stafford Horne
On Sun, Jun 12, 2022 at 11:59:49PM +0200, Jason A. Donenfeld wrote: > If the FDT contains /chosen/rng-seed, then the Linux RNG will use it to > initialize early. Set this using the usual guest random number > generation function. This is confirmed to successfully initialize the > RNG on Linux 5.19-

[PATCH] hw/openrisc: pass random seed to fdt

2022-06-12 Thread Jason A. Donenfeld
If the FDT contains /chosen/rng-seed, then the Linux RNG will use it to initialize early. Set this using the usual guest random number generation function. This is confirmed to successfully initialize the RNG on Linux 5.19-rc2. Cc: Stafford Horne Signed-off-by: Jason A. Donenfeld --- hw/openris