Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24c511b7 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "defconfig: msm: Enable early random driver"

parents 30e153be 19ab8471
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
@@ -1168,6 +1170,8 @@ void __init setup_arch(char **cmdline_p)

	if (mdesc->init_early)
		mdesc->init_early();

	init_random_pool();
}


+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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
+4 −0
Original line number Diff line number Diff line
@@ -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;
@@ -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)
+8 −0
Original line number Diff line number Diff line
@@ -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