Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1238662pxj; Sat, 29 May 2021 07:19:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwDsTzJTp34+8bMXxBYFbKMGGg7qfkFYNLWSpgh3Nw7I/5cqijw3F2GIWIW3cKXDuuUWoi X-Received: by 2002:a05:6602:1212:: with SMTP id y18mr11115402iot.189.1622297953417; Sat, 29 May 2021 07:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622297953; cv=none; d=google.com; s=arc-20160816; b=lBE4fKoHkTSzPzCwpjMPQgYaITN6fOq2/EiWFKI77Ci1u97sJs2mVg4ECZMvVHPMww Rolu31NiH4C5aTb6UtcBBOwuDwGVpqb+6I3fl2AcrMQfrrsCNotPLtxS/O5dkm4IjCqW uLzifUz/y3gESFjrUGQfF8jgJg5xkkuDaZjkJcT/+NqyFQa8Prb2Y0IUKhIvm20uIF1C B3bAtTpwySTc1reyDt0sly87wwKZWHktoJAHE2zjtuuCXeu2iSRQfJx+SxWeQp298RYi H4bNqcxXoYSEDtPk+4vJu4vG+tTCAtLCbCaB+PvQD9fx/3t12lfMnOIVhbm7GInOFWjN bsew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=2Hny/iignsmGpX58PtOFNhL6JmxJ1dnHtX14ORj9kog=; b=ev17/grAIyCYUUTMG5Uej6VIDvpj1lC9PhYyLlxMqEomN/T+O9PwFn+B+l+N4S0Ii3 HQPJ78emVtl24YRhx6FQnylQ3vj0TTMUafmEGu6/tWwThQ1hybRLJjvWHRCLo4GpQgIT RiR0S88PQcunS8pOP3nCUxC2msUSZ6xD7U1aAOBlRfkN43YSxmLXPeN4Fyo+RDRJqPyU qxYudh2Xx8uSbou4r1Q6edEpN+fWZM/ugHgLN6ffLT31YiIRKPbzmkiADD1z1Hhw9ogV tx4MNkPEb2heEW9/JG8yZNmadWEvC7Lc6+3slCLMGSsIV8z06WTxMwjnwNX/8+sCIFXz UG8Q== 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 h19si9983159iow.36.2021.05.29.07.18.46; Sat, 29 May 2021 07:19:13 -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 S229718AbhE2OUU (ORCPT + 99 others); Sat, 29 May 2021 10:20:20 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2103 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbhE2OUU (ORCPT ); Sat, 29 May 2021 10:20:20 -0400 Received: from dggeme768-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Fsk7b660rzWlXW; Sat, 29 May 2021 22:14:03 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by dggeme768-chm.china.huawei.com (10.3.19.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Sat, 29 May 2021 22:18:41 +0800 From: Weili Qian To: , CC: , , , , Weili Qian Subject: [PATCH 0/4] crypto: hisilicon/qm - support the communication between PF and VF Date: Sat, 29 May 2021 22:15:33 +0800 Message-ID: <1622297737-46604-1-git-send-email-qianweili@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggeme768-chm.china.huawei.com (10.3.19.114) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patch adds support for PF and VF communications in accelerator driver, and updates the reset flow based on VF/PF communications. Weili Qian (4): crypto: hisilicon/qm - adjust reset interface crypto: hisilicon/qm - enable PF and VFs communication crypto: hisilicon/qm - add callback to support communication crypto: hisilicon/qm - update reset flow drivers/crypto/hisilicon/qm.c | 713 +++++++++++++++++++++++++++++++++++++----- drivers/crypto/hisilicon/qm.h | 1 + 2 files changed, 629 insertions(+), 85 deletions(-) -- 2.8.1