aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/lz4hc.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2021-09-17 08:26:19 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-09-24 16:03:05 +0800
commitadad556efcdd42a1d9e060cbe5f6161cccf1fa28 (patch)
tree5f23acffb6cbaf9a1d46feba04c13d1e407d197b /crypto/lz4hc.c
parentcrypto: marvell/cesa - drop unneeded MODULE_ALIAS (diff)
downloadlinux-dev-adad556efcdd42a1d9e060cbe5f6161cccf1fa28.tar.xz
linux-dev-adad556efcdd42a1d9e060cbe5f6161cccf1fa28.zip
crypto: api - Fix built-in testing dependency failures
When complex algorithms that depend on other algorithms are built into the kernel, the order of registration must be done such that the underlying algorithms are ready before the ones on top are registered. As otherwise they would fail during the self-test which is required during registration. In the past we have used subsystem initialisation ordering to guarantee this. The number of such precedence levels are limited and they may cause ripple effects in other subsystems. This patch solves this problem by delaying all self-tests during boot-up for built-in algorithms. They will be tested either when something else in the kernel requests for them, or when we have finished registering all built-in algorithms, whichever comes earlier. Reported-by: Vladis Dronov <vdronov@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions