]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8aa8f6cd449d2a902d527f9eae75317ea4d64eb
tree1f10817d304eea6c22819b308e6d578b36383bb1
parentc4f46bde5b22401b14ad7796f7b22f5911b247bf
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]