vexpress63: Set the DM_RNG property
Subsystems (2)
PATCH v2 1/2 vexpress63: Set the DM_RNG property
Enable the DM_RNG virtio random number generator driver in order to consume entropy within U-Boot. This allows U-Boot to inject entropy to the kernel via UEFI, so the kernel can use that early, for instance for address layout randomisation, or when the kernel does not provide an entropy driver itself.
--- board/armltd/vexpress64/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
board/armltd/vexpress64/Kconfig +2 -0
@@ -21,6 +21,8 @@ config VEXPRESS64_BASE_MODEL imply EFI_SET_TIME if DM_RTC select LINUX_KERNEL_IMAGE_HEADER select POSITION_INDEPENDENT + imply DM_RNG + imply RNG_ARM_RNDR choice prompt "VExpress64 board variant"
Signature · 1 line
2.43.0
PATCH v2 2/2 arm: vexpress64: Enable SYSRESET and SYSRESET_PSCI
Select SYSRESET on Vexpress64 to enable system reset to support other features, such as capsule-on-disk. Select SYSRESET_PSCI if PSCI is inferred from the firmware (via ARM_PSCI_FW).
Select ARM_SMCCC for Vexpress64 boards which in turn selects ARM_PSCI_FW.
The sysreset uclass unconditionally implements a reset_cpu() function. Remove the empty reset_cpu() in vexpress64 board code.
--- arch/arm/Kconfig | 2 ++ board/armltd/vexpress64/Kconfig | 2 ++ board/armltd/vexpress64/vexpress64.c | 5 ----- 3 files changed, 4 insertions(+), 5 deletions(-)
arch/arm/Kconfig +2 -0
@@ -1418,6 +1418,8 @@ config ARCH_VEXPRESS64 select MTD_NOR_FLASH if MTD select FLASH_CFI_DRIVER if MTD select ENV_IS_IN_FLASH if MTD + select SYSRESET + select SYSRESET_PSCI if ARM_PSCI_FW imply DISTRO_DEFAULTS config TARGET_CORSTONE1000
board/armltd/vexpress64/Kconfig +2 -0
@@ -23,6 +23,7 @@ config VEXPRESS64_BASE_MODEL select POSITION_INDEPENDENT imply DM_RNG imply RNG_ARM_RNDR + select ARM_SMCCC choice prompt "VExpress64 board variant"
@@ -48,6 +49,7 @@ config TARGET_VEXPRESS64_JUNO select USB_EHCI_GENERIC if USB select USB_OHCI_HCD if USB select USB_OHCI_GENERIC if USB + select ARM_SMCCC imply OF_HAS_PRIOR_STAGE endchoice
board/armltd/vexpress64/vexpress64.c +0 -5
@@ -206,11 +206,6 @@ int board_fdt_blob_setup(void **fdtp)#endif #endif -/* Actual reset is done via PSCI. */ -void reset_cpu (void ) -{ -} -/* * Board specific ethernet initialization routine. */
Signature · 1 line
2.43.0
On Wed, 17 Sep 2025 17:22:21 +0100
Debbie Horsfall <[email protected]> wrote:
Hi Debbie,
thanks for the changes, looks good now.
Quoted 1 line
[PATCH v2 1/2] vexpress63: Set the
DM_RNGproperty
^^
It's nice to see new platforms supported ;-)
Tom, can you please fix this up when merging? The series looks good to go now from my perspective.
Quoted 7 lines
Enable the
DM_RNGvirtio random number generator driver in order to consume entropy within U-Boot. This allows U-Boot to inject entropy to the kernel via UEFI, so the kernel can use that early, for instance for address layout randomisation, or when the kernel does not provide an entropy driver itself.Signed-off-by Debbie Horsfall <[email protected]>
Cheers,
Andre
Quoted 17 lines
--- board/armltd/vexpress64/Kconfig | 2 ++ 1 file changed, 2 insertions(+)board/armltd/vexpress64/Kconfig +2
-0@@ -21,6 +21,8 @@ config VEXPRESS64_BASE_MODEL imply EFI_SET_TIME if DM_RTC select LINUX_KERNEL_IMAGE_HEADER select POSITION_INDEPENDENT + imply DM_RNG + imply RNG_ARM_RNDR choice prompt "VExpress64 board variant"
Quoted 7 lines · Andre Przywara
On Wed, 17 Sep 2025 17:22:21 +0100
Debbie Horsfall <[email protected]> wrote:Hi Debbie,
thanks for the changes, looks good now.
Quoted 7 lines
Quoted 1 line
[PATCH v2 1/2] vexpress63: Set the
DM_RNGproperty^^It's nice to see new platforms supported ;-)
Tom, can you please fix this up when merging? The series looks good to go now from my perspective.
I shall endeavour to not forget.
Quoted 32 lines
Quoted 8 lines
Enable the
DM_RNGvirtio random number generator driver in order to consume entropy within U-Boot. This allows U-Boot to inject entropy to the kernel via UEFI, so the kernel can use that early, for instance for address layout randomisation, or when the kernel does not provide an entropy driver itself.Signed-off-by Debbie Horsfall <[email protected]>Reviewed-by Andre Przywara <[email protected]>Cheers,
AndreQuoted 17 lines
--- board/armltd/vexpress64/Kconfig | 2 ++ 1 file changed, 2 insertions(+)board/armltd/vexpress64/Kconfig +2
-0@@ -21,6 +21,8 @@ config VEXPRESS64_BASE_MODEL imply EFI_SET_TIME if DM_RTC select LINUX_KERNEL_IMAGE_HEADER select POSITION_INDEPENDENT + imply DM_RNG + imply RNG_ARM_RNDR choice prompt "VExpress64 board variant"
Signature · 1 line
Tom
Quoted 8 lines · Debbie Horsfall
Enable the
DM_RNGvirtio random number generator driver in order to consume entropy within U-Boot. This allows U-Boot to inject entropy to the kernel via UEFI, so the kernel can use that early, for instance for address layout randomisation, or when the kernel does not provide an entropy driver itself.[...]
Applied to u-boot/next, thanks!
[1/2] vexpress63: Set the DM_RNG property
commit: 6190036e2365209d7d084c5af5c7558b5ff554f9
[2/2] arm: vexpress64: Enable SYSRESET and SYSRESET_PSCI
commit: 1f3f1e090a2695e0b17cbf9dc50ccb59d100458fSignature · 1 line
Tom