From: "Teoh, Ji Sheng" <[email protected]>

commit 457737dcc8fb11818db8b5dae068f0d48c07430f from
https://github.com/altera-opensource/linux-socfpga.git

Enable hardware random number generator as a loadable module.

CONFIG_HW_RANDOM=m

This kernel config is only required by Intel's n5x platform.
Change it to module so the hardware random number generator
will only initialize on demand.
When this driver is build-in to other platform eg, Agilex, it
will introduce a long start job and cause timeout error while
waiting for SMC call during boot up if the SVC firmware is not
ready.

Fixes: 6153ec6352e4c0 ("HSD #22013011814: crypto: intel_fcs: support HWRNG via 
/dev/hwrng")
Signed-off-by: Teoh, Ji Sheng <[email protected]>
Signed-off-by: Wenlin Kang <[email protected]>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index a25956c0dbe7..e8dff71a5b77 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1092,3 +1092,4 @@ CONFIG_DEBUG_KERNEL=y
 # CONFIG_DEBUG_PREEMPT is not set
 # CONFIG_FTRACE is not set
 CONFIG_MEMTEST=y
+CONFIG_HW_RANDOM=m
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12518): 
https://lists.yoctoproject.org/g/linux-yocto/message/12518
Mute This Topic: https://lists.yoctoproject.org/mt/98898752/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to