From patchwork Wed Nov 13 11:11:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Zaibo X-Patchwork-Id: 11241707 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D38EA1515 for ; Wed, 13 Nov 2019 11:14:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF14C222D3 for ; Wed, 13 Nov 2019 11:14:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727832AbfKMLOf (ORCPT ); Wed, 13 Nov 2019 06:14:35 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:57100 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727641AbfKMLOf (ORCPT ); Wed, 13 Nov 2019 06:14:35 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 2555CCE592811F388CA6; Wed, 13 Nov 2019 19:14:34 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Wed, 13 Nov 2019 19:14:26 +0800 From: Zaibo Xu To: , CC: , , , , , , , Subject: [PATCH v3 0/5] crypto: hisilicon - add HiSilicon SEC V2 support Date: Wed, 13 Nov 2019 19:11:03 +0800 Message-ID: <1573643468-1812-1-git-send-email-xuzaibo@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This series adds HiSilicon Security Engine (SEC) version 2 controller driver in Crypto subsystem. It includes PCIe enabling, Skcipher, DebugFS and SRIOV support of SEC. This patchset rebases on: git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git This patchset is based on: https://www.spinics.net/lists/linux-crypto/msg43520.html Changes on v3: - bugfixed as running CRYPTO extra tests. Changes on v2: - delete checking return value of debugfs_create_xxx functions. Change log: v3: - bugfixed as running CRTPTO extra tests. v2: - remove checking return value of debugfs_create_xxx functions. Longfang Liu (1): Documentation: add DebugFS doc for HiSilicon SEC Zaibo Xu (4): crypto: hisilicon - add HiSilicon SEC V2 driver crypto: hisilicon - add SRIOV for HiSilicon SEC crypto: hisilicon - add DebugFS for HiSilicon SEC MAINTAINERS: Add maintainer for HiSilicon SEC V2 driver Documentation/ABI/testing/debugfs-hisi-sec | 43 ++ MAINTAINERS | 10 + drivers/crypto/hisilicon/Kconfig | 16 + drivers/crypto/hisilicon/Makefile | 1 + drivers/crypto/hisilicon/sec2/Makefile | 2 + drivers/crypto/hisilicon/sec2/sec.h | 156 ++++ drivers/crypto/hisilicon/sec2/sec_crypto.c | 889 ++++++++++++++++++++++ drivers/crypto/hisilicon/sec2/sec_crypto.h | 198 +++++ drivers/crypto/hisilicon/sec2/sec_main.c | 1095 ++++++++++++++++++++++++++++ 9 files changed, 2410 insertions(+) create mode 100644 Documentation/ABI/testing/debugfs-hisi-sec create mode 100644 drivers/crypto/hisilicon/sec2/Makefile create mode 100644 drivers/crypto/hisilicon/sec2/sec.h create mode 100644 drivers/crypto/hisilicon/sec2/sec_crypto.c create mode 100644 drivers/crypto/hisilicon/sec2/sec_crypto.h create mode 100644 drivers/crypto/hisilicon/sec2/sec_main.c