u-boot/arch
Andre Przywara 31565bb0aa driver: rng: Add DM_RNG interface for ARMv8.5 RNDR registers
The ARMv8.5 architecture extension defines architectural RNDR/RNDRRS
system registers, that provide 64 bits worth of randomness on every
read. Since it's an extension, and implementing it is optional, there is
a field in the ID_AA64ISAR0_EL1 ID register to query the availability
of those registers.

Add a UCLASS_RNG driver that returns entropy via repeated reads from
those system registers, if the extension is implemented.
The driver always binds, but checks the availability in the probe()
routine.

This helps systems which suffer from low boot entropy, since U-Boot can
provide entropy via the generic UEFI entropy gathering protocol to the OS,
at an early stage.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-10-11 13:22:32 -04:00
..
arc treewide: unify the linker symbol reference format 2023-08-09 09:21:42 -04:00
arm driver: rng: Add DM_RNG interface for ARMv8.5 RNDR registers 2023-10-11 13:22:32 -04:00
m68k arch: m68k: Implement relocation 2023-09-06 13:28:58 +02:00
microblaze treewide: rework linker symbol declarations in sections header 2023-08-09 09:21:42 -04:00
mips spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN 2023-10-06 14:38:12 -04:00
nios2 event: Convert existing spy records to simple 2023-08-31 13:16:54 -04:00
powerpc spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN 2023-10-06 14:38:12 -04:00
riscv riscv: andesv5: Prefer using the generic RISC-V timer driver in S-mode 2023-10-04 18:23:54 +08:00
sandbox pci: serial: Support reading PCI-register size with base 2023-10-06 14:38:13 -04:00
sh spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN 2023-10-06 14:38:12 -04:00
x86 common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
xtensa treewide: unify the linker symbol reference format 2023-08-09 09:21:42 -04:00
.gitignore
Kconfig arch: m68k: Implement relocation 2023-09-06 13:28:58 +02:00
Kconfig.nxp LFU-544: Kconfig.nxp: Fixed secure boot on LS-CH2 platforms 2023-07-06 13:04:56 +08:00
u-boot-elf.lds