OSDN Git Service

crypto: sun8i-ce - call finalize with bh disabled
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 21 Feb 2022 12:08:30 +0000 (12:08 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 2 Mar 2022 22:47:49 +0000 (10:47 +1200)
commitf75a749b6d78aeae2ce90e14fcc4b7b3ba46126d
tree4ab4a78c2baa3a771d8ceb1ebfa36cdf1dbd1c8c
parentb169b3766242b6f3336e24a6c8ee1522978b57a7
crypto: sun8i-ce - call finalize with bh disabled

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

Fixes: 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c