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)
commit0e16aafb12046e12effbdaab179fbe1a38427ba9
tree743ce60ba95bf9a5ee3cff7f664dd99a7498473e
parentda29aa8f2ab178903a1ac23ce19442f92be4f09c
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]