linux/arch/s390
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
..
appldata sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOAD 2018-10-26 16:26:32 -07:00
boot s390/boot: fix compiler error due to missing awk strtonum 2019-05-07 14:37:14 +02:00
configs s390: move arch/s390/defconfig to arch/s390/configs/defconfig 2019-05-14 17:54:48 +02:00
crypto s390/crypto: fix possible sleep during spinlock aquired 2019-05-29 21:13:10 +02:00
hypfs s390/kernel: introduce .dma sections 2019-04-29 10:47:10 +02:00
include s390/zcrypt: Fix wrong dispatching for control domain CPRBs 2019-05-28 14:49:38 +02:00
kernel Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2019-05-17 09:46:31 -07:00
kvm * ARM: support for SVE and Pointer Authentication in guests, PMU improvements 2019-05-17 10:33:30 -07:00
lib s390: add missing ENDPROC statements to assembler functions 2019-05-02 13:54:11 +02:00
mm s390: add unreachable() to dump_fault_info() to fix -Wmaybe-uninitialized 2019-05-28 14:49:21 +02:00
net s390: Convert IS_ENABLED uses to __is_defined 2019-04-11 13:36:53 +02:00
numa treewide: add checks for the return value of memblock_alloc*() 2019-03-12 10:04:02 -07:00
oprofile s390/unwind: introduce stack unwind API 2019-05-02 13:54:11 +02:00
pci s390/pci: fix assignment of bus resources 2019-05-28 14:49:32 +02:00
purgatory s390: boot, purgatory: pass $(CLANG_FLAGS) where needed 2019-05-03 17:17:58 +02:00
scripts s390: make chkbss work with clang 2019-04-11 13:36:52 +02:00
tools * ARM: support for SVE and Pointer Authentication in guests, PMU improvements 2019-05-17 10:33:30 -07:00
Kbuild
Kconfig mm: memblock: make keeping memblock memory opt-in rather than opt-out 2019-05-14 09:47:50 -07:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile s390: move arch/s390/defconfig to arch/s390/configs/defconfig 2019-05-14 17:54:48 +02:00