Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1715978ybc; Wed, 13 Nov 2019 03:15:50 -0800 (PST) X-Google-Smtp-Source: APXvYqw64njki8bofLA/JsgvfwTkvKeEQKIMMaAEWsm6eFcYXxwMWgkBdhbpp+ExUGb4gFBtxOFf X-Received: by 2002:a05:6402:184e:: with SMTP id v14mr2886284edy.138.1573643750861; Wed, 13 Nov 2019 03:15:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573643750; cv=none; d=google.com; s=arc-20160816; b=LC3EJqLibZK7aiMwIx6oNR+mzA71S95pX1gYzNgnuZ/0MrZ/uwQKj/OsNAPZujerKx rMYXUw3GQMFIKLOQ4rleUT8PCHvNnIDUQfPhl5fNJOvCbO2g9q6D2eBLw5GxGXMAhIEf oDMnFcx4eIdQLln6m8ceTgXb4VlNmdl467VQZ/TN+ywtnS0vigbKIfxJNtvzfNuibm5/ YzsNzpwmBLQ5dvfMMWcbE5johPuCbQI+7F9Ex4L6xEmUEx084QsW8Lq4a3bx36eg/rnd 6AnxzC875qh+ZHTuPnWu+tk5bczY3am5V9f7tDGhLXwm8xDEDtOaznIrALs0PQPJtXc/ PXlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=HJzWHHWWvym0br+xKN5859Msp8Ay2jY4gGIcKSQ2G6o=; b=xWlIF6uOVYVpOeGNT36DkBtT4TMYnV2U+O3lQehrs0WFloZyhtxsxyjeIgLphFYhAX UYY7dLPaLsLXhwb60y6TLdO6AdgUzLmyJqtXBDgOvlJJoQtHLfAtfjWXizKqVIEZ+4hk S6h5S9/czxxROytes844pIxYU8bIx5c1NFejyJTNksEpR/bvUYIQwniP0NDWY4OgxcvX ae4R4EJOGWe3ASmKx7hpZS4aEtHzJPwc0WOy+uKSDkinE7qFpps01RouO1rsZpFz8UFq r9U625X9IkwhN/FxftLSU78PyLCnyFUbp5eviNllFH/Qio8qNsT6zgqWDV9druLZsBhW n/hg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n15si866572ejj.68.2019.11.13.03.15.23; Wed, 13 Nov 2019 03:15:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727832AbfKMLOf (ORCPT + 99 others); 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 Content-Type: text/plain 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 -- 2.8.1