Re: 2.6.24-rc8-mm1 build failure on headers_check

2008-01-17 Thread Andrew Morton
On Fri, 18 Jan 2008 12:39:51 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > The kernel build fails during the headers_check on power box > > CHECK include/asm/nvram.h > /usr/local/autobench/autotest/tmp/build/linux/usr/include/asm/nvram.h > requires linux/list.h, which d

Re: 2.6.24-rc8-mm1 build failure on headers_check

2008-01-17 Thread Kamalesh Babulal
Hi Andrew, The kernel build fails during the headers_check on power box CHECK include/asm/nvram.h /usr/local/autobench/autotest/tmp/build/linux/usr/include/asm/nvram.h requires linux/list.h, which does not exist in exported headers make[3]: *** [/usr/local/autobench/autotest/tmp/build/linux

Re: crash in kmem_cache_init

2008-01-17 Thread Olaf Hering
On Thu, Jan 17, Olaf Hering wrote: > On Thu, Jan 17, Christoph Lameter wrote: > > > On Thu, 17 Jan 2008, Olaf Hering wrote: > > > > > The patch does not help. > > > > Duh. We need to know more about the problem. > > cache_grow is called from 3 places. The third call has cleared l3 for > some r

Re: [PATCH] mpc85xx_ads: add in missing of_node_put()

2008-01-17 Thread Kumar Gala
> From: Paul Gortmaker <[EMAIL PROTECTED]> > Date: Fri, 21 Dec 2007 10:12:38 -0500 > Subject: [PATCH] mpc85xx_ads: add in missing of_node_put() > > Add in missing of_node_put() after cpm2_pic_init(). This and other coding > style cleanups as suggested by Stephen Rothwell. > > Signed-off-by: Paul Go

Re: [PATCH] Fix carry bug in 128-bit unsigned integer adding

2008-01-17 Thread Kumar Gala
On Fri, 18 Jan 2008, Liu Yu wrote: > Synchronize it to the definition in include/math-emu/op-4.h for short term. > > Signed-off-by: Liu Yu <[EMAIL PROTECTED]> > --- > arch/powerpc/math-emu/op-4.h | 40 ++-- > 1 files changed, 30 insertions(+), 10 deletions(-)

Re: [Add mpc5121 support PATCH v3 2/8] Add mpc512x ipic support

2008-01-17 Thread Kumar Gala
On Thu, 17 Jan 2008, John Rigby wrote: > Added ipic_info entries for vectors used by 512x that > were previously unused by 83xx. > > Signed-off-by: John Rigby <[EMAIL PROTECTED]> > --- > arch/powerpc/sysdev/ipic.c | 62 > > 1 files changed, 62 inser

Re: [Add mpc5121 support PATCH v3 1/8] Add IPIC config option

2008-01-17 Thread Kumar Gala
On Thu, 17 Jan 2008, John Rigby wrote: > IPIC is not just for 83xx anymore so make it a separate > config option. > > Signed-off-by: John Rigby <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/Kconfig |5 + > arch/powerpc/sysdev/Makefile |2 +- > 2 files changed, 6 insertions(+),

Re: [PATCH v3] [POWERPC] Update MPC8610 HPCD to support audio drivers

2008-01-17 Thread Kumar Gala
On Thu, 10 Jan 2008, Timur Tabi wrote: > Update the MPC8610 HPCD files to support the audio driver. Update > booting-without-of.txt with information on the SSI device. > > Signed-off-by: Timur Tabi <[EMAIL PROTECTED]> > --- Can you respin this. It doesn't apply cleanly to my tree. - k

Re: [PATCH] [POWERPC] qe: add support for Freescale QUICCEngine UART

2008-01-17 Thread Kumar Gala
On Wed, 9 Jan 2008, Timur Tabi wrote: > Add support for UART serial ports using a Freescale QUICCEngine. Update > booting-without-of.txt to define new properties for a QE UART node. Update > the MPC8323E-MDS device tree to add UCC5 as a UART. Update the QE library > to support slow UCC devices a

Re: [PATCH v2] [SERIAL] qe-uart: add support for Freescale QUICCEngine UART

2008-01-17 Thread Kumar Gala
On Tue, 15 Jan 2008, Timur Tabi wrote: > Add file ucc_uart.c, a serial device driver for the Freescale QUICCEngine. > Update the Kconfig and Makefile accordingly. > > Signed-off-by: Timur Tabi <[EMAIL PROTECTED]> > --- > > Updated to reflect comments from Kumar. > > drivers/serial/Kconfig|

Re: [PATCH v7] qe: add ability to upload QE firmware

2008-01-17 Thread Kumar Gala
On Tue, 8 Jan 2008, Timur Tabi wrote: > Define the layout of a binary blob that contains a QE firmware and > instructions > on how to upload it. Add function qe_upload_firmware() to parse the blob > and perform the actual upload. Fully define 'struct rsp' in immap_qe.h to > include the actual R

Re: [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property

2008-01-17 Thread Kumar Gala
On Fri, 7 Dec 2007, Vitaly Bordug wrote: > > fixed-link says: register new "Fixed/emulated PHY", i.e. PHY that > not connected to the real MDIO bus. > > Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > > --- > > Documentation/powerpc/booting-

Re: [PATCH 3/3] [POWERPC] MPC8349E-mITX: Vitesse 7385 PHY is not connected to the MDIO bus

2008-01-17 Thread Kumar Gala
On Fri, 7 Dec 2007, Vitaly Bordug wrote: > > ...thus use fixed-link to register proper "Fixed PHY" > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> > applied. - k ___ Linuxppc-dev mailing list Li

Re: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality

2008-01-17 Thread Kumar Gala
On Fri, 7 Dec 2007, Vitaly Bordug wrote: > > With that patch fixed.c now fully emulates MDIO bus, thus no need > to duplicate PHY layer functionality. That, in turn, drastically > simplifies the code, and drops down line count. > > As an additional bonus, now there is no need to register MDIO bus

Re: [PATCH] Convert MPC837x device trees to dts-v1

2008-01-17 Thread Kumar Gala
On Jan 18, 2008, at 12:31 AM, Kumar Gala wrote: > > On Jan 8, 2008, at 5:32 AM, Li Yang wrote: > >> Signed-off-by: Li Yang <[EMAIL PROTECTED]> >> --- >> arch/powerpc/boot/dts/mpc8377_mds.dts | 148 +++ >> +--- >> arch/powerpc/boot/dts/mpc8378_mds.dts | 140 ++

Re: [PATCH 3/3 v2] USB device tree cleanups

2008-01-17 Thread Kumar Gala
On Jan 8, 2008, at 1:18 AM, Li Yang wrote: > Remove device_type = "usb" > > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > --- > Documentation/powerpc/booting-without-of.txt |4 > arch/powerpc/boot/dts/mpc8313erdb.dts|1 - > arch/powerpc/boot/dts/mpc832x_mds.dts|1 - >

Re: [PATCH 2/3 v2] add MPC837x USB platform support

2008-01-17 Thread Kumar Gala
On Jan 8, 2008, at 1:18 AM, Li Yang wrote: > Add chip specific and board specific initialization for MPC837x USB. > > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/83xx/mpc837x_mds.c | 51 > + > arch/powerpc/platforms/83xx/mpc83xx.h |

Re: [PATCH 1/3] add default device trees for MPC837x MDS board

2008-01-17 Thread Kumar Gala
On Jan 7, 2008, at 6:03 AM, Li Yang wrote: > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > --- > address comments and use new dts spec. > > arch/powerpc/boot/dts/mpc8377_mds.dts | 277 > +++ > arch/powerpc/boot/dts/mpc8378_mds.dts | 263 > ++

Re: [PATCH] Convert MPC837x device trees to dts-v1

2008-01-17 Thread Kumar Gala
On Jan 8, 2008, at 5:32 AM, Li Yang wrote: > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > --- > arch/powerpc/boot/dts/mpc8377_mds.dts | 148 +++ > +--- > arch/powerpc/boot/dts/mpc8378_mds.dts | 140 ++ > +--- > arch/powerpc/boot/dts/mpc8379_mds.dt

Re: [PATCH v5] [POWERPC] Add LED driver for Promess Motion-PRO board.

2008-01-17 Thread Stephen Rothwell
Hi Marian, On Thu, 17 Jan 2008 19:09:17 +0100 Marian Balakowicz <[EMAIL PROTECTED]> wrote: > > +static int __devinit mpled_probe(struct of_device *op, > + const struct of_device_id *match) > +{ > + struct motionpro_led *mpled; > + const unsigned int *of_blink_d

Re: [PATCH] Fake NUMA emulation for PowerPC (Take 2)

2008-01-17 Thread Michael Ellerman
On Sat, 2007-12-08 at 04:07 +0530, Balbir Singh wrote: > Here's a dumb simple implementation of fake NUMA nodes for PowerPC. Fake > NUMA nodes can be specified using the following command line option > > > Comments are as always welcome! Here's some :) > diff -puN arch/powerpc/mm/numa.c~ppc-fa

Re: Patches added to master/for-2.6.25 branch of powerpc.git

2008-01-17 Thread Grant Likely
On 1/17/08, Paul Mackerras <[EMAIL PROTECTED]> wrote: > Grant Likely writes: > > > Paul, can you also please pull the following 52xx changes? > > Could you please re-do your tree and make sure the headline for each > commit starts with "[POWERPC]" (unless it isn't powerpc-specific, in > which case

Re: [PATCH] Fake NUMA emulation for PowerPC (Take 2)

2008-01-17 Thread Michael Ellerman
On Fri, 2008-01-18 at 16:34 +1100, Michael Ellerman wrote: > On Sat, 2007-12-08 at 04:07 +0530, Balbir Singh wrote: > > Changelog > > > > 1. Get rid of the constant 5 (based on comments from > > [EMAIL PROTECTED]) > > 2. Implement suggestions from Olof Johannson > >

Re: [PATCH] Fake NUMA emulation for PowerPC (Take 2)

2008-01-17 Thread Michael Ellerman
On Sat, 2007-12-08 at 04:07 +0530, Balbir Singh wrote: > Changelog > > 1. Get rid of the constant 5 (based on comments from > [EMAIL PROTECTED]) > 2. Implement suggestions from Olof Johannson > 3. Check if cmdline is NULL in fake_numa_create_new_node() > > Tested w

[PATCH 2/2] kdump shutdown hook support

2008-01-17 Thread Michael Neuling
This adds hooks into the default_machine_crash_shutdown so drivers can register a function to be run in the first kernel before we hand off to the second kernel. This should only be used in exceptional circumstances, like where the device can't be reset in the second kernel alone (as is the case w

[PATCH 1/2] Make setjmp/longjmp code generic

2008-01-17 Thread Michael Neuling
This makes the setjmp/longjmp code used by xmon, generically available to other code. It also removes the requirement for debugger hooks to be only called on 0x300 (data storage) exception. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- arch/powerpc/kernel/misc.S | 65 ++

[PATCH 0/2] Add crashdump shutdown hooks

2008-01-17 Thread Michael Neuling
The following patches add crashdump shutdown hooks for POWERPC. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- Sorry, last update didn't include both patches. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listin

Re: Patches added to master/for-2.6.25 branch of powerpc.git

2008-01-17 Thread Paul Mackerras
Grant Likely writes: > Paul, can you also please pull the following 52xx changes? Could you please re-do your tree and make sure the headline for each commit starts with "[POWERPC]" (unless it isn't powerpc-specific, in which case it probably shouldn't be in your tree...). Thanks, Paul.

[PATCH] [POWERPC] Fix incorrect interrupt map on FSL reference boards

2008-01-17 Thread Kumar Gala
The ULI based boards had the interrupt maps for USB on the ULI incorrectly set. Also, the MPC8572DS was missing the interrupt-map-mask for the 3rd PCIe controller. --- arch/powerpc/boot/dts/mpc8544ds.dts|6 +++--- arch/powerpc/boot/dts/mpc8572ds.dts|7 --- arch/powerpc/boot/d

Re: L3CR

2008-01-17 Thread Kumar Gala
On Jan 17, 2008, at 4:26 PM, [EMAIL PROTECTED] wrote: > It there a l3cr parameter? It's not in the kernel documentation. I'm > trying to enable L2 and L3 cache on a G4 cpu upgrade board in a > powermac. > >> From OSX I was able to get the values of: > l2cr = 0x8000 > and > l3cr = 0x9F020300

Re: [PATCH] [POWERPC] Update TQM5200, CM5200 and Motion-PRO _defconfig and .dts files

2008-01-17 Thread Olof Johansson
On Thu, Jan 17, 2008 at 11:05:12PM +0100, Marian Balakowicz wrote: > Grant Likely wrote: > > On 1/17/08, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > >> Grant Likely wrote: > >>> On 1/17/08, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > ... > >>> Can you split the defconfig changes into a separa

[PATCH] Fix carry bug in 128-bit unsigned integer adding

2008-01-17 Thread Liu Yu
Synchronize it to the definition in include/math-emu/op-4.h for short term. Signed-off-by: Liu Yu <[EMAIL PROTECTED]> --- arch/powerpc/math-emu/op-4.h | 40 ++-- 1 files changed, 30 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/math-emu/op-4.h b/a

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-17 Thread Matt Mackall
On Thu, 2008-01-17 at 17:07 -0800, Andrew Morton wrote: > That worked out nicely. Cool, feel free to add: Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> > Wasn't the old code potentially pte_unmap()ping the wrong address? If we > enter with addr==end? Yes, that was busted. -- Mathematics i

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-17 Thread Andrew Morton
On Thu, 17 Jan 2008 18:47:17 -0600 Matt Mackall <[EMAIL PROTECTED]> wrote: > > On Thu, 2008-01-17 at 16:29 -0800, Andrew Morton wrote: > > Do we need `offset' at all? > > Looks like no. > > I wonder if there's a good argument for adding a pte_offset_val() which > would let us do: > > pteval =

[PATCH] [POWERPC] Fix a couple of copyright symbols

2008-01-17 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/systbl_chk.c |2 +- arch/powerpc/kernel/systbl_chk.sh |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Patchwork strikes again. :-( diff --git a/arch/powerpc/kernel/systbl_chk.c b/arch/powerpc/kernel/sys

Re: Patches added to master/for-2.6.25 branch of powerpc.git

2008-01-17 Thread Stephen Rothwell
How about "[POWERPC] make ibmebus use of_(un)register_driver" (http://patchwork.ozlabs.org/linuxppc/patch?id=16128)? It was acked by Joachim. -- Cheers, Stephen Rothwell[EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/ pgpjwxUAFOBBV.pgp Description: PGP signature _

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-17 Thread Matt Mackall
On Thu, 2008-01-17 at 16:29 -0800, Andrew Morton wrote: > Do we need `offset' at all? Looks like no. I wonder if there's a good argument for adding a pte_offset_val() which would let us do: pteval = pte_offset_val(pmd, addr); and shrink the map/unmap window and overhead here and possibly elsew

Re: [PATCH/RFCv2] [POWERPC] Add support for freescale watchdog to CPM serial driver.

2008-01-17 Thread Stephen Rothwell
On Thu, 17 Jan 2008 13:32:35 +0100 Jochen Friedrich <[EMAIL PROTECTED]> wrote: > > If a freescale watchdog device node is present, reset the watchdog > while waiting for serial input. > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > --- > arch/powerpc/boot/Makefile |2 +- > arch/

Re: [Add mpc5121 support PATCHES v3 0/8]

2008-01-17 Thread Grant Likely
On 1/17/08, John Rigby <[EMAIL PROTECTED]> wrote: > This is a new improved set of patches based on the > comments that I received in response to the previous set. > > Changes since v2: > > 1/8 Add-IPIC-config-option.patch > 2/8 Add-mpc512x-ipic-support.patch > No changes. These two are in gala

RE: Problems with PCI on 8280

2008-01-17 Thread Rune Torgersen
From: Scott Wood >Hmm... that suggests that something in u-boot's setup is either >incorrect, or (more likely in this case) doesn't match the device tree. Turns out u-boot was not setting u the inbound window size correctly. It was hardcoded to 512MB and we have a gig of ram. Set it correctly,

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-17 Thread Andrew Morton
On Thu, 17 Jan 2008 18:12:48 -0600 Matt Mackall <[EMAIL PROTECTED]> wrote: > > > Do we need the ifdef? pte_offset_map/pte_unmap should be super-cheap on > > !CONFIG_HIGHPTE builds. > > In that case, pte_unmap is free, pte_offset_map is just a bit of math. > So yeah, we can simplify this. How ab

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-17 Thread Matt Mackall
On Thu, 2008-01-17 at 16:05 -0800, Andrew Morton wrote: > On Thu, 17 Jan 2008 17:39:54 -0600 > Matt Mackall <[EMAIL PROTECTED]> wrote: > > > > > On Thu, 2008-01-17 at 14:51 -0800, Andrew Morton wrote: > > > > proc_loop: /proc/3731/task/3731/pagemap > > > > kernel: BUG: sleeping function called f

[Add mpc5121 support PATCH v3 5/8] Separate MPC52xx PSC FIFO registers from rest of PSC

2008-01-17 Thread John Rigby
This is in preparation for the addition of MPC512x PSC support. The main difference in the 512x is in the fifo registers. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- drivers/serial/mpc52xx_uart.c | 10 ++ include/asm-powerpc/mpc52xx_psc.h |3 +++ include/asm-ppc/mpc52xx_p

[Add mpc5121 support PATCH v3 6/8] Cleanup checkpatch.pl problems in mpc52xx_uart.c

2008-01-17 Thread John Rigby
In preparation of adding MPC5121 support cleanup some things that checkpatch.pl complains about also some minor fixes suggested by Stephen Rothwell. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- drivers/serial/mpc52xx_uart.c | 204 ++--- 1 files changed, 1

[Add mpc5121 support PATCH v3 8/8] Add MPC512x support to MPC52xx psc driver

2008-01-17 Thread John Rigby
Add 512x support using the psc_ops framework established with the previous patch. All 512x PSCs share the same interrupt so add IRQF_SHARED to irq flags. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- drivers/serial/Kconfig| 12 ++-- drivers/serial/mpc52xx_uart.c | 177

[Add mpc5121 support PATCH v3 7/8] Factor out 52xx dependencies from 52xx psc driver

2008-01-17 Thread John Rigby
PSCs change from 5200 to 5121 this patch localizes the differences in preparation for adding 5121 support Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- drivers/serial/mpc52xx_uart.c | 256 ++-- 1 files changed, 192 insertions(+), 64 deletions(-) diff --gi

[Add mpc5121 support PATCH v3 3/8] Basic Freescale MPC512x support

2008-01-17 Thread John Rigby
512x is very similar to 83xx and most of this is patterned after code from 83xx. New platform: changed: arch/powerpc/Kconfig arch/powerpc/platforms/Kconfig arch/powerpc/platforms/Kconfig.cputype arch/powerpc/platforms/Makefile new: arch/powerpc/platf

[Add mpc5121 support PATCH v3 4/8] Device tree for MPC5121 ADS

2008-01-17 Thread John Rigby
Minimal tree for mpc5121 ads. port-number property in uart nodes will go away after the driver learns to use aliases Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc5121ads.dts | 120 ++ 1 files changed, 120 insertions(+), 0 deletions(-

[Add mpc5121 support PATCH v3 2/8] Add mpc512x ipic support

2008-01-17 Thread John Rigby
Added ipic_info entries for vectors used by 512x that were previously unused by 83xx. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 62 1 files changed, 62 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysd

[Add mpc5121 support PATCH v3 1/8] Add IPIC config option

2008-01-17 Thread John Rigby
IPIC is not just for 83xx anymore so make it a separate config option. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig |5 + arch/powerpc/sysdev/Makefile |2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/Kco

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-17 Thread Andrew Morton
On Thu, 17 Jan 2008 17:39:54 -0600 Matt Mackall <[EMAIL PROTECTED]> wrote: > > On Thu, 2008-01-17 at 14:51 -0800, Andrew Morton wrote: > > > proc_loop: /proc/3731/task/3731/pagemap > > > kernel: BUG: sleeping function called from invalid context at > > > fs/proc/task_mmu.c:554 > > > kernel: in_a

[Add mpc5121 support PATCHES v3 0/8]

2008-01-17 Thread John Rigby
This is a new improved set of patches based on the comments that I received in response to the previous set. Changes since v2: 1/8 Add-IPIC-config-option.patch 2/8 Add-mpc512x-ipic-support.patch No changes. These two are in galak's queue for submission. 3/8 Basic-Freescale-MPC512x-support.p

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-17 Thread Matt Mackall
On Thu, 2008-01-17 at 14:51 -0800, Andrew Morton wrote: > > proc_loop: /proc/3731/task/3731/pagemap > > kernel: BUG: sleeping function called from invalid context at > > fs/proc/task_mmu.c:554 > > kernel: in_atomic():1, irqs_disabled():0 > > kernel: Call Trace: > > kernel: [cf1cddf0] [c000840c] s

Re: Problems with PCI on 8280

2008-01-17 Thread Scott Wood
Rune Torgersen wrote: > >From: Scott Wood > >Are you using cuImage, or a regular uImage with a device-tree-aware u-boot > > cuImage for now. > > >If the former, try commenting out the call to fixup_pci() in > >arch/powerpc/boot/cuboot-pq2.c and let me know if that changes anything. > > Did t

RE: Problems with PCI on 8280

2008-01-17 Thread Rune Torgersen
>From: Scott Wood >Are you using cuImage, or a regular uImage with a device-tree-aware u-boot cuImage for now. >If the former, try commenting out the call to fixup_pci() in >arch/powerpc/boot/cuboot-pq2.c and let me know if that changes anything. Did that, That made our PCI bus fail completely

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-17 Thread Andrew Morton
On Thu, 17 Jan 2008 23:15:27 +0100 Mariusz Kozlowski <[EMAIL PROTECTED]> wrote: > Hello, > > The script below kills powerpc. oopses get longer and more > wonderful with every next 'cated' file. ppc32. > /proc//task//pagemap seems to be the cause of oops. The > important thing is that it

[PATCH 3/3] Update mpc8313erdb defconfig for MTD, NAND, JFFS2.

2008-01-17 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/configs/mpc8313_rdb_defconfig | 46 1 files changed, 33 insertions(+), 13 deletions(-) diff --git a/arch/powerpc/configs/mpc8313_rdb_defconfig b/arch/powerpc/configs/mpc8313_rdb_defconfig index c9af905.

[PATCH 2/3] mpc8313erdb: Add NOR flash to the device tree.

2008-01-17 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8313erdb.dts |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts index 63955a1..e4142e8 100644 --- a/arch/powerpc/b

[PATCH 1/3] mpc8313erdb: Add NAND to device tree, and call of_platform_bus_probe().

2008-01-17 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- Please apply this series for 2.6.25. arch/powerpc/boot/dts/mpc8313erdb.dts | 39 + arch/powerpc/platforms/83xx/mpc8313_rdb.c | 13 + 2 files changed, 52 insertions(+), 0 deletions(-) diff --git a/arch/p

Re: [PATCH 2/7] powerpc: allow localbus compatible serial ports for console device

2008-01-17 Thread Arnd Bergmann
On Thursday 17 January 2008, Paul Gortmaker wrote: > +struct serial_parent { > +   char *type; > +   char *compat; > +}; > + > +static struct __init serial_parent parents[] = { > +   {"soc", NULL}, > +   {"tsi-bridge", NULL}, > +   {"opb", "ibm,opb"}, > +   {NULL, "wrs,epld-

L3CR

2008-01-17 Thread linuxppcdev
It there a l3cr parameter? It's not in the kernel documentation. I'm trying to enable L2 and L3 cache on a G4 cpu upgrade board in a powermac. >From OSX I was able to get the values of: l2cr = 0x8000 and l3cr = 0x9F020300 from a cache config utility. I've seen references to l3cr setting on bs

[PATCH 2/2] mpc82xx: Embedded Planet EP8248E support

2008-01-17 Thread Scott Wood
This board is also resold by Freescale under the names "QUICCStart MPC8248 Evaluation System" and "CWH-PPC-8248N-VE". Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- Removed const/initdata combo, and used simple-bus for probing. Please apply for 2.6.25. arch/powerpc/boot/Makefile

[PATCH] Make setjmp/longjmp code generic

2008-01-17 Thread Michael Neuling
This makes the setjmp/longjmp code used by xmon, generically available to other code. It also removes the requirement for debugger hooks to be only called on 0x300 (data storage) exception. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- arch/powerpc/kernel/misc.S | 65 ++

[PATCH] Add crashdump shutdown hooks

2008-01-17 Thread Michael Neuling
The following patches add crashdump shutdown hooks for POWERPC. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- Updated some comments in the code, as noticed by sfr, Josh Boyer and a dirty car owner. ___ Linuxppc-dev mailing list Linuxppc-dev@ozla

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-17 Thread Mariusz Kozlowski
Hello, The script below kills powerpc. oopses get longer and more wonderful with every next 'cated' file. /proc//task//pagemap seems to be the cause of oops. The important thing is that it oopses for random (that is not first in a row) process from /proc. So not every 'cat /proc//task//pa

Re: [PATCH 2/7] powerpc: allow localbus compatible serial ports for console device

2008-01-17 Thread Scott Wood
Paul Gortmaker wrote: > +static struct __init serial_parent parents[] = { > + {"soc", NULL}, > + {"tsi-bridge", NULL}, > + {"opb", "ibm,opb"}, > + {NULL, "wrs,epld-localbus"}, > +}; can we add {NULL, "simple-bus"} to this list? -Scott __

Re: [PATCH] [POWERPC] Update TQM5200, CM5200 and Motion-PRO _defconfig and .dts files

2008-01-17 Thread Marian Balakowicz
Grant Likely wrote: > On 1/17/08, Marian Balakowicz <[EMAIL PROTECTED]> wrote: >> Grant Likely wrote: >>> On 1/17/08, Marian Balakowicz <[EMAIL PROTECTED]> wrote: ... >>> Can you split the defconfig changes into a separate patch... That >>> being said, how do you feel about merging all the 5200 de

Re: [PATCH 2/7] powerpc: allow localbus compatible serial ports for console device

2008-01-17 Thread Paul Gortmaker
In message: Re: [PATCH 2/7] powerpc: allow localbus compatible serial ports for console device on 07/01/2008 Arnd Bergmann wrote: > On Monday 07 January 2008, Paul Gortmaker wrote: > > > > I'd thought about doing that, but there are slight differences > > in each test.  To remain 100% faithful t

Re: Problems with PCI on 8280

2008-01-17 Thread Scott Wood
Rune Torgersen wrote: > Our problem is that we can only access the first 128MB of the > prefetchable area. > an access to 0x87ff_ works (after ioremap), while an access to > 0x8800_ causes an bus error. > > trying to access 0x87FC -> 0x > trying to access 0x8800 ->Machine

Re: 2.6.24-rc8-mm1 powerpc build errors

2008-01-17 Thread Greg KH
On Thu, Jan 17, 2008 at 11:35:23AM -0800, Andrew Morton wrote: > On Thu, 17 Jan 2008 13:06:39 -0600 Olof Johansson <[EMAIL PROTECTED]> wrote: > > powerpc_allyesconfig: > > > > drivers/net/ehea/ehea_main.c: In function 'ehea_driver_sysfs_add': > > drivers/net/ehea/ehea_main.c:2812: error: 'struct d

Re: [PATCH 1/2] Make setjmp/longjmp code generic

2008-01-17 Thread Michael Ellerman
On Thu, 2008-01-17 at 06:45 -0600, Josh Boyer wrote: > On Thu, 17 Jan 2008 16:36:49 +1100 > Michael Neuling <[EMAIL PROTECTED]> wrote: > > In message <[EMAIL PROTECTED]> you wrote: > > > Hi, > > > > > > On Thu, Jan 17, 2008 at 03:45:42PM +1100, Michael Neuling wrote: > > > > > > > Index: linux-2.

Problems with PCI on 8280

2008-01-17 Thread Rune Torgersen
Hi. We have e 8280 bioard with PCI. We have three memory ranges set up; 0x8000_ to 0x8fff_ is prefetchable memory 0x9000_ to 0x97ff_ is non-prefetchable memory 0x9800_ to 0x9800_ is IO. our device tree has ranges = <4200 0 8000 8000 0 1000// Pre-fetch m

Re: crash in kmem_cache_init

2008-01-17 Thread Olaf Hering
On Thu, Jan 17, Christoph Lameter wrote: > On Thu, 17 Jan 2008, Olaf Hering wrote: > > > The patch does not help. > > Duh. We need to know more about the problem. cache_grow is called from 3 places. The third call has cleared l3 for some reason. Allocated 00a0 bytes for kernel @ 0020

Re: [PATCH] net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table

2008-01-17 Thread Benjamin Herrenschmidt
On Wed, 2008-01-16 at 10:37 +0100, Stefan Roese wrote: > With the removal the the "rgmii-interface" device_type property from the > dts files, the newemac driver needs an update to only rely on compatible > property. > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > --- Acked-by: Benjamin He

Re: [PATCH 4/7] sbc8560: Add device tree source for Wind River SBC8560 board

2008-01-17 Thread Paul Gortmaker
In message: Re: [PATCH 4/7] sbc8560: Add device tree source for Wind River SBC8560 board on 10/01/2008 David Gibson wrote: > > + [EMAIL PROTECTED] { > > + #address-cells = <1>; > > + #size-cells = <1>; > > + compatible = "localbus"; > > This compatible doesn't loo

[PATCH][TRIVIAL] ibm_emac/ibm_emac_mal.c:mal_poll: Fix MAL_DBG2 invocation

2008-01-17 Thread Hal Rosenstock
ibm_emac/ibm_emac_mal.c:mal_poll: Fix MAL_DBG2 invocation Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]> diff --git a/drivers/net/ibm_emac/ibm_emac_mal.c b/drivers/net/ibm_emac/ibm_emac_mal.c index dcd8826..1977791 100644 --- a/drivers/net/ibm_emac/ibm_emac_mal.c +++ b/drivers/net/ibm_emac/ib

Warp Watchdog

2008-01-17 Thread Sean MacLennan
The taco, er warp, has a watchdog timer built into the fpga. The watchdog is very trivial and very tied to the warp. I have put it has part of the platform code rather than a standalone module. Two reasons for this: one, once started it can't be stopped. A module unload would be fatal ;) Two, i

Re: crash in kmem_cache_init

2008-01-17 Thread Olaf Hering
On Thu, Jan 17, Olaf Hering wrote: > Since -mm boots further, what patch should I try? rc8-mm1 crashes as well, l3 passed to reap_alien() is NULL. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: crash in kmem_cache_init

2008-01-17 Thread Olaf Hering
On Thu, Jan 17, Christoph Lameter wrote: > > freeing bootmem node 1 > > Memory: 3496632k/3571712k available (6188k kernel code, 75080k reserved, > > 1324k data, 1220k bss, 304k init) > > cache_grow(2781) swapper(0):c0,j4294937299 cp c06a4fb8 !l3 > > Is there more backtrace information? W

Re: 2.6.24-rc8-mm1 powerpc build errors

2008-01-17 Thread Andrew Morton
On Thu, 17 Jan 2008 13:06:39 -0600 Olof Johansson <[EMAIL PROTECTED]> wrote: > Hi, > > My powerpc build-all-defconfigs script found the following: thanks. > mpc837x_mds_defconfig. Brokage looks like it came from libata's > for_each_sg() patch. > > drivers/ata/sata_fsl.c: In function 'sata_fsl_

Re: Patches added to master/for-2.6.25 branch of powerpc.git

2008-01-17 Thread Jochen Friedrich
Hi Kumar, >> http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048473.html >> >> ^^ fixed phy support for fs_enet. Needed for some other boards, I >> presume. > > Hmm, its vitaly picking this one up? if not I can. That would be great. Jeff Garzik agreed to have this patch go through the P

Re: 2.6.24-rc8-mm1: powerpc: include/asm/nvram.h:62: error: field 'partition' has incomplete type

2008-01-17 Thread Andrew Morton
On Thu, 17 Jan 2008 19:18:07 +0100 Mariusz Kozlowski <[EMAIL PROTECTED]> wrote: > CC [M] sound/ppc/awacs.o > In file included from sound/ppc/awacs.c:24: > include/asm/nvram.h:62: error: field 'partition' has incomplete type > make[1]: *** [sound/ppc/awacs.o] Error 1 > make: *** [sound/ppc/awacs

Re: crash in kmem_cache_init

2008-01-17 Thread Christoph Lameter
Could you try Pekka's suggestion of reverting 04231b3002ac53f8a64a7bd142fde3fa4b6808c6 ? ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: crash in kmem_cache_init

2008-01-17 Thread Christoph Lameter
On Thu, 17 Jan 2008, Olaf Hering wrote: > The patch does not help. Duh. We need to know more about the problem. > > --- linux-2.6.orig/mm/slab.c2008-01-03 12:26:42.0 -0800 > > +++ linux-2.6/mm/slab.c 2008-01-09 15:59:49.0 -0800 > > @@ -2977,7 +2977,10 @@ retry: > >

Re: 2.6.24-rc8-mm1 powerpc build errors

2008-01-17 Thread Olof Johansson
Hi, My powerpc build-all-defconfigs script found the following: mpc837x_mds_defconfig. Brokage looks like it came from libata's for_each_sg() patch. drivers/ata/sata_fsl.c: In function 'sata_fsl_fill_sg': drivers/ata/sata_fsl.c:337: error: redeclaration of 'si' with no linkage drivers/ata/sata_f

Re: 2.6.24-rc8-mm1: powerpc: include/asm/nvram.h:62: error: field 'partition' has incomplete type

2008-01-17 Thread Mariusz Kozlowski
Hello, This is from powerpc (iMac G3): CC [M] sound/ppc/awacs.o In file included from sound/ppc/awacs.c:24: include/asm/nvram.h:62: error: field 'partition' has incomplete type make[1]: *** [sound/ppc/awacs.o] Error 1 make: *** [sound/ppc/awacs.o] Error 2 Regards, Mariusz # #

Re: [PATCH/RFC] [POWERPC] CPM1: implement GPIO LIB API

2008-01-17 Thread Scott Wood
On Thu, Jan 17, 2008 at 03:42:58PM +0100, Jochen Friedrich wrote: > Hi Grant, > > >> arch/powerpc/platforms/8xx/Kconfig |2 + > >> arch/powerpc/sysdev/commproc.c | 162 > >> +++- > > > > Is this 8xx only? Can it live in arch/powerpc/platforms/8xx? > > A

Re: [PATCH v5] [POWERPC] Add LED driver for Promess Motion-PRO board.

2008-01-17 Thread Grant Likely
On 1/17/08, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > Add support for two Motion-PRO board custom LEDs: > - motionpro-statusled > - motionpro-readyled > > Signed-off-by: Jan Wrobel <[EMAIL PROTECTED]> > Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> I'm still not quite sure what to do w

Re: [PATCH] [POWERPC] Update TQM5200, CM5200 and Motion-PRO _defconfig and .dts files

2008-01-17 Thread Grant Likely
On 1/17/08, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > Grant Likely wrote: > > On 1/17/08, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > >> Updates include: > >> - set soc node compatible property to "fsl,mpc5200-immr" > > > > On these three boards; which have the original mpc5200 and which ha

Re: crash in kmem_cache_init

2008-01-17 Thread Olaf Hering
On Thu, Jan 17, Christoph Lameter wrote: > On Thu, 17 Jan 2008, Pekka Enberg wrote: > > > Looks similar to the one discussed on linux-mm ("[BUG] at > > mm/slab.c:3320" thread). Christoph? > > Right. Try the latest version of the patch to fix it: The patch does not help. > Index: linux-2.6/mm/

[PATCH v5] [POWERPC] Add LED driver for Promess Motion-PRO board.

2008-01-17 Thread Marian Balakowicz
Add support for two Motion-PRO board custom LEDs: - motionpro-statusled - motionpro-readyled Signed-off-by: Jan Wrobel <[EMAIL PROTECTED]> Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- Call to removed mpc52xx_map_node() was replaced with the of_iomap() call. drivers/leds/Kconfig

[PATCH v2] [POWERPC] Update TQM5200, CM5200 and Motion-PRO _defconfig files

2008-01-17 Thread Marian Balakowicz
Updates include: - enable RTC in _defconfigs - use SLUB insteand of SLAB - enable printk timestamp Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- This patch was applied and tested against: git://git.secretlab.ca/git/linux-2.6-mpc52xx.git#for-2.6.25 arch/powerpc/configs/cm5200_defconfi

[PATCH v2] [POWERPC] Update TQM5200, CM5200 and Motion-PRO .dts files

2008-01-17 Thread Marian Balakowicz
Updates include: - set soc mnode compatible property to "fsl,mpc5200-immr" - update i2c device tree nodes - add mdio node - add lpb bus node and flash device (without partitions defined) - add second mscan node for Motio-PRO - add rtc i2c nodes Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]>

Re: [Add mpc5121 support PATCH v2 5/8] Separate MPC52xx PSC FIFO registers from rest of PSC

2008-01-17 Thread Grant Likely
On 1/16/08, John Rigby <[EMAIL PROTECTED]> wrote: > This is in preparation for the addition of MPC512x > PSC support. The main difference in the 512x is > in the fifo registers. > > Signed-off-by: John Rigby <[EMAIL PROTECTED]> Acked-by: Grant Likely <[EMAIL PROTECTED]> I'll pick this one up g.

Re: [PATCH] [POWERPC] Update TQM5200, CM5200 and Motion-PRO _defconfig and .dts files

2008-01-17 Thread Marian Balakowicz
Grant Likely wrote: > On 1/17/08, Marian Balakowicz <[EMAIL PROTECTED]> wrote: >> Updates include: >> - set soc node compatible property to "fsl,mpc5200-immr" > > On these three boards; which have the original mpc5200 and which have > the mpc5200b? cm5200 and motionpro have mpc5200b, some version

Re: [Add mpc5121 support PATCH v2 6/8] Cleanup checkpatch.pl problems in mpc52xx_uart.c

2008-01-17 Thread Grant Likely
On 1/16/08, John Rigby <[EMAIL PROTECTED]> wrote: > In preparation of adding MPC5121 support > cleanup some things that checkpatch.pl complains > about also some minor fixes suggested by > Stephen Rothwell. > > Signed-off-by: John Rigby <[EMAIL PROTECTED]> Acked-by: Grant Likely <[EMAIL PROTECTED]

Re: [Add mpc5121 support PATCH v2 4/8] Device tree for MPC5121 ADS

2008-01-17 Thread Grant Likely
On 1/16/08, John Rigby <[EMAIL PROTECTED]> wrote: > Minimal tree for mpc5121 ads. > > Signed-off-by: John Rigby <[EMAIL PROTECTED]> > --- > arch/powerpc/boot/dts/mpc5121ads.dts | 116 > ++ > 1 files changed, 116 insertions(+), 0 deletions(-) > create mode 100644

Re: [Add mpc5121 support PATCH v2 3/8] Basic Freescale MPC512x support

2008-01-17 Thread Grant Likely
On 1/16/08, John Rigby <[EMAIL PROTECTED]> wrote: > 512x is very similar to 83xx and most > of this is patterned after code from 83xx. > > New platform: > changed: > arch/powerpc/Kconfig > arch/powerpc/platforms/Kconfig > arch/powerpc/platforms/Kconfig.cputype >

Re: [PATCH] [POWERPC] Update TQM5200, CM5200 and Motion-PRO _defconfig and .dts files

2008-01-17 Thread Grant Likely
On 1/17/08, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > Updates include: > - set soc node compatible property to "fsl,mpc5200-immr" On these three boards; which have the original mpc5200 and which have the mpc5200b? I'm not going to pick up this patch immediately, I've got an invasive set of m

Re: Patches added to master/for-2.6.25 branch of powerpc.git

2008-01-17 Thread Grant Likely
Paul, can you also please pull the following 52xx changes? Thanks, g. The following changes since commit 52920df4aa9dd25836b8ed4dc0b177ea14c09e53: Paul Mackerras (1): Merge branch 'for-2.6.25' of master.kernel.org:/.../olof/pasemi into for-2.6.25 are available in the git repository at:

  1   2   >