[PATCH 2/5] crypto: hisilicon - add SRIOV support for HPRE

2019-09-30 Thread Zaibo Xu
HiSilicon HPRE engine supports PCI SRIOV. This patch enable this feature. User can enable VFs and pass through them to VM, same HPRE driver can work in VM to provide RSA and DH algorithms by crypto akcipher and kpp interfaces. Signed-off-by: Zaibo Xu Signed-off-by: Hui tang --- drivers/crypto

[PATCH 5/5] MAINTAINERS: Add maintainer for HiSilicon HPRE driver

2019-09-30 Thread Zaibo Xu
Here adds maintainer information for high performance RSA engine (HPRE) driver. Signed-off-by: Zaibo Xu --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8671e1e..37a73ff 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7364,6 +7364,15

[PATCH 4/5] crypto: hisilicon: Add debugfs for HPRE

2019-09-30 Thread Zaibo Xu
HiSilicon HPRE engine driver uses debugfs to provide debug information, the usage can be found in /Documentation/ABI/testing/debugfs-hisi-hpre. Signed-off-by: Zaibo Xu Signed-off-by: Hui Tang --- drivers/crypto/hisilicon/hpre/hpre.h | 36 ++- drivers/crypto/hisilicon/hpre/hpre_main.c

[PATCH 1/5] crypto: hisilicon - add HiSilicon HPRE accelerator

2019-09-30 Thread Zaibo Xu
The HiSilicon HPRE accelerator implements RSA and DH algorithms. It uses Hisilicon QM as interface to CPU. This patch provides PCIe driver to the accelerator and registers its algorithms to crypto akcipher and kpp interfaces. Signed-off-by: Zaibo Xu Signed-off-by: Hui Tang --- drivers/crypto

[PATCH 3/5] Documentation: Add debugfs doc for hisi_hpre

2019-09-30 Thread Zaibo Xu
Add debugfs descriptions for HiSilicon HPRE driver. Signed-off-by: Zaibo Xu Signed-off-by: Hui Tang --- Documentation/ABI/testing/debugfs-hisi-hpre | 57 + 1 file changed, 57 insertions(+) create mode 100644 Documentation/ABI/testing/debugfs-hisi-hpre diff --git a

[PATCH 0/5] crypto: hisilicon - add HPRE support

2019-09-30 Thread Zaibo Xu
This series adds HiSilicon high performance RSA engine(HPRE) driver in crypto subsystem. HPRE driver provides PCIe hardware device initiation with RSA and DH algorithms registered to Crypto. Meanwhile, some debug supporting of DebugFS is given. Zaibo Xu (5): crypto: hisilicon - add HiSilicon