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

2017-02-14 Thread Seth Jennings
On Tue, Feb 14, 2017 at 9:40 AM, Mahipal Challa wrote: > 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

Re: [PATCH] crypto: 842 - remove .cra_list initialization

2012-08-29 Thread Seth Jennings
On 08/29/2012 03:37 PM, Jussi Kivilinna wrote: > .cra_list initialization is unneeded and have been removed from all other > crypto modules except 842. > > Cc: Robert Jennings > Cc: Seth Jennings > Signed-off-by: Jussi Kivilinna > > --- > > I don't hav

Re: [PATCH] powerpc/crypto: Remove virt_to_abs() usage in nx-842.c

2012-08-03 Thread Seth Jennings
lude that directly. > > Having done all that, clean up the ordering of the includes. > > Signed-off-by: Michael Ellerman > --- > drivers/crypto/nx/nx-842.c | 34 ++ > 1 file changed, 18 insertions(+), 16 deletions(-) Looks good here. Thanks f

Re: [PATCH 3/4] powerpc/crypto: add 842 hardware compression driver

2012-07-20 Thread Seth Jennings
On 07/20/2012 12:33 AM, Michael Ellerman wrote: > On Thu, 2012-07-19 at 09:42 -0500, Seth Jennings wrote: >> This patch adds the driver for interacting with the 842 >> compression accelerator on IBM Power7+ systems. > > ... > >> +struct nx842_slentry { >>

[PATCH 4/4] powerpc/crypto: add 842 crypto driver

2012-07-19 Thread Seth Jennings
future compression requests. For decompression requests, the 842 hardware driver contains a software implementation of the 842 decompressor to support the decompression of data that was compressed before the accelerator went offline. Signed-off-by: Robert Jennings Signed-off-by: Seth Jennings

[PATCH 1/4] powerpc/crypto: rework Kconfig

2012-07-19 Thread Seth Jennings
/Makefile|Kconfig. Signed-off-by: Seth Jennings --- drivers/crypto/Kconfig | 20 +++- drivers/crypto/nx/Kconfig | 17 + drivers/crypto/nx/Makefile |2 +- 3 files changed, 25 insertions(+), 14 deletions(-) create mode 100644 drivers/crypto/nx/Kconfig diff

[PATCH 3/4] powerpc/crypto: add 842 hardware compression driver

2012-07-19 Thread Seth Jennings
methods like lzo and deflate. The 842 hardware operates on 4K hardware pages and the driver breaks up input on 4K boundaries to submit it to the hardware accelerator. Signed-off-by: Robert Jennings Signed-off-by: Seth Jennings --- MAINTAINERS|6 + drivers/crypto/nx/Kconfig

[PATCH 2/4] powerpc/crypto: add compression support to arch vec

2012-07-19 Thread Seth Jennings
This patch enables compression engine support in the architecture vector. This causes the Power hypervisor to allow access to the nx comrpession accelerator. Signed-off-by: Seth Jennings --- arch/powerpc/kernel/prom_init.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 0/4] powerpc/crypto: IBM Power7+ in-Nest compression support

2012-07-19 Thread Seth Jennings
has limits on generic compression and is geared toward compressing units that are of PAGE_SIZE for in-kernel memory compression. Based on linux-next (20120717) Seth Jennings (4): powerpc: nx: rework Kconfig powerpc: nx: add compression support to arch vec powerpc: nx: add 842 hardware

[PATCH 2/2] drivers: crypto: fix typo in nx driver config option

2012-06-13 Thread Seth Jennings
Cc: Kent Yoder Signed-off-by: Seth Jennings --- drivers/crypto/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 1092a77..b9b11a6 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -298,7 +298,7

[PATCH 1/2] drivers: crypto: move nx build to driver/crypto Makefile

2012-06-13 Thread Seth Jennings
When the nx driver was pulled, the Makefile that actually builds it is arch/powerpc/Makefile. This is unnatural. This patch moves the line that builds the nx driver from arch/powerpc/Makefile to drivers/crypto/Makefile where it belongs. Cc: Kent Yoder Signed-off-by: Seth Jennings --- arch

[PATCH 2/3] crypto: Add inline per-cpu wrappers for compression

2011-12-07 Thread Seth Jennings
This patch adds wrapper functions for compression users that allocate and free per-cpu compression transforms Signed-off-by: Seth Jennings --- include/linux/crypto.h | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/include/linux/crypto.h b

[PATCH 3/3] xfrm: Modify xfrm_ipcomp code to use new per-cpu helpers

2011-12-07 Thread Seth Jennings
This patch exchanges the per-cpu transform allocation/free code in xfrm_ipcomp for a call to the new helper in the cryptographic API Signed-off-by: Seth Jennings --- net/xfrm/xfrm_ipcomp.c | 34 -- 1 files changed, 8 insertions(+), 26 deletions(-) diff --git a

[PATCH 1/3] crypto: Add per-cpu transform alloc() and free()

2011-12-07 Thread Seth Jennings
This patch add two functions for allocating a freeing dynamically allocated per-cpu transform structures. Signed-off-by: Seth Jennings --- crypto/api.c | 62 ++ 1 files changed, 62 insertions(+), 0 deletions(-) diff --git a/crypto/api.c

[PATCH 0/3] crypto: Add per-cpu transform helpers

2011-12-07 Thread Seth Jennings
functions in the cryptographic library and makes the necessary modifications to the xfrm_ipcomp code. After this change is (hopefully) merged, I will submit the zcache driver changes, which will be the second user of these helpers. Seth Jennings (3): crypto: Add per-cpu transform alloc() and free

[PATCH 0/3] crypto: Add per-cpu transform helpers

2011-12-06 Thread Seth Jennings
functions in the cryptographic library and makes the necessary modifications to the xfrm_ipcomp code. After this change is (hopefully) merged, I will submit the zcache driver changes, which will be the second user of these helpers. Seth Jennings (3): crypto: Add per-cpu transform alloc() and free

Per-cpu tfm allocation/free functions

2011-12-01 Thread Seth Jennings
linux-crypto, I am currently working on the zcache RAM compression driver (in the staging tree) and have a question. I am looking to use the crypto compression API instead of the hardcoded LZO calls that are in there right now, but I need to allocate a tfm per cpu per compression algorithm being