[PATCH] cell: fix section mismatch warnings

2008-05-14 Thread Kou Ishizaki
Fix following warnings: WARNING: arch/powerpc/platforms/cell/built-in.o(.devinit.text+0x9c): Section mismatch in reference from the function .cell_setup_phb() to the function .init.text:.iowa_register_bus() WARNING: arch/powerpc/platforms/cell/built-in.o(.devinit.text+0xa4): Section mismatch in

RE: [PATCH] Defer processing of interrupts when the CPU wakes from sleepmode

2008-05-14 Thread Liu Dave
snip This provides a way to defer processing of an interrupt that wakes the processor out of sleep mode. On 32-bit platforms that use an interrupt to wake the processor, we have to have interrupts enabled in hardware at the point where we go to sleep, otherwise the processor will never wake

Re: [PATCH 3/6] [WATCHDOG] mpc83xx_wdt: rename to mpc8xxx_wdt

2008-05-14 Thread Anton Vorontsov
On Wed, May 14, 2008 at 11:48:05AM +1000, Stephen Rothwell wrote: Hi Anton, On Wed, 14 May 2008 11:45:23 +1000 Stephen Rothwell [EMAIL PROTECTED] wrote: Doing this status with git diff -M --stat would show us if the file was just renamed or if there were some changes as well ... Not

ALSA fixes for non-coherent archs (Re: [PATCH] Sam440ep support)

