Re: [PATCH] virtio-crypto: handle config changed by work queue
From: Michael S. Tsirkin
Date: Fri Oct 20 2023 - 05:00:08 EST
On Fri, Oct 20, 2023 at 01:50:05PM +0800, Herbert Xu wrote:
> 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@xxxxxxxxxx>
> > Cc: Halil Pasic <pasic@xxxxxxxxxxxxx>
> > Cc: Michael S. Tsirkin <mst@xxxxxxxxxx>
> > Signed-off-by: zhenwei pi <pizhenwei@xxxxxxxxxxxxx>
> > ---
> > 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.
It's in my tree too, but git should be able to figure it out.
> --
> Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt