[RFC PATCH v2 2/3] crypto: zip - Wire-up Compression / decompression HW offload

2017-02-14 Thread Mahipal Challa
This contains changes for adding compression/decompression h/w offload functionality for both DEFLATE and LZS. Signed-off-by: Mahipal Challa Signed-off-by: Jan Glauber --- drivers/crypto/cavium/zip/Makefile | 5 +- drivers/crypto/cavium/zip/zip_crypto.c | 314

[RFC PATCH v2 1/3] crypto: zip - Add ThunderX ZIP driver core

2017-02-14 Thread Mahipal Challa
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 Signed-off-by: Jan Glauber --- drivers/crypto/Kconfig |7 + drivers/crypto/Makefile

[RFC PATCH v2 3/3] crypto: zip - Add Compression/Decompression statistics

2017-02-14 Thread Mahipal Challa
Add statistics for compression/decompression hardware offload under debugfs. Signed-off-by: Mahipal Challa Signed-off-by: Jan Glauber --- drivers/crypto/cavium/zip/zip_deflate.c | 10 ++ drivers/crypto/cavium/zip/zip_inflate.c | 12 ++ drivers/crypto/cavium/zip/zip_main.c| 234

[RFC PATCH v2 0/3] Cavium ThunderX ZIP driver

2017-02-14 Thread Mahipal Challa
me more miscellaneous changes. Patches are on top of "kernel/git/herbert/crypto-2.6.git" repository Please provide your feedback. Regards, Mahipal Mahipal Challa (3): crypto: zip - Add ThunderX ZIP driver core crypto: zip - Wire-up Compression / decompression HW

[RFC PATCH v1 1/1] mm: zswap - Add crypto acomp/scomp framework support

2017-02-14 Thread Mahipal Challa
This adds the support for kernel's crypto new acomp/scomp framework to zswap. Signed-off-by: Mahipal Challa Signed-off-by: Vishnu Nair --- mm/zswap.c | 129 +++-- 1 file changed, 99 insertions(+), 30 deletions(-) diff --git a/mm/zs

[RFC PATCH v1 0/1] mm: zswap - crypto acomp/scomp support

2017-02-14 Thread Mahipal Challa
s ThunderX ZIP driver v2 patches with acomp/scomp support soon). Patch is on top of 'crypto-2.6' branch. please provide your comments. Regards, Mahipal Mahipal Challa (1): mm: zswap - Add crypto acomp/scomp framework support mm/zswap.c | 129 +++