Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp914284rdb; Wed, 6 Dec 2023 03:47:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUb/x+DY6Kh6B8SNATlSGNdE+emZYDlxpmjJtZ69G/Flun5l3/eeqs95IDo/zi0Pskl9pc X-Received: by 2002:a05:6a20:9409:b0:18f:97c:3863 with SMTP id hl9-20020a056a20940900b0018f097c3863mr908556pzb.61.1701863279017; Wed, 06 Dec 2023 03:47:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701863279; cv=none; d=google.com; s=arc-20160816; b=fBOc+225+E1r9Ue8ftgyyAqUvr5TigIIukRY79g8WuEFw1DrWAWpyeeMpbWDgnnK6w QTEebpqtztI3k/8JmGe9yBXxBzk6pcfQAHFXg4rfeq1hkPF9/xS9QG41fNUJM3E4Ec3U +5jZgh5VF9I5+iy7PeCvXZt6/pJSvch6zveC7Y/48yh4vCDYRo7fHPXpvrVh83Q2R61c 92EeSwNS7lDcdw+XUSuXckohhuxp8aL3EoxKAV/xIy349OGBM8WPIFfWDu/j8YkrFOK4 I7Wvl8Jq6UWvQFhd4OPG+GSkTckkEupCTRn268SIAnoaJkfTE2AiksmlBSsDcY94KyDp Iakg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=ODE1C3N6mTMFYW4o/JMHc/zoWRGJkYiepbx3aJyfqMI=; fh=peWnJvhIIjr7nPQcelpZewLH3oZDxbcbaQLOpNEXztA=; b=SRxFxeIHwrizdoLESTtxVs7eKaD9k95zHlx2W5ChNNoDTY8/BAmT8bbeYKMh55wmT5 9myXpltRrzzY86W25y47cRqESNpsKXt9SQEcm9bhno+8m27sjeOKsHimT7NIRuYCRIIH jou9Tc1DjpTNLkXeEOD35felrAOQpL4ZEtlRF5t7KNYw5okC/f+a5onMzCPN8vqUBOhg 02pFecWIS4EoOsXnQt6Q2ewwWWB+wLv9xKySfO3t3oZlmv2e1D0Fymx7qvCtCsbXPg1q Dm0CPQz9kZuiJx+Z9+eFF+XhdakVNWRbjxz/18oU0EmzE+FXekdYvrCU096bdSiCAqDW xGxA== 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:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id c21-20020a056a000ad500b006c98123e8acsi11478894pfl.24.2023.12.06.03.47.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 03:47:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 849FF826EB7F; Wed, 6 Dec 2023 03:47:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377756AbjLFLrl convert rfc822-to-8bit (ORCPT + 99 others); Wed, 6 Dec 2023 06:47:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377634AbjLFLrl (ORCPT ); Wed, 6 Dec 2023 06:47:41 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40A60C9; Wed, 6 Dec 2023 03:47:47 -0800 (PST) Received: from kwepemi100024.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SlbCK2HfszrV0l; Wed, 6 Dec 2023 19:43:57 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by kwepemi100024.china.huawei.com (7.221.188.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 6 Dec 2023 19:47:44 +0800 Received: from dggpemm500006.china.huawei.com ([7.185.36.236]) by dggpemm500006.china.huawei.com ([7.185.36.236]) with mapi id 15.01.2507.035; Wed, 6 Dec 2023 19:47:44 +0800 From: "Gonglei (Arei)" To: Herbert Xu 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" , wangyangxin Subject: RE: [PATCH] crypto: virtio-crypto: Handle dataq logic with tasklet Thread-Topic: [PATCH] crypto: virtio-crypto: Handle dataq logic with tasklet Thread-Index: Adobp2Ma20NfNCVRS52WT53esc9NTAIVDLQAAQ+I38A= Date: Wed, 6 Dec 2023 11:47:44 +0000 Message-ID: <860e8f2285ae4350af3a14a5367c462a@huawei.com> References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.149.11] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected 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 morse.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 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 03:47:56 -0800 (PST) Hi Herbert, > -----Original Message----- > From: Herbert Xu [mailto:herbert@gondor.apana.org.au] > Sent: Friday, December 1, 2023 6:11 PM > 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; wangyangxin ; > Gonglei (Arei) > Subject: Re: [PATCH] crypto: virtio-crypto: Handle dataq logic with tasklet > > 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. Sorry, pls apply version 2 if possible. Regards, -Gonglei > -- > Email: Herbert Xu Home Page: > http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt