Re: crash in kmem_cache_init

2008-01-17 Thread Pekka Enberg
Hi Olaf, [Adding Christoph as cc.] On Jan 15, 2008 5:09 PM, Olaf Hering <[EMAIL PROTECTED]> wrote: > Current linus tree crashes in kmem_cache_init, as shown below. The > system is a 8cpu 2.2GHz POWER5 system, model 9117-570, with 4GB ram. > Firmware is 240_332, 2.6.23 boots ok with the same confi

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

2008-01-17 Thread Jochen Friedrich
Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/Kconfig |2 + arch/powerpc/sysdev/commproc.c | 162 +++- 2 files changed, 163 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/8xx/Kconfig b/arch/powerpc/p

[PATCH/RFCv2] wdt: Add support for PowerQUICC watchdog

2008-01-17 Thread Jochen Friedrich
The PowerQUICC series has a watchdog which can be activated by the boot loader and then needs to be reset in regular intervals. Once the watchdog is enabled, it can't be disabled anymore. This patch adds support for this kind of watchdog. An early init function is provided to manually reset the wat

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

2008-01-17 Thread Jochen Friedrich
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/powerpc/boot/cpm-serial.c |6 arch/powerpc/boot/cuboot-8xx.c |1 + arch/powerpc/bo

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

2008-01-17 Thread Josh Boyer
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.6-ozlabs/include/asm-powerpc/setjmp.h > > > ==

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

2008-01-17 Thread Anton Vorontsov
Hi Jochen, Thanks for the patch. On Thu, Jan 17, 2008 at 01:07:48PM +0100, Jochen Friedrich wrote: > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/8xx/Kconfig |2 + > arch/powerpc/sysdev/commproc.c | 162 > +++- > 2 file

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

2008-01-17 Thread Grant Likely
Hi Jochen, comments below. On 1/17/08, Jochen Friedrich <[EMAIL PROTECTED]> wrote: > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > --- Need a more detailed change description. > arch/powerpc/platforms/8xx/Kconfig |2 + > arch/powerpc/sysdev/commproc.c | 162 >

[PATCH 1/4] IB/ehca: Remove CQ-QP-link before destroying QP in error path of create_qp()

2008-01-17 Thread Joachim Fenkes
From: Hoang-Nam Nguyen Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_qp.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/infiniband/hw/ehca/ehca_qp.c b/drivers/infiniband/hw/ehca/ehca_qp.c index f116eb7..26c6a94 100

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

2008-01-17 Thread Anton Vorontsov
Hello Paul, Kumar, On Thu, Jan 17, 2008 at 03:39:07PM +1100, Paul Mackerras wrote: > Includes commits pulled from Josh Boyer's tree. Um.. Probably I'm being importunate.. if so, just command me to sit silent and wait. ;-) But how about these down here? Ones that touches drivers/net/ are having "A

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

2008-01-17 Thread Jochen Friedrich
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? According to the freescale docs, the GPIO ports are part of the CPM1. So I've put th

Re: [PATCH/RFCv2] wdt: Add support for PowerQUICC watchdog

2008-01-17 Thread Kumar Gala
On Jan 17, 2008, at 6:47 AM, Jochen Friedrich wrote: > The PowerQUICC series has a watchdog which can be activated by the > boot > loader and then needs to be reset in regular intervals. Once the > watchdog is enabled, it can't be disabled anymore. This patch adds > support for this kind of wat

Re: [PATCH v4 02/13] [POWERPC] Add 'fsl, lpb' bus type for MPC5200 LocalPlus Bus

2008-01-17 Thread Marian Balakowicz
Hi Grant, Sorry, for the late reply. Grant Likely wrote: > On 11/9/07, Marian Balakowicz <[EMAIL PROTECTED]> wrote: >> Define MPC52xx specific device id list, add new >> 'fsl,lpb' compatible id for LocalPlus Bus. > > I'll pick this up, but I'm going to drop the .compatible="soc" line. > (I'd li

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

2008-01-17 Thread Marian Balakowicz
Updates include: - set soc node 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 and enable RTC in _defconfigs - use SLUB insteand of SL

[PATCH 3/4] IB/ehca: Add "port connection autodetect mode"

2008-01-17 Thread Joachim Fenkes
From: Hoang-Nam Nguyen <[EMAIL PROTECTED]> This patch enhances ehca with a capability to "autodetect" the ports being connected physically. In order to utilize that function the module option nr_ports must be set to -1 (default is 2 - two ports). This feature is experimental and will made the defa

[PATCH 2/4] IB/ehca: Define array to store SMI/GSI QPs

2008-01-17 Thread Joachim Fenkes
From: Hoang-Nam Nguyen Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_classes.h |2 +- drivers/infiniband/hw/ehca/ehca_main.c|6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/hw/ehca/ehca_classes.h b

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

2008-01-17 Thread Anton Vorontsov
On Thu, Jan 17, 2008 at 09:11:00AM -0600, Kumar Gala wrote: > > On Jan 17, 2008, at 8:59 AM, Anton Vorontsov wrote: > > >Hello Paul, Kumar, > > > >On Thu, Jan 17, 2008 at 03:39:07PM +1100, Paul Mackerras wrote: > >>Includes commits pulled from Josh Boyer's tree. > > > >Um.. Probably I'm being imp

Re: [patch 06/18] PS3: Fix kexec storage probe

2008-01-17 Thread Geert Uytterhoeven
On Wed, 16 Jan 2008, [EMAIL PROTECTED] wrote: > From: Geert Uytterhoeven <[EMAIL PROTECTED]> > > The PS3 storage probe thread left the storage notification device open on > shutdown, so the device open would fail with LV1_BUSY when the second stage > kexec kernel tried to open the device. > > To

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: crash in kmem_cache_init

2008-01-17 Thread Christoph Lameter
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: Index: linux-2.6/mm/slab.c === --- linu

Re: [PATCH/RFCv2] wdt: Add support for PowerQUICC watchdog

2008-01-17 Thread Kumar Gala
On Jan 17, 2008, at 8:55 AM, Jochen Friedrich wrote: > Hi Kumar, > >> Why are you commenting on mpc83xx_wdt with respect to pq1_wdt? >> Also, is this driver just for PQ1 platforms or PQ1 & PQ2? If its >> just pq1 we should probably call it pq1_wdt* > > It should be for pq1, pq2 and pq2pro. How

[PATCH 4/4] IB/ehca: Prevent RDMA-related connection failures

2008-01-17 Thread Joachim Fenkes
Some HW revisions of eHCA2 may cause an RC connection to break if they received RDMA Reads over that connection before. This can be prevented by assuring that, after the first RDMA Read, the QP receives a new RDMA Read every few million link packets. Include code into the driver that inserts an em

[PATCH 0/4] IB/ehca: fixes, port connectivity autodetection, problem workaround

2008-01-17 Thread Joachim Fenkes
This patchset will fix a minor issue, introduce port connectivity autodetection and work around an RDMA-related problem in eHCA2. [1/4] fixes an error path in destroy_qp() [2/4] stores the SMI/GSI QPs in a per-port array [3/4] adds port connectivity autodetection [4/4] adds the aforementioned work

Re: [PATCH/RFCv2] wdt: Add support for PowerQUICC watchdog

2008-01-17 Thread Jochen Friedrich
Hi Kumar, > Why are you commenting on mpc83xx_wdt with respect to pq1_wdt? > > Also, is this driver just for PQ1 platforms or PQ1 & PQ2? If its just > pq1 we should probably call it pq1_wdt* It should be for pq1, pq2 and pq2pro. However, i only have the possibility to test this on pq1. >> arc

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

2008-01-17 Thread Kumar Gala
On Jan 17, 2008, at 8:59 AM, Anton Vorontsov wrote: > Hello Paul, Kumar, > > On Thu, Jan 17, 2008 at 03:39:07PM +1100, Paul Mackerras wrote: >> Includes commits pulled from Josh Boyer's tree. > > Um.. Probably I'm being importunate.. if so, just command me to sit > silent and wait. ;-) But how ab

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

2008-01-17 Thread Marian Balakowicz
Hi, Paul Mackerras wrote: > Includes commits pulled from Josh Boyer's tree. > Will you be willing to pick up this one? It's a generic powerpc patch, so I'm not sure where else to direct it. [POWERPC] Add 'model: ...' line to common show_cpuinfo() http://patchwork.ozlabs.org/linuxppc/patch?id=146

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:

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: 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/

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

[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: [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: 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: 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: [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: 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: 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: [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: 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: 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: 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: [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/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: 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

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: [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

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

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: [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.

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 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: [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

[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

[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.

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

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: 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

[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 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 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

[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 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 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 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 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

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

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

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: 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

[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

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,

[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

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-

[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 ++

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

[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 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: 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: [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: [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: 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: 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 _

[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 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

[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: 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 =

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

[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: [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

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

[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: 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 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

[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 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

  1   2   >