OSDN Git Service

crypto: hisilicon - add HiSilicon ZIP accelerator support
authorZhou Wang <wangzhou1@hisilicon.com>
Fri, 2 Aug 2019 07:57:52 +0000 (15:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Aug 2019 05:11:54 +0000 (15:11 +1000)
commit62c455ca853e3e352e465d66a6cc39f1f88caa60
tree1f10817d304eea6c22819b308e6d578b36383bb1
parentdfed0098ab91f647b5720ab6f1e03b5b55139408
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>
drivers/crypto/hisilicon/Kconfig
drivers/crypto/hisilicon/Makefile
drivers/crypto/hisilicon/zip/Makefile [new file with mode: 0644]
drivers/crypto/hisilicon/zip/zip.h [new file with mode: 0644]
drivers/crypto/hisilicon/zip/zip_crypto.c [new file with mode: 0644]
drivers/crypto/hisilicon/zip/zip_main.c [new file with mode: 0644]