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

2024-09-08 Thread gaosong
在 2024/9/9 上午9:41, Jason A. Donenfeld 写道: On Mon, Sep 9, 2024 at 3:38 AM gaosong wrote: 在 2024/9/5 下午11:33, 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.

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

2024-09-08 Thread Jason A. Donenfeld
On Mon, Sep 9, 2024 at 3:38 AM gaosong wrote: > > > > 在 2024/9/5 下午11:33, 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 the same procedur

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

2024-09-08 Thread gaosong
在 2024/9/5 下午11:33, 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 the same procedure that's done in b91b6b5a2c ("hw/microblaze: pass random seed to fdt"

[PATCH] hw/loongarch: virt: pass random seed to fdt

2024-09-05 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 the same procedure that's done in b91b6b5a2c ("hw/microblaze: pass random seed to fdt"), e4b4f0b71c ("hw/riscv: virt: pass random seed