2008-05-14 Thread Takashi Iwai
At Tue, 06 May 2008 11:16:22 +0200, Gerhard Pircher wrote: Original-Nachricht Datum: Tue, 06 May 2008 18:48:39 +1000 Von: Benjamin Herrenschmidt [EMAIL PROTECTED] An: Gerhard Pircher [EMAIL PROTECTED] CC: linuxppc-dev@ozlabs.org, Takashi Iwai [EMAIL PROTECTED], [EMAIL

Badness seen on 2.6.26-rc2 with lockdep enabled

2008-05-14 Thread Balbir Singh
I see the following error on my power box at boot up. RTAS: event: 14, Type: Platform Error, Severity: 2 [ cut here ] Badness at kernel/lockdep.c:2680 NIP: c00ae538 LR: c00ae51c CTR: REGS: c000e7b139a0 TRAP: 0700 Not tainted

Re: ALSA fixes for non-coherent archs (Re: [PATCH] Sam440ep support)

2008-05-14 Thread Gerhard Pircher
Original-Nachricht Datum: Wed, 14 May 2008 14:26:53 +0200 Von: Takashi Iwai [EMAIL PROTECTED] An: Gerhard Pircher [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], linuxppc-dev@ozlabs.org, [EMAIL PROTECTED] Betreff: ALSA fixes for non-coherent

[PATCH 1/1] ehea: Fix use after free on reboot

2008-05-14 Thread Brian King
Fixes the following use after free oops: ehea: Reboot: freeing all eHEA resources Unable to handle kernel paging request for data at address 0x6b6b6b6b6b6b6c5b Faulting instruction address: 0xd0354488 cpu 0x0: Vector: 300 (Data Access) at [c0002ec6f310] pc: d0354488:

Re: [PATCH 3/6] [WATCHDOG] mpc83xx_wdt: rename to mpc8xxx_wdt

2008-05-14 Thread Kumar Gala
On May 13, 2008, at 10:53 PM, Chen Gong wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Rothwell Sent: 2008?5?14? 9:45 To: Anton Vorontsov Cc: Wood Scott; linuxppc-dev@ozlabs.org; Wim Van Sebroeck; Tabi Timur Subject: Re: [PATCH 3/6]

[BUG] 2.6.26-rc2-mm1 - kernel panic at inet_create() on powerpc

2008-05-14 Thread Kamalesh Babulal
Hi Andrew, 2.6.26-rc2-mm1 kernel panics on powerpc, while running ltp test over it. I have attached the gdb output of the pc and lr registers. The patch list_for_each_rcu-must-die-networking.patch points to changes made to the same lines listed by the gdb output. Unable to handle kernel paging

Re: [PATCH] Xilinx: framebuffer: add compatibility for ml507 dvi core.

2008-05-14 Thread Grant Likely
On Mon, May 12, 2008 at 1:59 PM, Stephen Neuendorffer [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Likely Sent: Monday, May 12, 2008 12:46 PM To: Stephen Neuendorffer Cc: linuxppc-dev@ozlabs.org; git-dev Subject:

Re: [BUG] 2.6.26-rc2-mm1 - kernel panic at inet_create() on powerpc

2008-05-14 Thread Paul E. McKenney
On Wed, May 14, 2008 at 09:04:07PM +0530, Kamalesh Babulal wrote: Hi Andrew, 2.6.26-rc2-mm1 kernel panics on powerpc, while running ltp test over it. I have attached the gdb output of the pc and lr registers. The patch list_for_each_rcu-must-die-networking.patch points to changes made to

RE: [PATCH] Xilinx: framebuffer: add compatibility for ml507 dvi core.

2008-05-14 Thread Stephen Neuendorffer
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Likely Sent: Wednesday, May 14, 2008 8:35 AM To: Stephen Neuendorffer Cc: linuxppc-dev@ozlabs.org; git-dev Subject: Re: [PATCH] Xilinx: framebuffer: add compatibility for ml507 dvi core. On

Re: [BUG] 2.6.26-rc2-mm1 - kernel panic at inet_create() on powerpc

2008-05-14 Thread Alexey Dobriyan
On Wed, May 14, 2008 at 09:07:05AM -0700, Paul E. McKenney wrote: On Wed, May 14, 2008 at 09:04:07PM +0530, Kamalesh Babulal wrote: Hi Andrew, 2.6.26-rc2-mm1 kernel panics on powerpc, while running ltp test over it. I have attached the gdb output of the pc and lr registers. The patch

Re: [BUG] 2.6.26-rc2-mm1 - kernel panic at inet_create() on powerpc

2008-05-14 Thread Paul E. McKenney
On Thu, May 15, 2008 at 12:05:46AM +0400, Alexey Dobriyan wrote: On Wed, May 14, 2008 at 09:07:05AM -0700, Paul E. McKenney wrote: On Wed, May 14, 2008 at 09:04:07PM +0530, Kamalesh Babulal wrote: Hi Andrew, 2.6.26-rc2-mm1 kernel panics on powerpc, while running ltp test over it. I

[PATCH] POWERPC: Remove ioctl.h content picked up from asm-generic/ioctl.h.

2008-05-14 Thread Robert P. J. Day
Now that asm-generic/ioctl.h allows overriding of the most commonly changed macros, take advantage of that. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- i *think* this results in an equivalent ioctl.h file, but feel free to check it carefully, and tweak if necessary. diff --git

New-style I2C driver not getting probed because of_register_i2c_devices() is not setting info.driver_name

2008-05-14 Thread Timur Tabi
I'm converting sound/soc/codecs/cs4270.c into a new-style I2C driver, and this driver is not getting probed. I believe the problem is that i2c_device_match() is returning failure, because of this line: return strcmp(client-driver_name, drv-name) == 0; when this line is executed,

Re: ALSA fixes for non-coherent archs (Re: [PATCH] Sam440ep support)

2008-05-14 Thread Gerhard Pircher
Original-Nachricht Datum: Wed, 14 May 2008 14:26:53 +0200 Von: Takashi Iwai [EMAIL PROTECTED] An: Gerhard Pircher [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], linuxppc-dev@ozlabs.org, [EMAIL PROTECTED] Betreff: ALSA fixes for non-coherent

[PATCH] CS4270 node is misplaced in the MPC8610 device tree

2008-05-14 Thread Timur Tabi
The CS4270 is using the second I2C bus, not the first, on the Freescale MPC8610 HPCD, so its node in the device tree belongs under '[EMAIL PROTECTED]' and not '[EMAIL PROTECTED]'. Signed-off-by: Timur Tabi [EMAIL PROTECTED] --- Kumar, this is a must-fix for 2.6.26. The reason this didn't show

[patch 2/4] powerpc: add i2c pins to dts and board setup

2008-05-14 Thread akpm
From: Jochen Friedrich [EMAIL PROTECTED] Initialize I2C pins on boards with CPM1/CPM2 controllers. Signed-off-by: Jochen Friedrich [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8272ads.dts | 10 ++

[patch 1/4] powerpc: fix for OProfile callgraph for Power 64 bit user apps

2008-05-14 Thread akpm
From: Carl Love [EMAIL PROTECTED] Fix the 64 bit user code backtrace which currently may hang the system. Signed-off-by: Carl Love [EMAIL PROTECTED] Cc: Maynard Johnson [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- arch/powerpc/oprofile/backtrace.c | 33

[patch 4/4] spufs: convert nopfn to fault

2008-05-14 Thread akpm
From: Nick Piggin [EMAIL PROTECTED] spufs: convert nopfn to fault Signed-off-by: Nick Piggin [EMAIL PROTECTED] Acked-by: Jeremy Kerr [EMAIL PROTECTED] Cc: Paul Mackerras [EMAIL PROTECTED] Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] ---

[patch 3/4] macintosh: replace deprecated __initcall with device_initcall

2008-05-14 Thread akpm
From: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Acked-by: Benjamin Herrenschmidt [EMAIL PROTECTED] Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/macintosh/adb.c |2 +- 1 file changed, 1

[patch 1/1] fsldma: the MPC8377MDS board device tree node for fsldma driver

2008-05-14 Thread akpm
From: Zhang Wei [EMAIL PROTECTED] The fsldma driver is tested on MPC8377MDS board. The patch adds fsldma driver support into MPC8377MDS device tree. Signed-off-by: Zhang Wei [EMAIL PROTECTED] Cc: Nelson, Shannon [EMAIL PROTECTED] Cc: Dan Williams [EMAIL PROTECTED] Cc: Kumar Gala [EMAIL

Re: [patch 2/4] powerpc: add i2c pins to dts and board setup

2008-05-14 Thread Scott Wood
[EMAIL PROTECTED] wrote: From: Jochen Friedrich [EMAIL PROTECTED] Initialize I2C pins on boards with CPM1/CPM2 controllers. Signed-off-by: Jochen Friedrich [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8272ads.dts | 10 ++

Re: [patch 1/1] fsldma: the MPC8377MDS board device tree node for fsldma driver

2008-05-14 Thread Scott Wood
[EMAIL PROTECTED] wrote: From: Zhang Wei [EMAIL PROTECTED] The fsldma driver is tested on MPC8377MDS board. The patch adds fsldma driver support into MPC8377MDS device tree. Signed-off-by: Zhang Wei [EMAIL PROTECTED] Cc: Nelson, Shannon [EMAIL PROTECTED] Cc: Dan Williams [EMAIL PROTECTED] Cc:

Patches added to powerpc.git powerpc-next branch

2008-05-14 Thread Paul Mackerras
I have added the following patches to the powerpc-next and master branches of the powerpc.git repository. This includes commits pulled from Kumar's tree. Paul. Andy Fleming (2): [POWERPC] 85xx: Add 8568 PHY workarounds to board code [POWERPC] 85xx: Fix some sparse warnings for 85xx

Re: [patch 1/1] fsldma: the MPC8377MDS board device tree node for fsldma driver

2008-05-14 Thread Dan Williams
[adding Li Yang (new fsldma maintainer) to the cc] On Wed, 2008-05-14 at 16:28 -0700, Scott Wood wrote: [EMAIL PROTECTED] wrote: From: Zhang Wei [EMAIL PROTECTED] The fsldma driver is tested on MPC8377MDS board. The patch adds fsldma driver support into MPC8377MDS device tree.

[PATCH] list_for_each_rcu must die: networking

2008-05-14 Thread Paul E. McKenney
All uses of list_for_each_rcu() can be profitably replaced by the easier-to-use list_for_each_entry_rcu(). This patch makes this change for networking, in preparation for removing the list_for_each_rcu() API entirely. Updated to remove the two now-unused variables as noted by Dave Miller, and

Re: [patch 1/4] powerpc: fix for OProfile callgraph for Power 64 bit user apps

2008-05-14 Thread Michael Ellerman
On Wed, 2008-05-14 at 16:12 -0700, [EMAIL PROTECTED] wrote: From: Carl Love [EMAIL PROTECTED] Fix the 64 bit user code backtrace which currently may hang the system. Signed-off-by: Carl Love [EMAIL PROTECTED] Cc: Maynard Johnson [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL

Re: [patch 4/4] spufs: convert nopfn to fault

2008-05-14 Thread Nick Piggin
Thanks for helping out with merging these Andrew. The problem with this is that these nopfn conversions won't work unless the BUG_ON is removed from mm/memory.c (patch 1/ that I sent you). So there is a little dependency chain here. I guess you could send that patch 1 upstream ASAP, and then let

Re: [patch 4/4] spufs: convert nopfn to fault

2008-05-14 Thread Andrew Morton
On Thu, 15 May 2008 02:53:05 +0200 Nick Piggin [EMAIL PROTECTED] wrote: Thanks for helping out with merging these Andrew. The problem with this is that these nopfn conversions won't work unless the BUG_ON is removed from mm/memory.c (patch 1/ that I sent you). oh. So there is a little

RE: [PATCH 3/6] [WATCHDOG] mpc83xx_wdt: rename to mpc8xxx_wdt

2008-05-14 Thread Chen Gong
-Original Message- From: Kumar Gala [mailto:[EMAIL PROTECTED] Sent: 2008?5?14? 23:03 To: Chen Gong Cc: Stephen Rothwell; Anton Vorontsov; Wood Scott; linuxppc-dev@ozlabs.org; Wim Van Sebroeck; Tabi Timur Subject: Re: [PATCH 3/6] [WATCHDOG] mpc83xx_wdt: rename to mpc8xxx_wdt

Re: [patch 1/4] powerpc: fix for OProfile callgraph for Power 64 bit user apps

2008-05-14 Thread Paul Mackerras
Michael Ellerman writes: __copy_from_user_inatomic() accepts any value for n, it just has a special case for 1, 2, 4 and 8 - but it should still work for other values. There is a bug in __copy_from_user_inatomic that http://patchwork.ozlabs.org/linuxppc/patch?id=18418 fixes, and I'm about

[PATCH 1/2] ftrace ppc: add irqs_disabled_flags to ppc

2008-05-14 Thread Steven Rostedt
PPC doesn't have the irqs_disabled_flags needed by ftrace. This patch adds it. Signed-off-by: Steven Rostedt [EMAIL PROTECTED] --- include/asm-powerpc/hw_irq.h | 10 ++ 1 file changed, 10 insertions(+) Index: linux-sched-devel.git/include/asm-powerpc/hw_irq.h

[PATCH 0/2] ftrace ported to PPC

2008-05-14 Thread Steven Rostedt
The following two patches ports ftrace to PowerPC. I tested this on both my PPC64 box as well as my 32bit PowerBook G4. This applies to the latest sched-devel (with some extra hacks to get that to boot on PPC). This also depends on the CFLAGS_REMOVE_foo.o patches I sent earlier. -- Steve

[PATCH 2/2] ftrace: support for PowerPC

2008-05-14 Thread Steven Rostedt
This patch adds full support for ftrace for PowerPC (both 64 and 32 bit). This includes dynamic tracing and function filtering. Signed-off-by: Steven Rostedt [EMAIL PROTECTED] --- arch/powerpc/Kconfig |5 arch/powerpc/kernel/Makefile | 14 ++

Re: [patch 3/4] macintosh: replace deprecated __initcall with device_initcall

2008-05-14 Thread Paul Mackerras
[EMAIL PROTECTED] writes: -__initcall(adb_init); +device_initcall(adb_init); There's no particular reason why this needs to go in 2.6.26, is there? It looks to me like something that I should queue up for 2.6.27. Paul. ___ Linuxppc-dev mailing list

Re: [PATCH 0/2] ftrace ported to PPC

2008-05-14 Thread Paul Mackerras
Steven Rostedt writes: The following two patches ports ftrace to PowerPC. I tested this on both my PPC64 box as well as my 32bit PowerBook G4. Very cool! Thanks. This applies to the latest sched-devel (with some extra hacks to get that to boot on PPC). This also depends on the

linux-next: powercp-next build failure

2008-05-14 Thread Stephen Rothwell
Hi Paul, Today's linux-next build (sparc64 defconfig) fails like this: drivers/of/device.c: In function `modalias_show': drivers/of/device.c:66: error: implicit declaration of function `of_device_get_modalias' Caused by commit 140b932f8cb6cced10b96860651a198b1b89cbb9 ([POWERPC] Create modalias

Re: [PATCH] list_for_each_rcu must die: networking

2008-05-14 Thread Kamalesh Babulal
Paul E. McKenney wrote: All uses of list_for_each_rcu() can be profitably replaced by the easier-to-use list_for_each_entry_rcu(). This patch makes this change for networking, in preparation for removing the list_for_each_rcu() API entirely. Updated to remove the two now-unused variables

Re: [PATCH 2/2] ftrace: support for PowerPC

2008-05-14 Thread David Miller
From: Steven Rostedt [EMAIL PROTECTED] Date: Wed, 14 May 2008 23:49:44 -0400 +#ifdef CONFIG_FTRACE +#ifdef CONFIG_DYNAMIC_FTRACE +_GLOBAL(mcount) +_GLOBAL(_mcount) + stwur1,-48(r1) + stw r3, 12(r1) + stw r4, 16(r1) + stw r5, 20(r1) + stw r6, 24(r1)

Re: ALSA fixes for non-coherent archs (Re: [PATCH] Sam440ep support)

2008-05-14 Thread Takashi Iwai
At Wed, 14 May 2008 23:01:10 +0200, Gerhard Pircher wrote: Original-Nachricht Datum: Wed, 14 May 2008 14:26:53 +0200 Von: Takashi Iwai [EMAIL PROTECTED] An: Gerhard Pircher [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],