From: "Teoh, Ji Sheng" <ji.sheng.t...@intel.com>

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 <ji.sheng.t...@intel.com>
Signed-off-by: Wenlin Kang <wenlin.k...@windriver.com>
---
 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 (#12575): 
https://lists.yoctoproject.org/g/linux-yocto/message/12575
Mute This Topic: https://lists.yoctoproject.org/mt/98921491/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to