Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp371300rdb; Thu, 2 Nov 2023 06:18:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWgwYq6jdWf+BeRhmGawOiL04U8dpmF95OiYEnQ2fqYDl5H20XDPdrlAHrh7E7aQbh63gm X-Received: by 2002:a05:6a00:3a21:b0:6c3:41d3:9630 with SMTP id fj33-20020a056a003a2100b006c341d39630mr716868pfb.28.1698931100231; Thu, 02 Nov 2023 06:18:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698931100; cv=none; d=google.com; s=arc-20160816; b=MEPvvX+l55WeGkFBddnIKqNDOiku19wHtqHLeK/9GQpmPm9RFqvxpBm2vLstXtANJG gmJ8mGhsNCRutwBmJ6GTbQR3I6a7R0r+S/w7N+ENZNoMawNkL9UbzE7PpCcxPgujhLop bAjTzcuZmQN0h6xzNaqAyMmtYyxe4EMZf2bhzSrIQvPm8Hi3FXSiFdWQozYAbjgj1qwP 0r5+upA66Wgu+VEhLn3OxxDX8N6FousPeP8Lc992mhQuXBwTF2aWCf5vSnj4O7cd3Zei WS/Dtp5A6UScGowVkKVcBbmWD9E7JkSrEqDgJx41y81BcTVMWNnkIfj7bt2gP9v2Za/j jb3w== 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=fTaJOMcX/m2U9bWMbervVcOi3b96Z0mEX8mhdx6J3a4=; fh=+cUY5ovtkH+ed99Y5lRcmNTze42s02J4i7chxyRHzi0=; b=EaDdfdeTs+Vi3aMOsOqj0WkIfAJTRCyQnbuthol7mOenE1tCPOrdNLhhLPlZ0wZce8 lxiF7xhunqVjyN5hICDO3ODyyr+6UsYApvRgOvOuzK6aKbqi9gHjuBY+RECMw4iaS3y/ Cv21z/xrg7R81SnYtrnl6yC/8TAhJPbWkp7HHvYLIoKqj5YtNF7NbjEJ8LkHVf1pBOHY 86Ls5/8FcAJkKGNhHr1ubEsBJcoAfdXzm/ScHeLHfl5lcHyoOMUtg/TTwfuJjVUMymrn uEPz1pazZ64faa6a2VX6hl+q26Rzc/Ycmn+F+gCVLGZIXUR9YNPQvEZshOIhYf13+P1T bdIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Us7E1zcY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id bn14-20020a056a02030e00b005859c255ce8si2029302pgb.819.2023.11.02.06.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 06:18:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Us7E1zcY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-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 fry.vger.email (Postfix) with ESMTP id 5618781FD9FD; Thu, 2 Nov 2023 06:18:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229943AbjKBNRj (ORCPT + 99 others); Thu, 2 Nov 2023 09:17:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjKBNRj (ORCPT ); Thu, 2 Nov 2023 09:17:39 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C57E018C for ; Thu, 2 Nov 2023 06:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698931007; 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=fTaJOMcX/m2U9bWMbervVcOi3b96Z0mEX8mhdx6J3a4=; b=Us7E1zcYMF23E5Jdj3unHyznAidIM9rsMlHtsKeGnuHDTGuL59AAu3paemnfC3FCGMFw2u 8JnnoBxy5WfDLv+PsuozWLGT5rTtVB/MxRZnbpVAR52E71ZAPRRhR/tbMZAj3UVigkcj9Q dLPrGHR7qvMrr3pgqG2JROfC3tkwsTU= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-662-pRtZS-ANOVyZ-RuNjO2-Kg-1; Thu, 02 Nov 2023 09:16:46 -0400 X-MC-Unique: pRtZS-ANOVyZ-RuNjO2-Kg-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4091c9bdb8eso12318025e9.1 for ; Thu, 02 Nov 2023 06:16:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698931004; x=1699535804; 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=fTaJOMcX/m2U9bWMbervVcOi3b96Z0mEX8mhdx6J3a4=; b=eodcNWwXexiG9PkdQ7pbANzNUUbEaqf4+39vayYhv2sMP37wq8uUt3mcbZMHw3kz3D o+neP4bM6FPQdc0jNyNq63OLG7f7YAVktwcAZnQDKJTE/ctQwpPRLFQEh4nomXKbhwc5 4ejB8Z8tSeMiL66RQ+z+NHVvz2y16wNWfRHQGts1ti+cf1Mp5MZcA7penQ+FKddbV9Ml Ld/+B6GcfpazlF7G3p/5O2hoUcHTFF7Uc7xAoz5862IP0TDBvAncU7fwp1F2KKuvNbto Qo81tOyBYlnlo41SLqqu7Ybhz6s6nJvW3AIj1V9B589J+iNeTNd1eoUjkFhyhIS5vdLB KNOQ== X-Gm-Message-State: AOJu0YzQpLfOGtr3W/PDIhw+7HsgUvO+0cBDPcUHmzC2Hk9oufc3amuP A8EHo37QY8vMjilILd3xGhQzIhU3M8J+GH1rTNAlQ+NLATDi+h2rKp15rsgVuBxlArTCow4WUtH TN4VGgMBc07ilD1Eel3oiiPTn X-Received: by 2002:a05:600c:4e92:b0:406:51a0:17ea with SMTP id f18-20020a05600c4e9200b0040651a017eamr9900340wmq.10.1698931004648; Thu, 02 Nov 2023 06:16:44 -0700 (PDT) X-Received: by 2002:a05:600c:4e92:b0:406:51a0:17ea with SMTP id f18-20020a05600c4e9200b0040651a017eamr9900315wmq.10.1698931004333; Thu, 02 Nov 2023 06:16:44 -0700 (PDT) Received: from redhat.com ([2a02:14f:174:efc3:a5be:5586:34a6:1108]) by smtp.gmail.com with ESMTPSA id bh27-20020a05600c3d1b00b004063d8b43e7sm2903119wmb.48.2023.11.02.06.16.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 06:16:43 -0700 (PDT) Date: Thu, 2 Nov 2023 09:16:39 -0400 From: "Michael S. Tsirkin" To: "Gonglei (Arei)" Cc: Halil Pasic , Herbert Xu , Jason Wang , "virtualization@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "linux-crypto@vger.kernel.org" , Marc Hartmayer Subject: Re: virtcrypto_dataq_callback calls crypto_finalize_request() from irq context Message-ID: <20231102091548-mutt-send-email-mst@kernel.org> References: <20230922154546.4f7447ce.pasic@linux.ibm.com> <20230924193941.6a02237f.pasic@linux.ibm.com> <20231101092521-mutt-send-email-mst@kernel.org> <5d9ebbdb042845009b47e6a9ee149231@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5d9ebbdb042845009b47e6a9ee149231@huawei.com> X-Spam-Status: No, score=-1.3 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,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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]); Thu, 02 Nov 2023 06:18:03 -0700 (PDT) On Thu, Nov 02, 2023 at 01:04:07PM +0000, Gonglei (Arei) wrote: > > > > -----Original Message----- > > From: Michael S. Tsirkin [mailto:mst@redhat.com] > > Sent: Wednesday, November 1, 2023 9:26 PM > > To: Halil Pasic > > Cc: Gonglei (Arei) ; Herbert Xu > > ; Jason Wang ; > > virtualization@lists.linux-foundation.org; linux-kernel@vger.kernel.org; > > linux-crypto@vger.kernel.org; Marc Hartmayer > > Subject: Re: virtcrypto_dataq_callback calls crypto_finalize_request() from irq > > context > > > > On Sun, Sep 24, 2023 at 07:39:41PM +0200, Halil Pasic wrote: > > > On Sun, 24 Sep 2023 11:56:25 +0000 > > > "Gonglei (Arei)" wrote: > > > > > > > Hi Halil, > > > > > > > > Commit 4058cf08945 introduced a check for detecting crypto > > > > completion function called with enable BH, and indeed the > > > > virtio-crypto driver didn't disable BH, which needs a patch to fix it. > > > > > > > > P.S.: > > > > https://lore.kernel.org/lkml/20220221120833.2618733-5-clabbe@baylibr > > > > e.com/T/ > > > > > > > > Regards, > > > > -Gonglei > > > > > > Thanks Gonglei! > > > > > > Thanks! I would be glad to test that fix on s390x. Are you about to > > > send one? > > > > > > Regards, > > > Halil > > > > > > Gonglei did you intend to send a fix? > > Actually I sent a patch a month ago, pls see another thread. > > > Regards, > -Gonglei And I think there was an issue with that patch that you wanted to fix? config changed callback got fixed but this still didn't. -- MST