On 13/6/22 12:58, Jason A. Donenfeld wrote:
On 6/13/22, Stafford Horne <sho...@gmail.com> 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 successfully initialize the
RNG on Linux 5.19-rc2.

Cc: Stafford Horne <sho...@gmail.com>
Signed-off-by: Jason A. Donenfeld <ja...@zx2c4.com>
---
  hw/openrisc/openrisc_sim.c | 6 ++++++
  1 file changed, 6 insertions(+)

This all looks fine to me.  I will queue it with my current changes.  Since
this
is only applying to openrisc_sim I would like to also apply it to virt.  To
do
that I need to have a common core openrisc system creation api.  That way I
don't end up copying and pasting this to every platform.

Looking at commit cb57df6f7f ("hw/arm/raspi: Make machines children of
abstract RaspiMachineClass") and around could help.


Sure. Or just do it on the virt board only if that's easier.

Jason



Reply via email to