]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sun8i-ss - call finalize with bh disabled
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 21 Feb 2022 12:08:29 +0000 (12:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:08 +0000 (14:23 +0200)
commitc19f7ab61b33584daf95afd3b52270612777d428
tree1bc1fd84529a3e5df69aa818a275fe5c6ce87631
parent1827b25c0fc52e3f0d01e0815bd38918ac6681e3
crypto: sun8i-ss - call finalize with bh disabled

[ Upstream commit 4c485d0477a6830132f695a29872638a90e0ac9f ]

Doing ipsec produces a spinlock recursion warning.
This is due to not disabling BH during crypto completion function.

Fixes: da6d15b4f8cc ("crypto: allwinner - Add sun8i-ss cryptographic offloader")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c