]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/crypto: add 842 hardware compression driver
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Thu, 19 Jul 2012 14:42:40 +0000 (09:42 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 1 Aug 2012 09:47:56 +0000 (17:47 +0800)
commitc171682901581842bcab97d98f6634c3c64c6e1c
tree743ce60ba95bf9a5ee3cff7f664dd99a7498473e
parent0b2df5b1169ad3171d5bbb165a1cf1a5a4439baf
powerpc/crypto: add 842 hardware compression driver

This patch adds the driver for interacting with the 842
compression accelerator on IBM Power7+ systems.

The device is a child of the Platform Facilities Option (PFO)
and shows up as a child of the IBM VIO bus.

The compression/decompression API takes the same arguments
as existing compression 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 <rcj@linux.vnet.ibm.com>
Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
MAINTAINERS
drivers/crypto/nx/Kconfig
drivers/crypto/nx/Makefile
drivers/crypto/nx/nx-842.c [new file with mode: 0644]
include/linux/nx842.h [new file with mode: 0644]