OSDN Git Service

crypto: zip - Add ThunderX ZIP driver core
authorMahipal Challa <mahipalreddy2006@gmail.com>
Wed, 15 Feb 2017 05:15:08 +0000 (10:45 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Mar 2017 10:34:25 +0000 (18:34 +0800)
commit640035a2dc5534b49cd64580e41874b71f131a1c
tree81762417b92fd4c4f2fb4f14413ba0d3edcbe721
parent27c539aeffe2851bf9aeeeba8a58038187a05019
crypto: zip - Add ThunderX ZIP driver core

Add a driver for the ZIP engine found on Cavium ThunderX SOCs.
The ZIP engine supports hardware accelerated compression and
decompression. It includes 2 independent ZIP cores and supports:

- DEFLATE compression and decompression (RFC 1951)
- LZS compression and decompression (RFC 2395 and ANSI X3.241-1994)
- ADLER32 and CRC32 checksums for ZLIB (RFC 1950) and GZIP (RFC 1952)

The ZIP engine is presented as a PCI device. It supports DMA and
scatter-gather.

Signed-off-by: Mahipal Challa <Mahipal.Challa@cavium.com>
Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
13 files changed:
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/cavium/Makefile [new file with mode: 0644]
drivers/crypto/cavium/zip/Makefile [new file with mode: 0644]
drivers/crypto/cavium/zip/common.h [new file with mode: 0644]
drivers/crypto/cavium/zip/zip_crypto.h [new file with mode: 0644]
drivers/crypto/cavium/zip/zip_device.c [new file with mode: 0644]
drivers/crypto/cavium/zip/zip_device.h [new file with mode: 0644]
drivers/crypto/cavium/zip/zip_main.c [new file with mode: 0644]
drivers/crypto/cavium/zip/zip_main.h [new file with mode: 0644]
drivers/crypto/cavium/zip/zip_mem.c [new file with mode: 0644]
drivers/crypto/cavium/zip/zip_mem.h [new file with mode: 0644]
drivers/crypto/cavium/zip/zip_regs.h [new file with mode: 0644]