
21 Sep
2023
21 Sep
'23
3:02 a.m.
On Tue, 12 Sept 2023 at 15:35, seanedmond@linux.microsoft.com wrote:
From: Dhananjay Phadke dphadke@linux.microsoft.com
Add support for KASLR seed from the RNG device. Invokes dm_rng_read() API to read 8-bytes of random bytes. Performs the FDT fixup using event spy. To enable use CONFIG_KASLR_RNG_SEED
Signed-off-by: Dhananjay Phadke dphadke@linux.microsoft.com Signed-off-by: Drew Kluemke ankluemk@microsoft.com Signed-off-by: Sean Edmond seanedmond@microsoft.com
common/fdt_support.c | 36 ++++++++++++++++++++++++++++++++++++ lib/Kconfig | 7 +++++++ 2 files changed, 43 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
Note that with VBE this is deterministic, in that the kernel declares what it wants. See bootmeth_vbe_ft_fixup()