Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp879172rdb; Fri, 20 Oct 2023 02:00:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHDzAi/qswd0SCD7mLTUtawXPJlfSZOYM0MBx/nmfrj2Na+k6vTeuN3mLjSM+mZX2GPy9p0 X-Received: by 2002:a17:903:27cd:b0:1ca:bce4:fdd4 with SMTP id km13-20020a17090327cd00b001cabce4fdd4mr1157357plb.26.1697792401988; Fri, 20 Oct 2023 02:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697792401; cv=none; d=google.com; s=arc-20160816; b=GtVK75zFbhjkjsTQBI2z5bAy8Po1wfAe0VjhUENflH7NqGI2lD9XEDQE1Bejf4umPa Nfr6gnDyh4hOIWInDUAE84Y1Yt+3x6/24XLyvoFGPIvqNUd/ICW7AkYcpfXU+ROVff15 4Z010g6vcd8lNGGkx6VJJq8YNO1xdyUWlF8ZKQ/C03FYQ3O3TkGOAqAp4lhVD4fLOcHJ QLczZDPREsC8/XQsNNOBbXeHInjeiowsf9OnY6BxNnDjCaE5xiTkPKlaCqfDtt+zfJYK +wHpYPe81FUooeKXtrxTwQyJad4Y+MSgtyLEuQTcroVV4Qk+sScRXJcCgnXPbbogPDfC qb6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uvz9/SuKlOMM8eAgBNPqNzyC4gsPxikcYikuf/XYhDE=; fh=CwEeN5Tfjh8+nHncP9O4gfTOZotSAot3dEViDOzE+J8=; b=QJYylMXiLYUgsQ7DGdYX76IRtvdDUbwxwXaciBj1FNwdCEu4Ge8VRRf6khosh88WzT 6BJ4jQT3OPg8pJbxxaGCnosrpPNEjVIKNBD95+DkpOuWMnceLPNSz8UwKBYiucz52Iii ZqiezlyVfgY2BZRqYj57GpiOXu/cksLA8VkEQJA8Y3R+tkbLr8VmBHpDL8PxxZnb2DX2 SwWpAbxB/IyEKDmy+JAlDk44h5iVj4sY/GEavkahi37DUeYuPB0M4Fr2vPiXTZ1Zu1Vm 6HYTMtgwyXPAhQhnxUrjqX3N1+/6v7H6aEsuIazNsjdtaAxMZ/3SrTulN2AjjFxsclLp SqeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KHT5ffWJ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id q16-20020a170902789000b001ca4ad8635esi1300654pll.240.2023.10.20.02.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 02:00:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KHT5ffWJ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0840E824196F; Fri, 20 Oct 2023 01:59:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376565AbjJTI74 (ORCPT + 99 others); Fri, 20 Oct 2023 04:59:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376569AbjJTI7z (ORCPT ); Fri, 20 Oct 2023 04:59:55 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF3BBAB for ; Fri, 20 Oct 2023 01:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697792350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uvz9/SuKlOMM8eAgBNPqNzyC4gsPxikcYikuf/XYhDE=; b=KHT5ffWJKGtP/FBORD4ADX+b/Tft8hp+nGncJsURAF3eN23njhfmhvRX0n3zFV9sUh2jur y2vBQRh9XnV4qXldmgvhEKMR9FO/q1m1bPo2clHme0503TIWF9No3qQxLwLBvDjjJTyG4v 1bkfxM2LXjNwj3D+rj3Yolf/nKS2w+g= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-137-_P7ZireMNpGPk2GVixne5g-1; Fri, 20 Oct 2023 04:59:08 -0400 X-MC-Unique: _P7ZireMNpGPk2GVixne5g-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-32db6a28e24so282092f8f.0 for ; Fri, 20 Oct 2023 01:59:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697792347; x=1698397147; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uvz9/SuKlOMM8eAgBNPqNzyC4gsPxikcYikuf/XYhDE=; b=acfPdBKhq+ZEwSQ7KD3WrNkMo59RsKzz9PEnC62PWZRXQVZZgwoHPitKJghPK6WSd/ GmH+rS7Uy/fs8F7L3C0fpdonyzKHoGUXMMZFCN1/QyvzilxFnqSMXr/gPSvggEN4gXri UIHkpSsqcYGZbrl5oJuTpz7XUzxMHGVgU89BqsPGrYuu7D9tVTRobxrF+EwefEHh4835 l7d1HUWhzXaaqKMTE4tDc9NGN1nLqyVsSeDlWhVldRajysWpsdxbzEdOhhOiSvXXCBER TZmjVPOmwX88TZFXm1buDyHQ24u2pbITP4/nUlraPl5+/IBDNrycJm93AMskdrK+lqDw bmUg== X-Gm-Message-State: AOJu0YxdNDH7PFOThaK1nuoT0ytBOoQuXuMdQdeCncmfex40zdkqyUuY OK1cMknvbyX6MQL8eREoAYHG9nYjFukcxM+jI93tA1DQLZ9d8F+W5+7BEpRFjRB88gNb+7q8PvA rwqjUCIpSLhkeeTvapHngoD6/ X-Received: by 2002:a5d:5709:0:b0:319:71be:9248 with SMTP id a9-20020a5d5709000000b0031971be9248mr874307wrv.19.1697792347516; Fri, 20 Oct 2023 01:59:07 -0700 (PDT) X-Received: by 2002:a5d:5709:0:b0:319:71be:9248 with SMTP id a9-20020a5d5709000000b0031971be9248mr874294wrv.19.1697792347172; Fri, 20 Oct 2023 01:59:07 -0700 (PDT) Received: from redhat.com ([2a06:c701:73d2:bf00:e379:826:5137:6b23]) by smtp.gmail.com with ESMTPSA id a3-20020a5d4d43000000b003196b1bb528sm1226535wru.64.2023.10.20.01.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 01:59:06 -0700 (PDT) Date: Fri, 20 Oct 2023 04:59:03 -0400 From: "Michael S. Tsirkin" To: Herbert Xu Cc: zhenwei pi , arei.gonglei@huawei.com, linux-crypto@vger.kernel.org, jasowang@redhat.com, linux-kernel@vger.kernel.org, Halil Pasic Subject: Re: [PATCH] virtio-crypto: handle config changed by work queue Message-ID: <20231020045844-mutt-send-email-mst@kernel.org> References: <20231007064309.844889-1-pizhenwei@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 20 Oct 2023 01:59:59 -0700 (PDT) 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) > > Cc: Halil Pasic > > Cc: Michael S. Tsirkin > > Signed-off-by: zhenwei pi > > --- > > 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 > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt