Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2094598rdb; Thu, 7 Dec 2023 19:28:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGijqISsNzSxD2rh15j/buUYc+hICQNJX4wO+UzqP6CorWtXDcliGVTvf29gZt9RF22ZgoS X-Received: by 2002:a05:6a20:9383:b0:18f:97c:6165 with SMTP id x3-20020a056a20938300b0018f097c6165mr3964288pzh.98.1702006114351; Thu, 07 Dec 2023 19:28:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702006114; cv=none; d=google.com; s=arc-20160816; b=ke9peEPSnX3keMnOPNkQDi8NgPTRiIZhTY8oWHh21P3tSCY+u3JchVAyv87dGljrYg g8X5Vn1raC0dJQeMlzXrhhnH2VDL1xLTJcUCjxQWLx5Hl3/Xsu39RHeRbMS/3XJxfsLg MAdp0qEHPbkwImJ2vRnsZA3HWgpEBWkKbdY61+2zvECFzrORgqxSU30pBSHM5kwuRd4q HBLGFbVoJVHsb7Mvm/MadP1S4HO9wmRTq+rM2AygzUaPqkds1k8w1O9gxMkGVFNtnVUk oEUenzv2MZ5L6sdCRUwae0nGl/vTJsUdgZLJJcjHP8ZPG3kgNfIh5aC6i8P5T3WLqLtZ MQXg== 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; bh=ubU1J5MrROYxWbTq27NH4i162//X9OTe9aJQpkaRkIU=; fh=QKNEfNNO94Ff/B5WZc56vEn9LparcviLB0Dwy0eKgN4=; b=XBprhqhqcS6eA1nv5dyLH71qiDAEj0S2irDFgYaHZkIgMjf9Nydk8mrj07Y7tX3pmI AW75R3DbYyrYzGFgWAIi4dudZkthVpw37q6GZgXHCY7EsWBxP7Plev4GhqyXmP2gaRr6 Lo85hkjnZ/80fy0MOrTlgItNyikxCbGAzUkU/8sOVEzvscro0UeGvMRraE54QGLwXH+F M2fVZMU0QH+sysVHca+1xFzdb9WeS0TKycutnoD9Q+itYIhpt4uDxxWI0Jr2Rqx+Io60 nKvyMYTXo8Vy4x9vbquWN0nGk/GgZh5n/CCvhFAoPghspf7d3gcRRg7g9NkajBNiAz0O 6mTg== 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:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id p22-20020a056a000b5600b006ce96e33e9esi763463pfo.317.2023.12.07.19.28.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 19:28:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id D1D9685A6CC2; Thu, 7 Dec 2023 19:28:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235582AbjLHD2N (ORCPT + 99 others); Thu, 7 Dec 2023 22:28:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjLHD2M (ORCPT ); Thu, 7 Dec 2023 22:28:12 -0500 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEAC7D53; Thu, 7 Dec 2023 19:28:17 -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 1rBRX6-008IE0-47; Fri, 08 Dec 2023 11:28:09 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 08 Dec 2023 11:28:17 +0800 Date: Fri, 8 Dec 2023 11:28:17 +0800 From: Herbert Xu To: "Gonglei (Arei)" Cc: "linux-crypto@vger.kernel.org" , "Michael S. Tsirkin" , Jason Wang , "virtualization@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , wangyangxin , Halil Pasic Subject: Re: [PATCH v2] crypto: virtio-crypto: Handle dataq logic with tasklet Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 howler.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 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 19:28:32 -0800 (PST) On Wed, Dec 06, 2023 at 11:52:51AM +0000, 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: dbaf0624ffa5 ("crypto: add virtio-crypto driver") > Reported-by: Halil Pasic > Signed-off-by: wangyangxin > Signed-off-by: Gonglei > --- > v2: calling tasklet_kill() in virtcrypto_remove(), thanks for MST. > > drivers/crypto/virtio/virtio_crypto_common.h | 2 ++ > drivers/crypto/virtio/virtio_crypto_core.c | 26 ++++++++++++++++---------- > 2 files changed, 18 insertions(+), 10 deletions(-) Your patch has already been merged. So please send this as an incremental patch. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt