[GIT PULL] irq_domain bug fixes against v3.4-rc2

2012-04-12 Thread Grant Likely
Hi Linus, Here are the irq_domain bug fixes that need to be merged into v3.4. This branch fixes PowerPC and MIPS boot failures. Please pull. g. The following changes since commit 0034102808e0dbbf3a2394b82b1bb40b5778de9e: Linux 3.4-rc2 (2012-04-07 18:30:41 -0700) are available in the git

[RFC] powerpc: set_dma_ops for pci hotplug

2012-04-12 Thread Hiroo Matsumoto
Hi I'm trying to use PCI Express Hot Plug on powerpc platform. But PCI driver returns error when hotplug. Error log is as below. http://www.spinics.net/lists/linux-pci/msg14534.html Some of PCI driver needs dma_ops. On x86 platform, dma_ops is getting from external variable. On powerpc

mpc5200b: invalid IRQ

2012-04-12 Thread Cyril Strejc
Hi, I've just tried to boot 2.6.32, 3.0 and mainline kernel on my mpc5200b based board, on 3.0 and mainline resulting in mpc52xx_irqhost_map: invalid irq: virq=16, l1=0, l2=3 The device tree is based on mpc5200b.dtsi, hence the invalid irq comes from gpio_wkup: gpio@c00 { ...

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

2012-04-12 Thread Kent Yoder
The Platform Facilities Option (PFO) adds several new h_calls and more return codes. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/include/asm/hvcall.h | 25 +++-- 1 files changed, 23 insertions(+),

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

2012-04-12 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 v3 02/17] powerpc: Add pseries update notifier for OFDT prop changes

2012-04-12 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.

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

2012-04-12 Thread Kent Yoder
Adds support for the Platform Facilities Option (PFO)-based hardware random number generator for POWER hardware. Signed-off-by: Michael Neuling mi...@neuling.org Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com ---

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

2012-04-12 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 r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder

[PATCH v3 06/17] powerpc: crypto: nx driver code supporting nx encryption

2012-04-12 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 k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx.c| 711 + drivers/crypto/nx/nx.h| 192 +++

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

2012-04-12 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 k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ctr.c | 177 1 files changed, 177 insertions(+), 0 deletions(-) create mode

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

2012-04-12 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 k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ecb.c | 138 1 files changed, 138 insertions(+), 0 deletions(-) create mode

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

2012-04-12 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 k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-cbc.c | 140 1 files changed, 140 insertions(+), 0 deletions(-) create mode

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

2012-04-12 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 k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-gcm.c | 353 1 files changed, 353 insertions(+), 0 deletions(-) create mode

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

2012-04-12 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 k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-xcbc.c | 234 +++ 1 files changed, 234 insertions(+), 0 deletions(-) create mode

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

2012-04-12 Thread Kent Yoder
These files support configuring and building the nx device driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/Makefile |1 + drivers/crypto/Kconfig | 17 + drivers/crypto/nx/Makefile | 11 +++ 3 files changed, 29 insertions(+), 0

[PATCH v3 13/17] powerpc: crypto: SHA256 hash routines for nx encryption

2012-04-12 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 k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-sha256.c | 244 + 1 files changed, 244 insertions(+), 0 deletions(-) create mode

[PATCH v3 14/17] powerpc: crypto: SHA512 hash routines for nx encryption

2012-04-12 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 k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-sha512.c | 263 + 1 files changed, 263 insertions(+), 0 deletions(-) create mode

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

2012-04-12 Thread Kent Yoder
These routines add debugfs files supporting the Power7+ in-Nest encryption accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- Documentation/ABI/testing/debugfs-pfo-nx-crypto | 45 ++ drivers/crypto/nx/nx_debugfs.c | 103 +++

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

2012-04-12 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 k...@linux.vnet.ibm.com --- arch/powerpc/kernel/prom_init.c |3 ++- 1

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

2012-04-12 Thread Kent Yoder
This patch series adds support for a new device type, the Platform Facilities Option (PFO). PFO resources are a set of accelerators that share some system resources managed by the VIO bus. This patchset includes the basic support for the devices in the VIO bus code along with drivers for the

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

2012-04-12 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 k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ccm.c | 465 1 files changed, 465 insertions(+), 0 deletions(-) create mode

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-12 Thread Jeff Garzik
On 04/03/2012 07:56 AM, Sergei Shtylyov wrote: Hello. On 03-04-2012 14:12, Thang Q. Nguyen wrote: Signed-off-by: Thang Q. Nguyentqngu...@apm.com --- Changes for v2: - Use git rename feature to change the driver to the newname and for easier review. arch/powerpc/boot/dts/bluestone.dts | 21

Re: [PATCH v5 00/21] EEH reorganization

2012-04-12 Thread Anton Blanchard
Hi Gavin, This series of patches is going to reorganize EEH so that it could support multiple platforms in future. The requirements were raised from the aspects. I just hit this on mainline from today (3.4.0-rc2-00065-gf549e08). Haven't had a chance to narrow it down yet. Oops: Kernel

Re: [RFC] powerpc: set_dma_ops for pci hotplug

2012-04-12 Thread Hiroo Matsumoto
Hi I'm so sorry, but there is a better way than this way with pcibios_enable_device() for issue. I will write another code soon, so please wait. Regards. Hiroo MATSUMOTO Hi I'm trying to use PCI Express Hot Plug on powerpc platform. But PCI driver returns error when hotplug. Error

Re: [PATCH v5 00/21] EEH reorganization

2012-04-12 Thread Anton Blanchard
Hi, I just hit this on mainline from today (3.4.0-rc2-00065-gf549e08). Haven't had a chance to narrow it down yet. Looking closer, it was caused by an EEH error at boot. It looks like the Mellanox infiniband card gets an error when probed by their firmware tool (mstmread), but only if the

Re: linux-next: boot failures with next-20120411

2012-04-12 Thread Michael Neuling
/~sfr/next-20120411.log.bz2 I managed to bisect this down using pseries_defconfig with next-20120412 to this patch: commit 85bbc003b24335e253a392f6a9874103b77abb36 Author: Jiri Slaby jsl...@suse.cz Date: Mon Apr 2 13:54:22 2012 +0200 TTY: HVC, use tty from tty_port The driver

Re: linux-next: boot failures with next-20120411

2012-04-12 Thread Stephen Rothwell
Hi all, On Fri, 13 Apr 2012 12:30:11 +1000 Michael Neuling mi...@neuling.org wrote: I managed to bisect this down using pseries_defconfig with next-20120412 to this patch: commit 85bbc003b24335e253a392f6a9874103b77abb36 Author: Jiri Slaby jsl...@suse.cz Date: Mon Apr 2 13:54:22

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-12 Thread Thang Q. Nguyen
Hi, Two SATA device nodes in bluestone.dts uses the same structure as SATA node in the canyonlands.dts. All boards having SATA DWC currently use this structure. So, changing it will need to change all corresponding device tree. The current sata_dwc_460ex.c agrees with this structure. I want to