Re: [PATCH v5 2/3] fdt: automatically add /chosen/kaslr-seed if DM_RNG is enabled

2024-05-30 Thread Simon Glass
On Thu, 30 May 2024 at 16:06, Tim Harvey wrote: > > If RANDOMIZE_BASE is enabled in the Linux kernel instructing it to > randomize the virtual address at which the kernel image is loaded, it > expects entropy to be provided by the bootloader by populating > /chosen/kaslr-seed with a 64-bit value f

[PATCH v5 2/3] fdt: automatically add /chosen/kaslr-seed if DM_RNG is enabled

2024-05-30 Thread Tim Harvey
If RANDOMIZE_BASE is enabled in the Linux kernel instructing it to randomize the virtual address at which the kernel image is loaded, it expects entropy to be provided by the bootloader by populating /chosen/kaslr-seed with a 64-bit value from source of entropy at boot. If we have DM_RNG enabled p