Re: [PATCH v2 14/17] powerpc: crypto: nx driver code supporting nx encryption

2012-04-10 Thread Kent Yoder
Hi Dave, On Tue, 2012-04-10 at 14:41 -0400, David Miller wrote: > From: Kent Yoder > Date: Tue, 10 Apr 2012 10:10:57 -0500 > > > These routines add the base device driver code supporting the Power7+ > > in-Nest encryption accelerator (nx) device. > > > > Signed-off-by: Kent Yoder > > This pat

Re: [PATCH v2 14/17] powerpc: crypto: nx driver code supporting nx encryption

2012-04-10 Thread David Miller
From: Kent Yoder Date: Tue, 10 Apr 2012 10:10:57 -0500 > These routines add the base device driver code supporting the Power7+ > in-Nest encryption accelerator (nx) device. > > Signed-off-by: Kent Yoder This patch should be earlier in the series, so it can appear before the drivers which use t

[PATCH v2 17/17] powerpc: crypto: enable the PFO-based encryption device

2012-04-10 Thread Kent Yoder
This patch adds the cas bits to advertise support for the Platform Facilities Option (PFO) based encryption accelerator device. The nx device driver provides support for this hardware feature. Signed-off-by: Kent Yoder --- arch/powerpc/kernel/prom_init.c |3 ++- 1 files changed, 2 insertions

[PATCH v2 02/17] powerpc: Add pseries update notifier for OFDT prop changes

2012-04-10 Thread Kent Yoder
This adds an update notifier mechanism for changes to properties in the device tree. One use of this would be a device driver that needs to act on changes to it's properties in the device tree after a live migration or a dynamic activation that is triggered by updates to ofdt properties. Signed-o

[PATCH v2 01/17] powerpc: Add new hvcall constants to support PFO

2012-04-10 Thread Kent Yoder
The Platform Facilities Option (PFO) adds several new h_calls and more return codes. Signed-off-by: Robert Jennings Signed-off-by: Kent Yoder --- arch/powerpc/include/asm/hvcall.h | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/incl

[PATCH v2 14/17] powerpc: crypto: nx driver code supporting nx encryption

2012-04-10 Thread Kent Yoder
These routines add the base device driver code supporting the Power7+ in-Nest encryption accelerator (nx) device. Signed-off-by: Kent Yoder --- drivers/crypto/nx/nx.c| 711 + drivers/crypto/nx/nx.h| 192 +++ drivers/crypto/nx/nx_c

[PATCH v2 10/17] powerpc: crypto: AES-GCM mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in GCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder --- drivers/crypto/nx/nx-aes-gcm.c | 353 1 files changed, 353 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[PATCH v2 09/17] powerpc: crypto: AES-ECB mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in ECB mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder --- drivers/crypto/nx/nx-aes-ecb.c | 138 1 files changed, 138 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[PATCH v2 16/17] powerpc: crypto: Build files for the nx device driver

2012-04-10 Thread Kent Yoder
These files support configuring and building the nx device driver. Signed-off-by: Kent Yoder --- arch/powerpc/Makefile |1 + drivers/crypto/Kconfig | 17 + drivers/crypto/nx/Makefile | 11 +++ 3 files changed, 29 insertions(+), 0 deletions(-) create mode

[PATCH v2 06/17] powerpc: crypto: AES-CBC mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in CBC mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder --- drivers/crypto/nx/nx-aes-cbc.c | 140 1 files changed, 140 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[PATCH v2 15/17] powerpc: crypto: debugfs routines and docs for the nx device driver

2012-04-10 Thread Kent Yoder
These routines add debugfs files supporting the Power7+ in-Nest encryption accelerator driver. Signed-off-by: Kent Yoder --- Documentation/ABI/testing/debugfs-pfo-nx-crypto | 45 ++ drivers/crypto/nx/nx_debugfs.c | 103 +++ 2 files changed, 148 ins

[PATCH v2 13/17] powerpc: crypto: SHA512 hash routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for SHA-512 hashing on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder --- drivers/crypto/nx/nx-sha512.c | 263 + 1 files changed, 263 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[PATCH v2 11/17] powerpc: crypto: AES-XCBC mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in XCBC mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder --- drivers/crypto/nx/nx-aes-xcbc.c | 234 +++ 1 files changed, 234 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/

[PATCH v2 08/17] powerpc: crypto: AES-CTR mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in CTR mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder --- drivers/crypto/nx/nx-aes-ctr.c | 177 1 files changed, 177 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[PATCH v2 12/17] powerpc: crypto: SHA256 hash routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for SHA-256 hashing on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder --- drivers/crypto/nx/nx-sha256.c | 244 + 1 files changed, 244 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[PATCH v2 03/17] powerpc: Add PFO support to the VIO bus

2012-04-10 Thread Kent Yoder
Add support for the Platform Facilities Option (PFO) to the VIO bus. These devices have a separate root node in OpenFirmware which requires additional parsing to map into the existing VIO device structure fields. This adds the interface for PFO device drivers to make synchronous hypervisor calls.

[PATCH v2 04/17] hwrng: pseries - PFO-based hwrng driver

2012-04-10 Thread Kent Yoder
Adds support for the Platform Facilities Option (PFO)-based hardware random number generator for POWER hardware. Signed-off-by: Michael Neuling Signed-off-by: Robert Jennings Signed-off-by: Kent Yoder --- drivers/char/hw_random/Kconfig | 13 + drivers/char/hw_random/Makefile |

[PATCH v2 07/17] powerpc: crypto: AES-CCM mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in CCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder --- drivers/crypto/nx/nx-aes-ccm.c | 465 1 files changed, 465 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[PATCH v2 05/17] pseries: Enabled the PFO-based RNG accelerator

2012-04-10 Thread Kent Yoder
This patch adds the cas bits to advertise support for the Platform Facilities Option (PFO) based random number generator accerator. The pseries-rng driver provides support for this hardware feature. Signed-off-by: Robert Jennings Signed-off-by: Kent Yoder --- arch/powerpc/kernel/prom_init.c |

[PATCH v2 00/17] Platform Facilities Option and crypto accelerators

2012-04-10 Thread Kent Yoder
ChangeLog for v2: - move crypto driver sysfs stuff to debugfs (Greg K-H) - Remove CONFIG_ dependencies for the CMO bits (Anton Blanchard) - move nx driver code to drivers/crypto (Kumar Gala) - Add inline comment for nx_build_sg_list (Rob Jennings) - make sure kmalloc'd pointers are aligned (Rob Jen

[PATCH 0/3 v5] crypto: ux500 crypto and hash driver

2012-04-10 Thread Andreas Westin
Removed incorrect comments. This adds a driver for the ST-Ericsson ux500 crypto hardware module. It supports AES, DES and 3DES, the driver implements support for AES-ECB,CBC and CTR. Patches are also available at: http://www.df.lth.se/~triad/ux500-crypto/ Andreas Westin (3): crypto: ux500: Add

[PATCH 3/3 v5] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-04-10 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

Re: [PATCH 2/3 v4] crypto: ux500: Add driver for HASH hardware

2012-04-10 Thread Andreas WESTIN
On 2012-04-09 09:09, Herbert Xu wrote: On Fri, Mar 30, 2012 at 11:02:47AM +0200, Andreas Westin wrote: +/** + * hash_hw_update - Updates current HASH computation hashing another part of + * the message. + * @req: Byte array containing the message to be hashed (caller + *