Re: [PATCH 2/5] ppc: move DEBUG code to --debug

2012-03-15 Thread Simon Horman
[CC linuxppc-...@ozlabs.org] On Thu, Mar 08, 2012 at 02:39:39PM +0800, Cong Wang wrote: > Like patch 1/5, this one moves code under #if DEBUG to --debug > on ppc arch. > > Signed-off-by: Cong Wang > --- > kexec/arch/ppc/crashdump-powerpc.c | 18 -- > kexec/arch/ppc/fixup_dtb.c

[PATCH 1/2] powerpc/44x: Add additional support for APM821xx SoC and Bluestone board

2012-03-15 Thread Vinh Nguyen Huu Tuong
This patch updates the dts file for bluestone board with support: - UART1 - L2 cache - NAND with NDFC - PCI-E Signed-off-by: Vinh Nguyen Huu Tuong --- arch/powerpc/boot/dts/bluestone.dts | 127 ++- 1 files changed, 125 insertions(+), 2 deletions(-) diff --git a/

[PATCH 2/2] powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board

2012-03-15 Thread Vinh Nguyen Huu Tuong
This patch extends PCI-E driver to support PCI-E for APM821xx SoC on Bluestone board. Notes: this patch includes the fix base on Duc comment. Signed-off-by: Vinh Nguyen Huu Tuong --- arch/powerpc/platforms/44x/Kconfig |1 + arch/powerpc/sysdev/ppc4xx_pci.c | 70 ++

Re: [PATCH 0/2] Kdump support for PPC_47x

2012-03-15 Thread Suzuki K. Poulose
On 03/15/2012 11:41 AM, Tony Breeds wrote: On Wed, Mar 14, 2012 at 03:52:30PM +0530, Suzuki K. Poulose wrote: The following series implements Kexec/Kdump support for PPC_47x based platforms. Doesn't support SMP yet. I have tested these patches on simics simulator for ppc476. I'll test these p

Re: [PATCH v3] ipc: provide generic compat versions of IPC syscalls

2012-03-15 Thread Arnd Bergmann
On Thursday 15 March 2012, Chris Metcalf wrote: > > Somewhat belatedly, I'm looking to push this through the "tile" tree. > Andrew Morton has been keeping it in his tree but I figure I should push it > since it directly affects "tile" and currently no one else. Sounds good. > However, it would

[PATCH 1/2] powerpc/p2020rdb: move the NAND address.

2012-03-15 Thread Sebastian Andrzej Siewior
It is not at 0xffa0. According to current u-boot source the NAND controller is always at 0xff80 and it is either at CS0 or CS1 depending on NAND or NAND+NOR mode. In 36bit mode it is shifted to 0xfff80 but it has always an eight there and never an A. Signed-off-by: Sebastian Andrzej Si

[PATCH 2/2] powerpc/p2020rdb p1010rdb: lower spi flash freq to 40Mhz

2012-03-15 Thread Sebastian Andrzej Siewior
This is here most likely since the FSL bsp. Back in the FSL bsp it was set to 50Mhz and working. However the driver divided the SoC freq. only by 2. According to the TRM the platform clock (which the manual refers in its formula) is the system clock divided by two. So in the end it has to divide by

