public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support
@ 2019-02-16 10:34 Ard Biesheuvel
  2019-02-16 10:34 ` [PATCH edk2-platforms 1/2] Silicon/Bcm2836: add random number generator driver Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ard Biesheuvel @ 2019-02-16 10:34 UTC (permalink / raw)
  To: edk2-devel

Add a RNG driver for the BCM283x and wire it up for the Raspberry Pi 3
platform so that the random number generator is accessible to the OS
loader via the EFI_RNG_PROTOCOL. This is used by the KASLR implementation
in the arm64 Linux kernel to randomize the placement of various parts of
the kernel.

Changes since v2:
- move the RNG specific SoC definitions into the Bcm2836.h common header
- add patch that wires up the driver into the RPi3 platform

Cc: Pete Batard <pete@akeo.ie>
Cc: Jeremy Linton <jeremy.linton@arm.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>

Ard Biesheuvel (2):
  Silicon/Bcm2836: add random number generator driver
  Platform/RaspberryPi3: add RNG driver

 Platform/RaspberryPi/RPi3/RPi3.dsc                          |   5 +
 Platform/RaspberryPi/RPi3/RPi3.fdf                          |   5 +
 Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.c            | 203 ++++++++++++++++++++
 Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf          |  45 +++++
 Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836.h |   9 +
 5 files changed, 267 insertions(+)
 create mode 100644 Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.c
 create mode 100644 Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf

-- 
2.20.1



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

end of thread, other threads:[~2019-02-19 14:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-16 10:34 [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support Ard Biesheuvel
2019-02-16 10:34 ` [PATCH edk2-platforms 1/2] Silicon/Bcm2836: add random number generator driver Ard Biesheuvel
2019-02-16 10:34 ` [PATCH edk2-platforms 2/2] Platform/RaspberryPi3: add RNG driver Ard Biesheuvel
2019-02-19 14:44 ` [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support Leif Lindholm
2019-02-19 14:58   ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox