aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Roberts <[email protected]>2023-02-13 10:16:33 +0000
committerArnd Bergmann <[email protected]>2023-03-24 18:48:51 +0100
commit3dffd4755f41c4d603f1ae8533c7c8b04ed7f334 (patch)
tree957ee131ae585b9afd8e783d38d8221df6f3c4de
parentaf87ac738715d8877222b25829845589b25fe24c (diff)
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]>
-rw-r--r--arch/arm64/configs/defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 6e123de3a9cf..0657fa46b71d 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -463,6 +463,8 @@ CONFIG_VIRTIO_CONSOLE=y
CONFIG_IPMI_HANDLER=m
CONFIG_IPMI_DEVICE_INTERFACE=m
CONFIG_IPMI_SI=m
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_TCG_TPM=y
CONFIG_TCG_TIS=m
CONFIG_TCG_TIS_SPI=m