[PATCH v3 2/5] fdt: kaslr seed from RNG device
Simon Glass
sjg at chromium.org
Thu Sep 21 03:02:32 CEST 2023
On Tue, 12 Sept 2023 at 15:35, <seanedmond at linux.microsoft.com> wrote:
>
> From: Dhananjay Phadke <dphadke at 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 at linux.microsoft.com>
> Signed-off-by: Drew Kluemke <ankluemk at microsoft.com>
> Signed-off-by: Sean Edmond <seanedmond at microsoft.com>
> ---
> common/fdt_support.c | 36 ++++++++++++++++++++++++++++++++++++
> lib/Kconfig | 7 +++++++
> 2 files changed, 43 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
Note that with VBE this is deterministic, in that the kernel declares
what it wants. See bootmeth_vbe_ft_fixup()
More information about the U-Boot
mailing list