From patchwork Thu Oct 31 07:35:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Zaibo X-Patchwork-Id: 11220669 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 C19B613BD for ; Thu, 31 Oct 2019 07:39:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9FE7F208C0 for ; Thu, 31 Oct 2019 07:39:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbfJaHjO (ORCPT ); Thu, 31 Oct 2019 03:39:14 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:52452 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726965AbfJaHjN (ORCPT ); Thu, 31 Oct 2019 03:39:13 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 41608BD17B82B6EAD804; Thu, 31 Oct 2019 15:39:10 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Thu, 31 Oct 2019 15:39:01 +0800 From: Zaibo Xu To: , CC: , , , , , , , Subject: [PATCH 0/5] crypto: hisilicon - add HiSilicon SEC V2 support Date: Thu, 31 Oct 2019 15:35:25 +0800 Message-ID: <1572507330-34502-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 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 | 862 +++++++++++++++++++++ drivers/crypto/hisilicon/sec2/sec_crypto.h | 198 +++++ drivers/crypto/hisilicon/sec2/sec_main.c | 1112 ++++++++++++++++++++++++++++ 9 files changed, 2400 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