Re: [PATCH 21/38] Disintegrate asm/system.h for PowerPC [ver #3]

2012-03-15 Thread Stephen Rothwell
Hi Dave, On Thu, 15 Mar 2012 20:58:32 + David Howells wrote: > > arch/powerpc/platforms/iseries/dt.c |1 > arch/powerpc/platforms/iseries/lpevents.c |1 > arch/powerpc/platforms/iseries/setup.c|1 > arch/powerpc/platforms/iseries/smp.c

[PATCH] powerpc: Fix power4/970 idle code regression with lockdep

2012-03-15 Thread Benjamin Herrenschmidt
in commit 7230c5644188cd9e3fb380cc97dde00c464a3ba7 "powerpc: Rework lazy-interrupt handling" I introduced a regression, accidentally calling irq tracing twice and not properly restoring a clobbered register (r7) later used for writing to the MSR. This caused lockups when booting on a G5 with lock

[PATCH] powerpc/epapr: add "memory" as a clobber to all hypercalls

2012-03-15 Thread Timur Tabi
The "memory" clobber tells the compiler to ensure that all writes to memory are committed before the hypercall is made. "memory" is only necessary for hcalls where the Hypervisor will read or write guest memory. However, we add it to all hcalls because the impact is minimal, and we want to ensure

[PATCH] Device Tree Bindings for Freescale TDM controller

2012-03-15 Thread Poonam Aggrwal
From: Poonam Aggrwal This TDM controller is available in various Freescale SOCs like MPC8315, P1020, P1022, P1010. Signed-off-by: Sandeep Singh Signed-off-by: Poonam Aggrwal --- Documentation/devicetree/bindings/tdm/fsl-tdm.txt | 71 + 1 files changed, 71 insertions(+),

linux-next: manual merge of the trivial tree with the powerpc tree

2012-03-15 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in drivers/char/viotape.c between commit ba7a4822b48f ("powerpc: Remove some of the legacy iSeries specific device drivers") from the powerpc tree and commit a7ccf3775219 ("char: Fix typo in viotape.c") from the trivial tree. Th

[PATCH 0/5] powerpc: clean up almos all the rest of the iSeries platform code

2012-03-15 Thread Stephen Rothwell
Hi all, This series removes almost all the remaining code that is part of the legacy iSeries platform. arch/powerpc/boot/Makefile |9 +-- arch/powerpc/include/asm/abs_addr.h | 21 + arch/powerpc/include/asm/dma.h |4 - arch/powerpc/

[PATCH 1/5] tty/hvc_vio: FW_FEATURE_ISERIES is no longer selectable

2012-03-15 Thread Stephen Rothwell
so remove the code that tests for it. Cc: Greg Kroah-Hartman Signed-off-by: Stephen Rothwell --- drivers/tty/hvc/hvc_vio.c |4 1 files changed, 0 insertions(+), 4 deletions(-) Greg, it is probably easiest for this to go through the powerpc tree. diff --git a/drivers/tty/hvc/hvc_vio.c

[PATCH 2/5] powerpc: remove FW_FEATURE ISERIES from arch code

2012-03-15 Thread Stephen Rothwell
This is no longer selectable, so just remove all the dependent code. Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/abs_addr.h | 21 +-- arch/powerpc/include/asm/firmware.h |9 --- arch/powerpc/include/asm/time.h | 15 - arch/powerpc/kernel/irq.c

[PATCH 3/5] init: remove CONFIG_PPC_ISERIES

2012-03-15 Thread Stephen Rothwell
It is no longer selectable, so remove the check for it. Signed-off-by: Stephen Rothwell --- init/do_mounts_rd.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index 887629e..01f1306 100644 --- a/init/do_mounts_rd.c +++ b/init

[PATCH 4/5] powerpc: remove the remaining CONFIG_PPC_ISERIES pieces

2012-03-15 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell --- arch/powerpc/boot/Makefile |9 + arch/powerpc/include/asm/dma.h |4 arch/powerpc/include/asm/lppaca.h |8 arch/powerpc/include/asm/spinlock.h |5 ++--- arch/powerpc/kernel/asm-offsets.c | 14 ---

[PATCH 5/5] powerpc: remove the rest of the legacy iSeries include files

2012-03-15 Thread Stephen Rothwell
since they are not referenced any more. Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/iseries/alpaca.h | 31 -- arch/powerpc/include/asm/iseries/hv_call.h | 111 arch/powerpc/include/asm/iseries/hv_call_sc.h | 50 - arch/powerpc/i

linux-next: manual merge of the char-misc tree with the powerpc tree

2012-03-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in drivers/char/viotape.c between commit ba7a4822b48f ("powerpc: Remove some of the legacy iSeries specific device drivers") from the powerpc tree and commit 5fb15db4376f ("char: Fix typo in viotape.c") from the char-misc tree.