kernel_optimize_test/arch/s390/crypto
Harald Freudenberger 1c2c7029c0 s390/crypto: fix possible sleep during spinlock aquired
This patch fixes a complain about possible sleep during
spinlock aquired
"BUG: sleeping function called from invalid context at
include/crypto/algapi.h:426"
for the ctr(aes) and ctr(des) s390 specific ciphers.

Instead of using a spinlock this patch introduces a mutex
which is save to be held in sleeping context. Please note
a deadlock is not possible as mutex_trylock() is used.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reported-by: Julian Wiedmann <jwi@linux.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2019-05-29 21:13:10 +02:00
..
aes_s390.c s390/crypto: fix possible sleep during spinlock aquired 2019-05-29 21:13:10 +02:00
arch_random.c
crc32-vx.c
crc32be-vx.S
crc32le-vx.S
des_s390.c s390/crypto: fix possible sleep during spinlock aquired 2019-05-29 21:13:10 +02:00
ghash_s390.c
Makefile
paes_s390.c
prng.c
sha_common.c
sha.h
sha1_s390.c
sha256_s390.c
sha512_s390.c