Messages in this thread | | | Date | Fri, 20 Oct 2023 04:59:03 -0400 | From | "Michael S. Tsirkin" <> | Subject | Re: [PATCH] virtio-crypto: handle config changed by work queue |
| |
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@huawei.com> > > Cc: Halil Pasic <pasic@linux.ibm.com> > > Cc: Michael S. Tsirkin <mst@redhat.com> > > Signed-off-by: zhenwei pi <pizhenwei@bytedance.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.
It's in my tree too, but git should be able to figure it out.
> -- > Email: Herbert Xu <herbert@gondor.apana.org.au> > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |