Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp361734rdb; Thu, 2 Nov 2023 06:05:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF91BwTBhE3V46hRNhycz8BG9p/Bd0IzlrDIB10WE4bkjE4bzEpGf64uQ/YW1hwaedeDTx0 X-Received: by 2002:a17:902:e54b:b0:1cc:6a09:a495 with SMTP id n11-20020a170902e54b00b001cc6a09a495mr7873244plf.44.1698930304727; Thu, 02 Nov 2023 06:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698930304; cv=none; d=google.com; s=arc-20160816; b=pwj8g6l5seKsUmpWMn75XDHfsVJhTgbi9pwW2v9gtfl5PN1OhS133U9OV8rHwPH/BT FpZ8Aq4LhKPdZQmMYQhXWRkefIEu696Yoj1TANNuPlHLUx+c9v9FdVoAaWxmWgABV/TG y7WlAoNWS+se9e20V2Vr/57BkyGgczRDTx9P8Gm2LCg5pilLskP4+v+Kl6aNrUL519PH msbOcQBBT/OkwtXo8SAUrvRQcb5ZBxa70UlokF21lp7sNOwNj+IVAXKzFaZI0P3V2KcU vpHtI82hb8MyyMgJLL9hYflbBrwWTzVpnNIQXjQ6LryecpVscmRzxE+Mqgk6HUYQ6vKV g84A== 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=vg5evzX3JAEDzda5SKXt6hGlrcppd9rRsyJcYIGKgcE=; fh=A+PmHdKROWhhdUU422sv6hXOnS98S7i8Q/H3TSo9E5s=; b=hsCn2Opp6q9CCdfJatAClIc0ehSm2aTCvE4f3suAaQF9OunIWPoueM1/56B+fiu7K/ Mtzd4lLk/6FEK9M758axYx7VDCgUj7By7Vo296O5ZwJdhDJU7ZOpO5b6PUPWNWXQfzg+ 92kwW8qad/EwaJ0NCDk9YxG8Zc9He+D+fdZ2BMh/26G92OgzoaagBbrbqPZHUWyNfyd2 R0O4iH4QXahxpE0xIKtGXEJ9njCzIqhzjcmbay+aNEDK1rsgTeD6Y0aLAacglweHYPkm sc6zxC/9psBUVK4w7q2K4suLzJzV1uaxo82r+GT6Ch9FF1UnqpSjeYntWDjMnLkx9f1u U7Qw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id kj5-20020a17090306c500b001c383a64ebesi4660006plb.319.2023.11.02.06.05.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 06:05:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-crypto-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 groat.vger.email (Postfix) with ESMTP id 80E1B802689C; Thu, 2 Nov 2023 06:04:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229868AbjKBNEk convert rfc822-to-8bit (ORCPT + 99 others); Thu, 2 Nov 2023 09:04:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbjKBNEj (ORCPT ); Thu, 2 Nov 2023 09:04:39 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B865125; Thu, 2 Nov 2023 06:04:33 -0700 (PDT) Received: from dggpemm500018.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SLkbT1RWSzvQVW; Thu, 2 Nov 2023 21:04:05 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggpemm500018.china.huawei.com (7.185.36.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Thu, 2 Nov 2023 21:04:07 +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.031; Thu, 2 Nov 2023 21:04:07 +0800 From: "Gonglei (Arei)" To: "Michael S. Tsirkin" , Halil Pasic CC: 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 Thread-Topic: virtcrypto_dataq_callback calls crypto_finalize_request() from irq context Thread-Index: AQHZ7VsjRTMxo/hUEkmU1GjtoDjS1rAp3v1A///cYoCAO3GWgIACEayQ Date: Thu, 2 Nov 2023 13:04:07 +0000 Message-ID: <5d9ebbdb042845009b47e6a9ee149231@huawei.com> References: <20230922154546.4f7447ce.pasic@linux.ibm.com> <20230924193941.6a02237f.pasic@linux.ibm.com> <20231101092521-mutt-send-email-mst@kernel.org> In-Reply-To: <20231101092521-mutt-send-email-mst@kernel.org> 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, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Thu, 02 Nov 2023 06:04:40 -0700 (PDT) > -----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