Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp923468rdb; Fri, 1 Dec 2023 02:11:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2WMhHm3OVkOS/t/Mr8xxv44+LZ8hPVie0NmQXd7e0rarQmHKkgdBTevQh6uhp0PvYlpaP X-Received: by 2002:a17:902:9893:b0:1cc:37b9:4953 with SMTP id s19-20020a170902989300b001cc37b94953mr24031548plp.67.1701425473312; Fri, 01 Dec 2023 02:11:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701425473; cv=none; d=google.com; s=arc-20160816; b=LGtaA0I7bBGb0Brm0uaY1a66iO6+UJ0Y/KHAw4RcAAiO1pkd0VR8VQiVIGxNkfObcd +d1k1qexU48hqPKk4C31wl8WL3jsGS+rEt4ySAl0DLj59kmySwLnI7qgnRq7oTZZBH5M 6w/nH9pQ0UgIHzTJwfUc8PrCJWI9BHcyav+j2zj6XZ1PUlePnTUXI6LPMKjCfWrX4zD3 HZBBcnijmihbYzg5SK/mEhE12z/tdbZS7v5KH76sBf8Gbof7HYoqYqfY+6PsdKOnbfSJ wv0/zuM3jkl95z7iuKV2eppcFQYm+GS1OCOi6hjnFtraJdZ6ZAwPnnaOdWcTA1VQgGLr bGBA== 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 :message-id:subject:cc:to:from:date; bh=2K1BIkR4yGrcK5Mbe88uuNGwuXQXh4lvuVLb7dM1kE4=; fh=muka4hsye6H85edr2KPF5ohfdrfluSPiSZ1XrZUSm2k=; b=Z8pgHjTsilLMtVBmhPfZtUdcTueeAlET/78mLYguq6OiSsN5IbpeXnUfLtv6gsP5dd XATwRd/KXyDaC8QeEiuyGXKOs4YiZjqnJmp0laIDx7uFopQ2RpVX3W/o/sU3nMgZslZI Yy+0q6Rg+rN2NOU80+g82U0MPfLzgiG9njFn8mWnp8b1ffQtsrJO4T/4kAH33KybAttO MD0dXxB35IV1uW4GRxZ2aiZXu6dqbS28vA+yT5E+FXKdmEQ7sIrJn1lFYm38esgeAUgk UKEDb7oDmKpYa/+2IdOFM9IT3pPVL4R2GxO+/i/jliSsYmtYe37zER3iJ+mAJeHliyiH kByg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id j14-20020a170902da8e00b001cfc170c11asi427191plx.475.2023.12.01.02.11.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 02:11:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 8D773808EF4C; Fri, 1 Dec 2023 02:10:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378174AbjLAKKn (ORCPT + 99 others); Fri, 1 Dec 2023 05:10:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378134AbjLAKKj (ORCPT ); Fri, 1 Dec 2023 05:10:39 -0500 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 415F0DC; Fri, 1 Dec 2023 02:10:44 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1r90Th-005hiX-2F; Fri, 01 Dec 2023 18:10:34 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 01 Dec 2023 18:10:42 +0800 Date: Fri, 1 Dec 2023 18:10:42 +0800 From: Herbert Xu To: Gonglei Arei Cc: linux-crypto@vger.kernel.org, pasic@linux.ibm.com, mst@redhat.com, jasowang@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, wangyangxin1@huawei.com, arei.gonglei@huawei.com Subject: Re: [PATCH] crypto: virtio-crypto: Handle dataq logic with tasklet Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Newsgroups: apana.lists.os.linux.cryptoapi,apana.lists.os.linux.kernel,apana.lists.os.linux.virtualization X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 01 Dec 2023 02:10:57 -0800 (PST) Gonglei Arei wrote: > Doing ipsec produces a spinlock recursion warning. > This is due to crypto_finalize_request() being called in the upper half. > Move virtual data queue processing of virtio-crypto driver to tasklet. > > Fixes: dbaf0624ffa57 ("crypto: add virtio-crypto driver") > Reported-by: Halil Pasic > Signed-off-by: wangyangxin > Signed-off-by: Gonglei > --- > drivers/crypto/virtio/virtio_crypto_common.h | 2 ++ > drivers/crypto/virtio/virtio_crypto_core.c | 23 +++++++++++++---------- > 2 files changed, 15 insertions(+), 10 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt