Messages in this thread | | | Date | Fri, 20 Oct 2023 13:50:05 +0800 | From | Herbert Xu <> | 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@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. -- 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
| |