All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] qemu: arm64: Add support for efi_rng_protocol
@ 2019-12-24 15:54 Sughosh Ganu
  2019-12-24 15:54 ` [PATCH 1/3] efi_loader: Add guidcpy function Sughosh Ganu
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Sughosh Ganu @ 2019-12-24 15:54 UTC (permalink / raw)
  To: u-boot

The patch series adds support for the EFI_RNG_PROTOCOL routines for
qemu arm64 platform. The getrng routine, used to get the random bytes,
uses the virtio-rng device found on the platform. The protocol, once
installed, can be used by the efi stub in the kernel for getting
random bytes needed for the kaslr feature.

These patches apply on top of the patch series to add random number
generator driver uclass[1]

[1] - https://lists.denx.de/pipermail/u-boot/2019-December/394010.html

Sughosh Ganu (3):
  efi_loader: Add guidcpy function
  efi: qemu: arm64: Add efi_rng_protocol implementation for the platform
  efi_rng_protocol: Install the efi_rng_protocol on the root node

 board/emulation/qemu-arm/qemu-arm.c | 50 ++++++++++++++++++++++++
 include/efi_loader.h                |  9 +++++
 include/efi_rng.h                   | 34 +++++++++++++++++
 lib/efi_loader/Kconfig              |  8 ++++
 lib/efi_loader/Makefile             |  1 +
 lib/efi_loader/efi_rng.c            | 76 +++++++++++++++++++++++++++++++++++++
 lib/efi_loader/efi_root_node.c      |  4 ++
 7 files changed, 182 insertions(+)
 create mode 100644 include/efi_rng.h
 create mode 100644 lib/efi_loader/efi_rng.c

-- 
2.7.4

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

end of thread, other threads:[~2019-12-25 13:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-24 15:54 [PATCH 0/3] qemu: arm64: Add support for efi_rng_protocol Sughosh Ganu
2019-12-24 15:54 ` [PATCH 1/3] efi_loader: Add guidcpy function Sughosh Ganu
2019-12-24 17:06   ` Heinrich Schuchardt
2019-12-25  5:23     ` Sughosh Ganu
2019-12-24 15:54 ` [PATCH 2/3] efi: qemu: arm64: Add efi_rng_protocol implementation for the platform Sughosh Ganu
2019-12-24 17:05   ` Heinrich Schuchardt
2019-12-25  6:21     ` Sughosh Ganu
2019-12-25  8:15       ` Heinrich Schuchardt
2019-12-25 13:31         ` Sughosh Ganu
2019-12-24 15:54 ` [PATCH 3/3] efi_rng_protocol: Install the efi_rng_protocol on the root node Sughosh Ganu
2019-12-25  8:26   ` Heinrich Schuchardt
2019-12-25 12:40     ` Sughosh Ganu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.