Re: [PATCH] crypto: virtio-crypto: Handle dataq logic with tasklet

From: Herbert Xu
Date: Fri Dec 01 2023 - 05:10:52 EST


Gonglei Arei <arei.gonglei@xxxxxxxxxx> wrote:
> Doing ipsec produces a spinlock recursion warning.
> This is due to crypto_finalize_request() being called in the upper half.
> Move virtual data queue processing of virtio-crypto driver to tasklet.
>
> Fixes: dbaf0624ffa57 ("crypto: add virtio-crypto driver")
> Reported-by: Halil Pasic <pasic@xxxxxxxxxxxxx>
> Signed-off-by: wangyangxin <wangyangxin1@xxxxxxxxxx>
> Signed-off-by: Gonglei <arei.gonglei@xxxxxxxxxx>
> ---
> drivers/crypto/virtio/virtio_crypto_common.h | 2 ++
> drivers/crypto/virtio/virtio_crypto_core.c | 23 +++++++++++++----------
> 2 files changed, 15 insertions(+), 10 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt