mbox series

[v2,0/2] hw/arm/virt: dt: add kaslr-seed property

Message ID 20200420121807.8204-1-jerome@forissier.org
Headers show
Series hw/arm/virt: dt: add kaslr-seed property | expand

Message

Jerome Forissier April 20, 2020, 12:18 p.m. UTC
This patchset creates the DT property /chosen/kaslr-seed which is used
by the OS for Address Space Layout Randomization. If the machine is
secure, a similar property is created under /secure-chosen.

Changes since v1:
 - Move creation of /secure-chosen to create_fdt()
 - Use qemu_guest_getrandom() instead of qcrypto_random_bytes()
 - Create kaslr-seed for the non-secure OS too

Jerome Forissier (2):
  hw/arm/virt: dt: move creation of /secure-chosen to create_fdt()
  hw/arm/virt: dt: add kaslr-seed property

 hw/arm/virt.c | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)