]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: versal: Enable the config CMD_KASLRSEED
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Thu, 31 Aug 2023 03:26:12 +0000 (08:56 +0530)
committerMichal Simek <michal.simek@amd.com>
Thu, 21 Sep 2023 11:20:11 +0000 (13:20 +0200)
commitc5d15db173ccbaa72b0b75d4a5afb784a99d4504
treec495edd2db42344ed126b38b7cfe496438bef439
parentb57fed046e543b8fbc101c2c51786f4ce7dcac25
arm64: versal: Enable the config CMD_KASLRSEED

Kernel Address Space Layout Randomization (KASLR) is a hardening
feature that aims to make it more difficult to take advantage
of known exploits in the kernel, by placing kernel data structures
at a random address at each boot.The bootloader supports randomizing
the virtual address at which the kernel image is loaded.
The bootloader must provide entropy by passing a random u64 value
in the /chosen/kaslr-seed device tree node.
When we run "kaslrseed" command from U-Boot, the bootloader will
genarate the kaslr-seed and update the /chosen/kaslr-seed DT property.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20230831032612.2729-4-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
configs/xilinx_versal_virt_defconfig