diff options
author | Jason A. Donenfeld | 2022-07-12 15:51:14 +0200 |
---|---|---|
committer | Daniel Henrique Barboza | 2022-07-18 18:59:43 +0200 |
commit | c4b075318eb1e87de5fc942e6b987694a0e677e1 (patch) | |
tree | 20696a8e184126c12c7009bafcc5ac1e1c8823e8 /target | |
parent | ppc: Remove unused irq_inputs (diff) | |
download | qemu-c4b075318eb1e87de5fc942e6b987694a0e677e1.tar.gz qemu-c4b075318eb1e87de5fc942e6b987694a0e677e1.tar.xz qemu-c4b075318eb1e87de5fc942e6b987694a0e677e1.zip |
hw/ppc: pass random seed to fdt
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-rc6. The rng-seed node is part of the DT spec. Set
this on the paravirt platforms, spapr and e500, just as is done on other
architectures with paravirt hardware.
Cc: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220712135114.289855-1-Jason@zx2c4.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions