aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/Makefile
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2019-09-12 15:30:22 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-10 23:36:31 +1100
commitdaae28debcb03eee837fadfd20788107b325c5a2 (patch)
tree75eb8010d01d55bfe0b67aa4688cbcba7e613f39 /drivers/crypto/hisilicon/Makefile
parentcrypto: caam - use mapped_{src,dst}_nents for descriptor (diff)
downloadlinux-dev-daae28debcb03eee837fadfd20788107b325c5a2.tar.xz
linux-dev-daae28debcb03eee837fadfd20788107b325c5a2.zip
hwrng: core - move add_early_randomness() out of rng_mutex
add_early_randomness() is called every time a new rng backend is added and every time it is set as the current rng provider. add_early_randomness() is called from functions locking rng_mutex, and if it hangs all the hw_random framework hangs: we can't read sysfs, add or remove a backend. This patch move add_early_randomness() out of the rng_mutex zone. It only needs the reading_mutex. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/Makefile')
0 files changed, 0 insertions, 0 deletions