Skip to content

Commit 3dffd47

Browse files
ryanhrobarndb
authored andcommitted
arm64: defconfig: Enable Virtio RNG driver as built in
Modern versions of FVP_Base_RevC-2xAEMvA contain a Virtio RNG device, use of which can dramatically speed up the time taken for Linux to initialize its CRNG, from 10s of seconds in some cases, to instant. This improves the debug cycle significantly. However, there are 2 barriers to getting people to use it. The first is that the defconfig doesn't have the required driver. The second is that the device is disabled in the device tree (for back-compat since older versions of the FVP don't have the device). Here we solve the first issue. Signed-off-by: Ryan Roberts <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent af87ac7 commit 3dffd47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/configs/defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,8 @@ CONFIG_VIRTIO_CONSOLE=y
463463
CONFIG_IPMI_HANDLER=m
464464
CONFIG_IPMI_DEVICE_INTERFACE=m
465465
CONFIG_IPMI_SI=m
466+
CONFIG_HW_RANDOM=y
467+
CONFIG_HW_RANDOM_VIRTIO=y
466468
CONFIG_TCG_TPM=y
467469
CONFIG_TCG_TIS=m
468470
CONFIG_TCG_TIS_SPI=m

0 commit comments

Comments
 (0)