From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seth Jennings Subject: [PATCH 0/4] powerpc/crypto: IBM Power7+ in-Nest compression support Date: Thu, 19 Jul 2012 09:42:37 -0500 Message-ID: <1342708961-28587-1-git-send-email-sjenning@linux.vnet.ibm.com> Cc: Seth Jennings , Paul Mackerras , Herbert Xu , "David S. Miller" , Robert Jennings , Jeff Kirsher , Andrew Morton , Greg Kroah-Hartman , Kent Yoder , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-crypto@vger.kernel.org To: Benjamin Herrenschmidt Return-path: Received: from e32.co.us.ibm.com ([32.97.110.150]:41053 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752252Ab2GSOn3 (ORCPT ); Thu, 19 Jul 2012 10:43:29 -0400 Received: from /spool/local by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 19 Jul 2012 08:43:27 -0600 Sender: linux-crypto-owner@vger.kernel.org List-ID: This is a continuation of support for the Power7+ in-Nest hardware accelerator. https://lkml.org/lkml/2012/4/12/223 This patchset adds the hardware driver and the cryptographic driver for hardware accelerated compression, which uses a hardware-optimized algorithm named 842. The hardware driver 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 compression driver crypto: add 842 crypto driver MAINTAINERS | 6 + arch/powerpc/kernel/prom_init.c | 4 +- crypto/842.c | 183 +++++ crypto/Kconfig | 9 + crypto/Makefile | 1 + drivers/crypto/Kconfig | 20 +- drivers/crypto/nx/Kconfig | 26 + drivers/crypto/nx/Makefile | 5 +- drivers/crypto/nx/nx-842.c | 1615 +++++++++++++++++++++++++++++++++++++++ include/linux/nx842.h | 11 + 10 files changed, 1864 insertions(+), 16 deletions(-) create mode 100644 crypto/842.c create mode 100644 drivers/crypto/nx/Kconfig create mode 100644 drivers/crypto/nx/nx-842.c create mode 100644 include/linux/nx842.h -- 1.7.9.5