Re: [edk2] [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support

2019-02-19 Thread Ard Biesheuvel
On Tue, 19 Feb 2019 at 15:44, Leif Lindholm  wrote:
>
> On Sat, Feb 16, 2019 at 11:34:20AM +0100, Ard Biesheuvel wrote:
> > 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 
> > Cc: Jeremy Linton 
> > Cc: Leif Lindholm 
>
> For the series:
> Reviewed-by: Leif Lindholm 
>

Thanks

Pushed as 94d6843f1a90..76d9e9a5da9e

> > 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
> >
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support

2019-02-19 Thread Leif Lindholm
On Sat, Feb 16, 2019 at 11:34:20AM +0100, Ard Biesheuvel wrote:
> 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 
> Cc: Jeremy Linton 
> Cc: Leif Lindholm 

For the series:
Reviewed-by: Leif Lindholm 

> 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
> 
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support

2019-02-16 Thread Ard Biesheuvel
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 
Cc: Jeremy Linton 
Cc: Leif Lindholm 

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

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel