Re: Power machines fail to boot after build being successful

2010-08-29 Thread Michael Neuling
In message <4c7b4c1f.7010...@linux.vnet.ibm.com> you wrote: > On Friday 27 August 2010 07:31 AM, Stephen Rothwell wrote: > > Hi Mikey, > > > > On Fri, 27 Aug 2010 11:15:46 +1000 Michael Neuling wrot e: > > > >> > >>> After successfully building the kernel version > >>> 2.6.36-rc2-git4(co

Re: Power machines fail to boot after build being successful

2010-08-29 Thread divya
On Friday 27 August 2010 07:31 AM, Stephen Rothwell wrote: Hi Mikey, On Fri, 27 Aug 2010 11:15:46 +1000 Michael Neuling wrote: After successfully building the kernel version 2.6.36-rc2-git4(commitid d4348c678977c) with the config file attached(used make oldconfig), P5 and P6 power ma

MPC85xx - accessing external interrupt

2010-08-29 Thread deebul nair
Hi all I am trying to use the external interrupts on the Powerpc architecture MPC8542 . My problem is that my driver is trying to request the external interrupt IRQ1, and I dont know what number use in INTR_NUM: request_irq(INTR_NUM, , , , ) As per the MPC85xx documentation Documentation/power

Re: [PATCH] powerpc: Check end of stack canary at oops time

2010-08-29 Thread Benjamin Herrenschmidt
On Wed, 2010-08-25 at 09:15 +1000, Anton Blanchard wrote: > /* Are we prepared to handle this fault? */ > if ((entry = search_exception_tables(regs->nip)) != NULL) { > @@ -413,5 +415,9 @@ void bad_page_fault(struct pt_regs *regs > printk(KERN_ALERT "Faulting instruction address:

[PATCH] arch/powerpc/platforms/83xx/mpc837x_mds.c: Add missing iounmap

2010-08-29 Thread Julia Lawall
The function of_iomap returns the result of calling ioremap, so iounmap should be called on the result in the error handling code, as done in the normal exit of the function. The sematic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression x;

Re: [PATCH 3/7] drivers/mtd/nand/mpc5121_nfc.c: Add of_node_put to avoid memory leak

2010-08-29 Thread Wolfram Sang
On Sun, Aug 29, 2010 at 11:52:42AM +0200, Julia Lawall wrote: > Add a call to of_node_put in the error handling code following a call to > of_find_compatible_node. > > The semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @r exists@ > local idexpressio

Re: [PATCH 2/7] drivers/serial/mpc52xx_uart.c: Add of_node_put to avoid memory leak

2010-08-29 Thread Wolfram Sang
On Sun, Aug 29, 2010 at 11:52:41AM +0200, Julia Lawall wrote: > Add a call to of_node_put in the error handling code following a call to > of_find_compatible_node. > > The semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @r exists@ > local idexpressio

Re: [PATCH 1/5] ptp: Added a brand new class driver for ptp clocks.

2010-08-29 Thread Christian Riesch
Alan Cox wrote: The master node in a PTP network probably takes its time from a precise external time source, like GPS. The GPS provides a 1 PPS directly to the PTP clock hardware, which latches the PTP hardware clock time on the PPS edge. This provides one sample as input to a clock servo (in th

RE: [PATCH 1/3][MTD] P4080/eLBC: Make Freescale elbc interrupt common to elbc devices

2010-08-29 Thread Artem Bityutskiy
On Mon, 2010-08-09 at 15:33 +0800, Zang Roy-R61911 wrote: > Any comment about this serial patches? > If none, I'd ask Andrew to merge to his mm tree. Could you please separate out MTD stuff, to the extent it is possible to do? -- Best Regards, Artem Bityutskiy (Битюцкий Артём) __

[PATCH 7/7] arch/powerpc/platforms/cell: Add of_node_put to avoid memory leak

2010-08-29 Thread Julia Lawall
Add calls to of_node_put in the error handling code following calls to of_find_node_by_path and of_find_node_by_phandle. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression x; expression E,E1; statement S; @@ *x = (of_find_nod

[PATCH 4/7] arch/powerpc/platforms/powermac/pfunc_core.c: Add of_node_put to avoid memory leak

2010-08-29 Thread Julia Lawall
Add a call to of_node_put in the error handling code following a call to of_find_node_by_phandle. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression x; expression E,E1; statement S; @@ *x = (of_find_node_by_path |of_find_node

[PATCH 5/7] arch/powerpc/sysdev/qe_lib/qe.c: Add of_node_put to avoid memory leak

2010-08-29 Thread Julia Lawall
Add a call to of_node_put in the error handling code following a call to of_find_compatible_node. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression x; expression E,E1; statement S; @@ *x = (of_find_node_by_path |of_find_node

[PATCH 6/7] arch/powerpc/platforms/maple/setup.c: Add of_node_put to avoid memory leak

2010-08-29 Thread Julia Lawall
Add a call to of_node_put in the error handling code following a call to of_find_node_by_path. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression x; expression E,E1; statement S; @@ *x = (of_find_node_by_path |of_find_node_by

[PATCH 1/7] drivers/macintosh/via-pmu-led.c: Add of_node_put to avoid memory leak

2010-08-29 Thread Julia Lawall
Add a call to of_node_put in the error handling code following a call to of_find_node_by_path. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression x; expression E,E1; statement S; @@ *x = (of_find_node_by_path |of_find_node_by