diff options
author | 2022-06-30 13:27:31 +0200 | |
---|---|---|
committer | 2022-06-30 16:06:22 +0200 | |
commit | a898d950c28b297568417061b2003f504a7af109 (patch) | |
tree | 9d8e5097e0ffbc105b6ef2cb6763f8e7ed1be347 /drivers/mtd | |
parent | wireguard: selftests: use microvm on x86 (diff) | |
download | linux-dev-master.tar.xz linux-dev-master.zip |
Currently the only way x86 can get an early boot RNG seed is via EFI,
which is generally always used now for physical machines, but is very
rarely used in VMs, especially VMs that are optimized for starting
"instantaneously", such as Firecracker's MicroVM. Here, we really want
the ability for the firmware to pass a random seed, similar to what OF
platforms do with the "rng-seed" property. It also would be nice for
bootloaders to be able to append seeds to the kernel before launching.
This patch accomplishes that by adding SETUP_RNG_SEED, similar to the
other 7 SETUP_* entries that are parsed from the e820 setup table. I've
verified that this works well with QEMU.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions