diff options
author | Zhou Wang <wangzhou1@hisilicon.com> | 2019-08-02 15:57:52 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-09 15:11:54 +1000 |
commit | 62c455ca853e3e352e465d66a6cc39f1f88caa60 (patch) | |
tree | 1f10817d304eea6c22819b308e6d578b36383bb1 /drivers/crypto/hisilicon/Kconfig | |
parent | dfed0098ab91f647b5720ab6f1e03b5b55139408 (diff) | |
download | linux-62c455ca853e3e352e465d66a6cc39f1f88caa60.tar.gz linux-62c455ca853e3e352e465d66a6cc39f1f88caa60.tar.bz2 linux-62c455ca853e3e352e465d66a6cc39f1f88caa60.zip |
crypto: hisilicon - add HiSilicon ZIP accelerator support
The HiSilicon ZIP accelerator implements the zlib and gzip algorithm. It
uses Hisilicon QM as the interface to the CPU.
This patch provides PCIe driver to the accelerator and registers it to
crypto acomp interface. It also uses sgl as data input/output interface.
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Kenneth Lee <liguozhu@hisilicon.com>
Signed-off-by: Hao Fang <fanghao11@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/Kconfig')
-rw-r--r-- | drivers/crypto/hisilicon/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig index 457d9bcb0d4e..19293172b408 100644 --- a/drivers/crypto/hisilicon/Kconfig +++ b/drivers/crypto/hisilicon/Kconfig @@ -27,3 +27,11 @@ config CRYPTO_HISI_SGL HiSilicon accelerator engines use a common hardware scatterlist interface for data format. Specific engine driver may use this module. + +config CRYPTO_DEV_HISI_ZIP + tristate "Support for HiSilicon ZIP accelerator" + select CRYPTO_DEV_HISI_QM + select CRYPTO_HISI_SGL + select SG_SPLIT + help + Support for HiSilicon ZIP Driver |