linux-next: boot failures with next-20120411

2012-04-10 Thread Stephen Rothwell
Hi all, Some (not all) of my PowerPC boot tests have failed like this after getting into user mode (this one was just after udev started, but others are after other processes getting going): Unable to handle kernel paging request for data at address 0xc003f9d550 Faulting instruction address:

Re: [PATCH v5 06/27] irq_domain/powerpc: eliminate irq_map; use irq_alloc_desc() instead

2012-04-10 Thread Benjamin Herrenschmidt
On Wed, 2012-04-11 at 11:33 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2012-04-11 at 11:13 +1000, Benjamin Herrenschmidt wrote: > > On Sat, 2012-04-07 at 14:27 +0200, Andreas Schwab wrote: > > > Benjamin Herrenschmidt writes: > > > > > > > It's arguable that this irq_set_irq_type(,NONE) shoul

[PATCH 3/3] powerpc: Reformat lppaca.h

2012-04-10 Thread Anton Blanchard
Reformat lppaca.h to match Linux coding standards. Signed-off-by: Anton Blanchard --- Index: linux-build/arch/powerpc/include/asm/lppaca.h === --- linux-build.orig/arch/powerpc/include/asm/lppaca.h 2012-04-11 12:07:53.0 +

[PATCH 2/3] powerpc: Remove iseries specific fields in lppaca

2012-04-10 Thread Anton Blanchard
Remove all the iseries specific fields in the lppaca. Signed-off-by: Anton Blanchard --- Index: linux-build/arch/powerpc/include/asm/lppaca.h === --- linux-build.orig/arch/powerpc/include/asm/lppaca.h 2012-04-11 12:05:54.

[PATCH 1/3] powerpc: Clean up lppaca->cede_latency_hint

2012-04-10 Thread Anton Blanchard
We have a union containing fields from the old iseries hypervisor that has been reused for the cede latency hint. Since we no longer support iseries, remove the union completely. Signed-off-by: Anton Blanchard --- Index: linux-build/arch/powerpc/include/asm/lppaca.h

Re: [PATCH v5 06/27] irq_domain/powerpc: eliminate irq_map; use irq_alloc_desc() instead

2012-04-10 Thread Benjamin Herrenschmidt
On Wed, 2012-04-11 at 11:13 +1000, Benjamin Herrenschmidt wrote: > On Sat, 2012-04-07 at 14:27 +0200, Andreas Schwab wrote: > > Benjamin Herrenschmidt writes: > > > > > It's arguable that this irq_set_irq_type(,NONE) shouln't be there but > > > still ... it's been around for ever and things worke

Re: [PATCH v5 06/27] irq_domain/powerpc: eliminate irq_map; use irq_alloc_desc() instead

2012-04-10 Thread Benjamin Herrenschmidt
On Sat, 2012-04-07 at 14:27 +0200, Andreas Schwab wrote: > Benjamin Herrenschmidt writes: > > > It's arguable that this irq_set_irq_type(,NONE) shouln't be there but > > still ... it's been around for ever and things worked :-) So something > > -else- is causing the problem and I'd like to unders

Re: [PATCH 03/12] powerpc: Rework runlatch code

2012-04-10 Thread Benjamin Herrenschmidt
On Thu, 2012-04-05 at 23:38 +0200, Andreas Schwab wrote: > Benjamin Herrenschmidt writes: > > > This moves the inlines into system.h and changes the runlatch > > code to use the thread local flags (non-atomic) rather than > > the TIF flags (atomic) to keep track of the latch state. > > > > The co

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

Re: 3.4.0-rc1: No init found

2012-04-10 Thread Christian Kujau
On Tue, 10 Apr 2012 at 17:23, Benjamin Herrenschmidt wrote: > can you test the patch below ? When applied to 3.4-rc2, Linux boots again, yay! :-) Tested-by: Christian Kujau Thanks! Christian. > From 08f1ec8a594c60bf3856e3c45b6d15fd691d90bb Mon Sep 17 00:00:00 2001 > From: Benjamin Herrensch

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

Re: [PATCH 1/1] Add support 2 SATA ports for Maui and change filename from sata_dwc_460ex.c to sata_dwc_4xx.c

2012-04-10 Thread Sergei Shtylyov
Hello. On 10-04-2012 7:46, Thang Nguyen wrote: Hi Sergei, Thanks for your review. On Maui, there are 2 separate SATA controllers but they share the same AHBDMA controller. Each SATA controller is assigned a fixed DMA channel on the AHBDMA (channel 0 is assigned to SATA controller 0 and chann

RE: [RFC] powerpc/fsl-pci: Document the "fsl,has-isa" property for Freescale PCI

2012-04-10 Thread Jia Hongtao-B38951
> -Original Message- > From: linuxppc-dev-bounces+b38951=freescale@lists.ozlabs.org > [mailto:linuxppc-dev-bounces+b38951=freescale@lists.ozlabs.org] On > Behalf Of Jia Hongtao-B38951 > Sent: Friday, April 06, 2012 11:05 AM > To: Kumar Gala > Cc: devicetree-disc...@lists.ozlabs.org

Re: 3.4.0-rc1: No init found

2012-04-10 Thread Benjamin Herrenschmidt
On Wed, 2012-04-04 at 09:45 -0700, Christian Kujau wrote: > On Wed, 4 Apr 2012 at 18:06, Suzuki K. Poulose wrote: > > > INFO: Uncompressed kernel (size 0x6d4b80) overlaps the address of the > > > wrapper(0x40) > > > INFO: Fixing the link_address of wrapper to (0x70) > > >Building module