Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3687333pxv; Mon, 5 Jul 2021 03:23:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgxLfcc59g3V1z+WwsakRkn9EBJp4gJKlQ3rkpDHFxWjV035geR9M5t5LghRfwJKwwQYMN X-Received: by 2002:a05:6638:372c:: with SMTP id k44mr11631858jav.94.1625480607558; Mon, 05 Jul 2021 03:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625480607; cv=none; d=google.com; s=arc-20160816; b=fwneLEW09dOqkATN7NART8HHtpF8qTnvpVvqEDEABeVDUWQjP+s7nr64TYXmTV5FyM tlx6VKY7rP4M1qs2Qs3XqVRXvu1rKVJpUdJsJVXb3REyI0R5DiSSx39yJ2OfHIYTjNcP w6qLM/FU4bOdkCOJW79r2ToV/G1ELQrKUJpV1+wRB69hrhVSQ2TJmRdHvENa1pSN2y1Q eAk2h8B9q3ACWuVeO/VVtxS8d3L06XTj7FVvNXa0Pp1ITBS9GGArDxymAEhZ43qH2oxG +I/zj9BX/nJTXeho65YWchPIptNR4URacs70hoSuhQkHjYSyvTzZF4uwIpCWmnJWY+Kf h2mg== 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=VsoyG1MfndE+VHOoMWbhn430VNkIMCOWfCIjSVIG7Vw=; b=CsLnHDC8R4+E9uVNRxThTM7z00+DyabAYjk153wbdwSHF0H8HmwK2cn92neC7iAsgF JgWxE7RvbTa0A7EpbofMFO8YAIYWpMnhe646mKxKtqiTfIEcbTeltT3nIP55KZ+C9AgW AeYHO5IasmptPBIx6XktQzyWUv1NrxAjBaki0BC0p+KWOGW+Ja7hVZAZLt4hW3PNWXNo kOPb0YL93OR3Mi4jx+G7FD7bwfNwmHnIwHq3DTQrxCVYA3FwHSdFL5PoqmtGw6IhW/Ug bdme1A6NAP3yldp7cvoQas4kHFvAyLtEgony4gJc5JWtB9ZS7tvLXXD55kbwMBhMl9Y8 uk9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d14si2837920iow.80.2021.07.05.03.23.15; Mon, 05 Jul 2021 03:23:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230366AbhGEKZv (ORCPT + 99 others); Mon, 5 Jul 2021 06:25:51 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3362 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230355AbhGEKZv (ORCPT ); Mon, 5 Jul 2021 06:25:51 -0400 Received: from fraeml714-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4GJM1r5KNFz6M4KL; Mon, 5 Jul 2021 18:12:32 +0800 (CST) Received: from lhreml715-chm.china.huawei.com (10.201.108.66) by fraeml714-chm.china.huawei.com (10.206.15.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 5 Jul 2021 12:23:12 +0200 Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by lhreml715-chm.china.huawei.com (10.201.108.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 5 Jul 2021 11:23:12 +0100 Received: from lhreml710-chm.china.huawei.com ([169.254.81.184]) by lhreml710-chm.china.huawei.com ([169.254.81.184]) with mapi id 15.01.2176.012; Mon, 5 Jul 2021 11:23:12 +0100 From: Shameerali Kolothum Thodi To: Max Gurtovoy , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-crypto@vger.kernel.org" CC: "alex.williamson@redhat.com" , "jgg@nvidia.com" , Linuxarm , liulongfang , "Zengtao (B)" , yuzenghui , "Jonathan Cameron" , "Wangzhou (B)" Subject: RE: [RFC v2 3/4] crypto: hisilicon/qm - Export mailbox functions for common use Thread-Topic: [RFC v2 3/4] crypto: hisilicon/qm - Export mailbox functions for common use Thread-Index: AQHXbyj8BxvtavY7fkydwvpGgOj6XasygHiAgAGwWRA= Date: Mon, 5 Jul 2021 10:23:12 +0000 Message-ID: <0ebcb89c4fc64d289d5ffcdfe03529ec@huawei.com> References: <20210702095849.1610-1-shameerali.kolothum.thodi@huawei.com> <20210702095849.1610-4-shameerali.kolothum.thodi@huawei.com> <2f9c5fee-fcd1-3512-fef8-f2707df621ba@nvidia.com> In-Reply-To: <2f9c5fee-fcd1-3512-fef8-f2707df621ba@nvidia.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.83.49] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF4IEd1cnRvdm95IFtt YWlsdG86bWd1cnRvdm95QG52aWRpYS5jb21dDQo+IFNlbnQ6IDA0IEp1bHkgMjAyMSAxMDozNA0K PiB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