Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2940653rdh; Wed, 27 Sep 2023 19:03:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFCW0MT7YsMFTFwmPZtex6I925IrgAIfyREvFesVD075h/cRDK1uao969JVuNj6edDbLr3e X-Received: by 2002:a05:6e02:971:b0:351:2288:e132 with SMTP id q17-20020a056e02097100b003512288e132mr3251443ilt.21.1695866618980; Wed, 27 Sep 2023 19:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695866618; cv=none; d=google.com; s=arc-20160816; b=X30S1MP3G6wPBWWW90rg+XTbstuKmonp+x0WVJquTQBP/KG2hikuRN8CiNguRFWzy/ Mu/AgBxV1QFMAh/IOcmMQtJUdDQEe/wzzn9dATG/PE2Yi0mF/HR7bMmad/a60V+SndZZ 2eozJovrzadD7V1mXl/nKgczqFYN0WoLRngp6BEg45xmQYbFl6RGp2yYCYb9PuNEUfgo GYn7kM/vnvrdHdL+iDsg7s9aMbc/EWM6Jsa9vjz3HqQl8Q+m+r3u+ZqT0gO6G8NbI2Qu Zhfv85p2CKpzEtwl9TGuQx3RDNIWEx2DnWSs7hM3VbfDH+fP8fBAw+y6rOmvFc04BMim FJ9Q== 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=TuQr8DcYqiHY2a/3it6oPGsgnXFU9Q3XhrVpo7Vs5WY=; fh=cZ1GiE56gIl8egypRiMLoKsePHTKUG8gdtnE3rg/z94=; b=R4xjduc1DCBOp8ssGGRR+S/R2Tx6q2siheREUEyAeLtgMz8s/FkGb/uP50E2ypl0IC s+US5tdBeaZNJ5XYwI9YwilMMl3J1IqXIBO48GJ/Q+Jkw37CcjxBJn+aMwlv4zD69ADC otHI5mTILwSo7QjRDneVhiE2I+vzs6mw3vtqpFREK7fNrM7PdNQ8WROIKjAZdEOuZ3/U hxKBF8Z23megmWWrOKm4mKowJQJepRJb8eBAIldgy0AqY6sLeqiWsFkaJvRpuwu4iOqs w7a1fmbyvF17E51tYzcASGqkS7MtTA3yFKfJJmZENnKGUw/t7o8bLOlUYnAlrKzYhbrw ES6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id bv71-20020a632e4a000000b00578c0af535esi17633192pgb.65.2023.09.27.19.03.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 19:03:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 0E06E8198032; Wed, 27 Sep 2023 19:03:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229437AbjI1CDY (ORCPT + 99 others); Wed, 27 Sep 2023 22:03:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbjI1CDX (ORCPT ); Wed, 27 Sep 2023 22:03:23 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD4CAC1; Wed, 27 Sep 2023 19:03:21 -0700 (PDT) Received: from kwepemd500002.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RwxVn50XczNnmP; Thu, 28 Sep 2023 09:59:29 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by kwepemd500002.china.huawei.com (7.221.188.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1258.23; Thu, 28 Sep 2023 10:03:19 +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, 28 Sep 2023 10:03:19 +0800 From: "Gonglei (Arei)" To: zhenwei pi , "Michael S. Tsirkin" CC: Halil Pasic , Herbert Xu , "linux-crypto@vger.kernel.org" , Marc Hartmayer , Jason Wang , "virtualization@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , Cornelia Huck Subject: RE: Re: [PATCH] crypto: virtio-crypto: call finalize with bh disabled Thread-Topic: Re: [PATCH] crypto: virtio-crypto: call finalize with bh disabled Thread-Index: AdnvwZyqMOU4LXJLQHSIVFGYJFXR5QAk7LIAAAEdD4AAMnHjIP//vvqAgADI4ID//3VFcA== Date: Thu, 28 Sep 2023 02:03:18 +0000 Message-ID: <53d400c057564aa28930bbf3d76ddeff@huawei.com> References: <1914739e2de14ed396e5674aa2d4766c@huawei.com> <20230926184158.4ca2c0c3.pasic@linux.ibm.com> <20230926130521-mutt-send-email-mst@kernel.org> <9564c220c8344939880bb805c5b3cac9@huawei.com> <20230927152531.061600f0.pasic@linux.ibm.com> <829bc434-89e6-b17e-b832-d0d83480c80f@bytedance.com> In-Reply-To: <829bc434-89e6-b17e-b832-d0d83480c80f@bytedance.com> 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="utf-8" Content-Transfer-Encoding: base64 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 19:03:36 -0700 (PDT) DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogemhlbndlaSBwaSBbbWFp bHRvOnBpemhlbndlaUBieXRlZGFuY2UuY29tXQ0KPiBTZW50OiBUaHVyc2RheSwgU2VwdGVtYmVy IDI4LCAyMDIzIDk6MjQgQU0NCj4gVG86IE1pY2hhZWwgUy4gVHNpcmtpbiA8bXN0QHJlZGhhdC5j b20+OyBHb25nbGVpIChBcmVpKQ0KPiA8YXJlaS5nb25nbGVpQGh1YXdlaS5jb20+DQo+IENjOiBI YWxpbCBQYXNpYyA8cGFzaWNAbGludXguaWJtLmNvbT47IEhlcmJlcnQgWHUNCj4gPGhlcmJlcnRA Z29uZG9yLmFwYW5hLm9yZy5hdT47IGxpbnV4LWNyeXB0b0B2Z2VyLmtlcm5lbC5vcmc7IE1hcmMN Cj4gSGFydG1heWVyIDxtaGFydG1heUBsaW51eC5pYm0uY29tPjsgSmFzb24gV2FuZw0KPiA8amFz b3dhbmdAcmVkaGF0LmNvbT47IHZpcnR1YWxpemF0aW9uQGxpc3RzLmxpbnV4LWZvdW5kYXRpb24u b3JnOw0KPiBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOyBDb3JuZWxpY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