qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hw/arm/virt: dt: add kaslr-seed property
@ 2020-04-20 12:18 Jerome Forissier
  2020-04-20 12:18 ` [PATCH v2 1/2] hw/arm/virt: dt: move creation of /secure-chosen to create_fdt() Jerome Forissier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jerome Forissier @ 2020-04-20 12:18 UTC (permalink / raw)
  To: Peter Maydell, qemu-arm; +Cc: tee-dev, op-tee, Jerome Forissier, qemu-devel

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(-)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-23 12:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-20 12:18 [PATCH v2 0/2] hw/arm/virt: dt: add kaslr-seed property Jerome Forissier
2020-04-20 12:18 ` [PATCH v2 1/2] hw/arm/virt: dt: move creation of /secure-chosen to create_fdt() Jerome Forissier
2020-04-20 12:18 ` [PATCH v2 2/2] hw/arm/virt: dt: add kaslr-seed property Jerome Forissier
2020-04-23 11:59 ` [PATCH v2 0/2] " Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).