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

Skip to content
Commit 4eb6c6d5 authored by Laura Abbott's avatar Laura Abbott
Browse files

soc: qcom: Add better support for early random numbers



The existing support for generating random numbers relied on
a hacked up version of CONFIG_ARCH_RANDOM and was prone to
scheduling while atomic bugs due to needing to take a mutex.
We don't actually need the additional randomness all the time,
the pool just needs to be initialized with some amount of random
data to avoid getting the same result each time. Switch to
this method for initializing the random pool.

Change-Id: I804ec7556cbd18ff2d9869a03069fda1dd519a79
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 18230c5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment