[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZTIVDQZeHb2BlbH7@gondor.apana.org.au>
Date: Fri, 20 Oct 2023 13:50:05 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: zhenwei pi <pizhenwei@...edance.com>
Cc: mst@...hat.com, arei.gonglei@...wei.com,
linux-crypto@...r.kernel.org, jasowang@...hat.com,
linux-kernel@...r.kernel.org, Halil Pasic <pasic@...ux.ibm.com>
Subject: Re: [PATCH] virtio-crypto: handle config changed by work queue
On Sat, Oct 07, 2023 at 02:43:09PM +0800, zhenwei pi wrote:
> MST pointed out: config change callback is also handled incorrectly
> in this driver, it takes a mutex from interrupt context.
>
> Handle config changed by work queue instead.
>
> Cc: Gonglei (Arei) <arei.gonglei@...wei.com>
> Cc: Halil Pasic <pasic@...ux.ibm.com>
> Cc: Michael S. Tsirkin <mst@...hat.com>
> Signed-off-by: zhenwei pi <pizhenwei@...edance.com>
> ---
> drivers/crypto/virtio/virtio_crypto_common.h | 3 +++
> drivers/crypto/virtio/virtio_crypto_core.c | 14 +++++++++++++-
> 2 files changed, 16 insertions(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists