Loading arch/arm/kernel/setup.c +4 −0 Original line number Diff line number Diff line Loading @@ -1070,6 +1070,8 @@ void __init hyp_mode_check(void) #endif } void __init __weak init_random_pool(void) { } void __init setup_arch(char **cmdline_p) { const struct machine_desc *mdesc; Loading Loading @@ -1168,6 +1170,8 @@ void __init setup_arch(char **cmdline_p) if (mdesc->init_early) mdesc->init_early(); init_random_pool(); } Loading arch/arm64/configs/vendor/kona-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -414,6 +414,7 @@ CONFIG_QCOM_QMI_DFC=y CONFIG_QCOM_QMI_POWER_COLLAPSE=y CONFIG_QCOM_RPMH=y CONFIG_QCOM_SMEM=y CONFIG_QCOM_EARLY_RANDOM=y CONFIG_QCOM_SMP2P=y CONFIG_SETUP_SSR_NOTIF_TIMEOUTS=y CONFIG_SSR_SYSMON_NOTIF_TIMEOUT=20000 Loading arch/arm64/configs/vendor/kona_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -427,6 +427,7 @@ CONFIG_QCOM_QMI_DFC=y CONFIG_QCOM_QMI_POWER_COLLAPSE=y CONFIG_QCOM_RPMH=y CONFIG_QCOM_SMEM=y CONFIG_QCOM_EARLY_RANDOM=y CONFIG_QCOM_SMP2P=y CONFIG_SETUP_SSR_NOTIF_TIMEOUTS=y CONFIG_SSR_SYSMON_NOTIF_TIMEOUT=20000 Loading arch/arm64/kernel/setup.c +4 −0 Original line number Diff line number Diff line Loading @@ -285,6 +285,8 @@ arch_initcall(reserve_memblock_reserved_regions); u64 __cpu_logical_map[NR_CPUS] = { [0 ... NR_CPUS-1] = INVALID_HWID }; void __init __weak init_random_pool(void) { } void __init setup_arch(char **cmdline_p) { init_mm.start_code = (unsigned long) _text; Loading Loading @@ -367,6 +369,8 @@ void __init setup_arch(char **cmdline_p) "This indicates a broken bootloader or old kernel\n", boot_args[1], boot_args[2], boot_args[3]); } init_random_pool(); } static int __init topology_init(void) Loading drivers/soc/qcom/Kconfig +8 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,14 @@ config QCOM_SCM world(EL2 and EL3) by using smc call. SCM driver provides the support for atomic scm calls also. config QCOM_EARLY_RANDOM bool "Initialize random pool very early" help The standard random pool may not initialize until late in the boot process which means that any calls to get random numbers before then may not be truly random. Select this option to make an early call to get some random data to put in the pool. If unsure, say N. config QCOM_MEMORY_DUMP_V2 bool "QCOM Memory Dump V2 Support" help Loading Loading
arch/arm/kernel/setup.c +4 −0 Original line number Diff line number Diff line Loading @@ -1070,6 +1070,8 @@ void __init hyp_mode_check(void) #endif } void __init __weak init_random_pool(void) { } void __init setup_arch(char **cmdline_p) { const struct machine_desc *mdesc; Loading Loading @@ -1168,6 +1170,8 @@ void __init setup_arch(char **cmdline_p) if (mdesc->init_early) mdesc->init_early(); init_random_pool(); } Loading
arch/arm64/configs/vendor/kona-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -414,6 +414,7 @@ CONFIG_QCOM_QMI_DFC=y CONFIG_QCOM_QMI_POWER_COLLAPSE=y CONFIG_QCOM_RPMH=y CONFIG_QCOM_SMEM=y CONFIG_QCOM_EARLY_RANDOM=y CONFIG_QCOM_SMP2P=y CONFIG_SETUP_SSR_NOTIF_TIMEOUTS=y CONFIG_SSR_SYSMON_NOTIF_TIMEOUT=20000 Loading
arch/arm64/configs/vendor/kona_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -427,6 +427,7 @@ CONFIG_QCOM_QMI_DFC=y CONFIG_QCOM_QMI_POWER_COLLAPSE=y CONFIG_QCOM_RPMH=y CONFIG_QCOM_SMEM=y CONFIG_QCOM_EARLY_RANDOM=y CONFIG_QCOM_SMP2P=y CONFIG_SETUP_SSR_NOTIF_TIMEOUTS=y CONFIG_SSR_SYSMON_NOTIF_TIMEOUT=20000 Loading
arch/arm64/kernel/setup.c +4 −0 Original line number Diff line number Diff line Loading @@ -285,6 +285,8 @@ arch_initcall(reserve_memblock_reserved_regions); u64 __cpu_logical_map[NR_CPUS] = { [0 ... NR_CPUS-1] = INVALID_HWID }; void __init __weak init_random_pool(void) { } void __init setup_arch(char **cmdline_p) { init_mm.start_code = (unsigned long) _text; Loading Loading @@ -367,6 +369,8 @@ void __init setup_arch(char **cmdline_p) "This indicates a broken bootloader or old kernel\n", boot_args[1], boot_args[2], boot_args[3]); } init_random_pool(); } static int __init topology_init(void) Loading
drivers/soc/qcom/Kconfig +8 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,14 @@ config QCOM_SCM world(EL2 and EL3) by using smc call. SCM driver provides the support for atomic scm calls also. config QCOM_EARLY_RANDOM bool "Initialize random pool very early" help The standard random pool may not initialize until late in the boot process which means that any calls to get random numbers before then may not be truly random. Select this option to make an early call to get some random data to put in the pool. If unsure, say N. config QCOM_MEMORY_DUMP_V2 bool "QCOM Memory Dump V2 Support" help Loading