Re: 2.6.24-rc8-mm1 Kernel oops will running kernbench

2008-01-18 Thread Andrew Morton
On Fri, 18 Jan 2008 14:06:00 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > Following oops was seen while running kernbench on one of test machine > (power4+ box). I tried reproducing the oops but was unsuccessful. > I will try to reproduce the oops with debug info compiled.

Re: 2.6.24-rc8-mm1 Kernel oops will running kernbench

2008-01-18 Thread Kamalesh Babulal
Hi Andrew, Following oops was seen while running kernbench on one of test machine (power4+ box). I tried reproducing the oops but was unsuccessful. I will try to reproduce the oops with debug info compiled. Oops: Kernel access of bad area, sig: 11 [#1] SMP NR_CPUS=32 NUMA pSeries Modules linked

Re: 2.6.24-rc8-mm1 Kernel oops will running kernbench

2008-01-18 Thread Paul Mackerras
Andrew Morton writes: > On Fri, 18 Jan 2008 14:06:00 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > > > Hi Andrew, > > > > Following oops was seen while running kernbench on one of test machine > > (power4+ box). I tried reproducing the oops but was unsuccessful. > > I will try to reproduc

[PATCH] add modalias info to mv643xx_eth.ko

2008-01-18 Thread Olaf Hering
mv643xx_eth has an platform modalias file in sysfs. But the module itself has no alias: line. Autoloading fails without the alias info in the module. Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> --- drivers/net/mv643xx_eth.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/net/mv643xx_e

Re: 2.6.24-rc8-mm1 Kernel oops will running kernbench

2008-01-18 Thread Kamalesh Babulal
Paul Mackerras wrote: > Andrew Morton writes: > >> On Fri, 18 Jan 2008 14:06:00 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> >> wrote: >> >>> Hi Andrew, >>> >>> Following oops was seen while running kernbench on one of test machine >>> (power4+ box). I tried reproducing the oops but was unsuccessfu

Re: 2.6.24-rc8-mm1 Kernel oops will running kernbench

2008-01-18 Thread Paul Mackerras
Kamalesh Babulal writes: > >>> NIP: 4570 LR: 0fc42dc0 CTR: > >>> REGS: c0077b6bf8c0 TRAP: 0300 Not tainted (2.6.24-rc8-mm1-autotest) > >>> MSR: 80001000 CR: 28022422 XER: > >>> DAR: c0077b6bfce0, DSISR: 0a00 Actually,

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

2008-01-18 Thread Balbir Singh
* Michael Ellerman <[EMAIL PROTECTED]> [2008-01-18 16:44:58]: > 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 > > >

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

2008-01-18 Thread Balbir Singh
* Michael Ellerman <[EMAIL PROTECTED]> [2008-01-18 16:55:03]: > 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

RE: [PATCH 0/3] UCC TDM driver for MPC83xx platforms

2008-01-18 Thread Aggrwal Poonam
Hello All The TDM driver just now does not have a proper framework. Probably the interface cannot be generalised as such. Hence we could not decide whether it would be right to think of a TDM framework. Infact the interface this TDM driver(for MPC8323ERDB) supplies may not be usable for some other

Re: 2.6.24-rc8-mm1 Kernel oops will running kernbench

2008-01-18 Thread Balbir Singh
* Kamalesh Babulal <[EMAIL PROTECTED]> [2008-01-18 16:14:00]: > Paul Mackerras wrote: > > Kamalesh Babulal writes: > > > > NIP: 4570 LR: 0fc42dc0 CTR: > > REGS: c0077b6bf8c0 TRAP: 0300 Not tainted > > (2.6.24-rc8-mm1-autotest) > > MSR:

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

2008-01-18 Thread Sergej Stepanov
> + /* "Serial" port/SCC1 */ > + scc1: [EMAIL PROTECTED] { > + device_type = "serial"; > + compatible = "fsl,mpc8248-scc-uart", > + "fsl,cpm2-scc-uart"; > +

Re: 2.6.24-rc8-mm1 Kernel oops will running kernbench

2008-01-18 Thread Paul Mackerras
Kamalesh Babulal writes: > I tried reproducing the problem and was successful with following trace > in which the pc is at 0x4570 as the above one What did you do to trigger it? > c0004544 : > c0004544: 71 8a 40 00 andi. r10,r12,16384 > c0004548: 7c 2a 0

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

2008-01-18 Thread Balbir Singh
* Michael Ellerman <[EMAIL PROTECTED]> [2008-01-18 16:34:53]: > 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: 2.6.24-rc8-mm1 Kernel oops will running kernbench

2008-01-18 Thread Kamalesh Babulal
Paul Mackerras wrote: > Kamalesh Babulal writes: > > NIP: 4570 LR: 0fc42dc0 CTR: > REGS: c0077b6bf8c0 TRAP: 0300 Not tainted (2.6.24-rc8-mm1-autotest) > MSR: 80001000 CR: 28022422 XER: > DAR: c0077b6bfce0, DSISR: 0

RE: [PATCH 0/3] UCC TDM driver for MPC83xx platforms

2008-01-18 Thread Joakim Tjernlund
On Fri, 2008-01-18 at 17:28 +0530, Aggrwal Poonam wrote: > Hello All > > The TDM driver just now does not have a proper framework. Probably the > interface cannot be generalised as such. Hence we could not decide > whether it would be right to think of a TDM framework. Infact the > interface this

ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-18 Thread Michel Dänzer
This is on a PowerBook5,8. In a nutshell, things seem more sluggish in general than with 2.6.23. But in particular, processes running at nice levels >0 can get most of the CPU cycles available, slowing down processes running at nice level 0. I've seen this since .24-rc5 (the first .24-rc I tried

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

2008-01-18 Thread Kumar Gala
On Jan 18, 2008, at 8:48 AM, Timur Tabi wrote: > Kumar Gala wrote: > >> Can you respin this. It doesn't apply cleanly to my tree. > > Ok, but I have a feeling that the merge between alsa-git and powerpc- > git is going to be ugly. Really, it would seem ok in that the powerpc stuff is only touc

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

2008-01-18 Thread Scott Wood
On Fri, Jan 18, 2008 at 12:07:07PM +0100, Sergej Stepanov wrote: > > > + /* "Serial" port/SCC1 */ > > + scc1: [EMAIL PROTECTED] { > > + device_type = "serial"; > > + compatible = "fsl,mpc8248-scc-uart", > > +

Re: 2.6.24-rc8-mm1 Kernel oops will running kernbench

2008-01-18 Thread Milton Miller
Paul Mackerras writes: > Kamalesh Babulal writes: > > > I tried reproducing the problem and was successful with following > trace > > in which the pc is at 0x4570 as the above one > > What did you do to trigger it? > > > c0004544 : > > c0004544: 71 8a 40 00 andi. r10,r

[PATCH 6/7] [POWERPC] Get rid of conditional includes of board specific setup

2008-01-18 Thread Jochen Friedrich
Directly include mpc885ads.h from mpc885ads_setup.c. Now we can get rid of the arch dependent includes in mpc8xx.h. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/mpc885ads_setup.c |2 + include/asm-powerpc/mpc8xx.h | 29 --

[PATCH 4/7] [POWERPC] Remove declaration of m8xx_pic_init.

2008-01-18 Thread Jochen Friedrich
m8xx_pic_init is declared in ppc8xx_pic.h but defined nowhere in the ppc tree. Remove it. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/ppc/syslib/ppc8xx_pic.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/ppc/syslib/ppc8xx_pic.h b/arch/ppc/syslib/pp

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

2008-01-18 Thread Kumar Gala
On Fri, 18 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]> > --- > > Rebased for Kumar's repo. > > Documentation/powerpc/booting-without-

[RFC/PATCH 0/2] mpc5200: tidy up the device tree bindings

2008-01-18 Thread Grant Likely
These two patches make the device tree bindings for 5200 platforms more robust and match closer with the generic names recommended practice. Please review and comment. Cheers, g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. ___ Linuxppc-d

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

2008-01-18 Thread Timur Tabi
Kumar Gala wrote: > Can you respin this. It doesn't apply cleanly to my tree. Ok, but I have a feeling that the merge between alsa-git and powerpc-git is going to be ugly. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing li

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-18 Thread Matt Mackall
On Fri, 2008-01-18 at 18:23 +0100, Mariusz Kozlowski wrote: > Hello, > > > > 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 t

[patch 12/16] PS3: Add logical performance monitor device support

2008-01-18 Thread Geoff Levand
Add PS3 logical performance monitor device support to the PS3 system-bus and platform device registration routines. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- v2: o Add enum ps3_lpm_tb_type. o Remove redundant enclosing structure and return proper error codes from ps3_register_l

[patch 11/16] PS3: Add logical performance monitor repository routines

2008-01-18 Thread Geoff Levand
From: Takashi Yamamoto <[EMAIL PROTECTED]> Add repository routines for the PS3 Logical Performance Monitor. Signed-off-by: Takashi Yamamoto <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- v2: o Correct Yamamoto-san's mail addr. v3: o Change num_pu and pu_id to type u64.

[patch 16/16] PS3: Update ps3_defconfig

2008-01-18 Thread Geoff Levand
Update ps3_defconfig. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/configs/ps3_defconfig | 49 ++--- 1 file changed, 35 insertions(+), 14 deletions(-) --- a/arch/powerpc/configs/ps3_defconfig +++ b/arch/powerpc/configs/ps3_defconfig @@ -1,7 +

[patch 15/16] PS3: Revove use lpar address workaround

2008-01-18 Thread Geoff Levand
Remove the PS3 workaround needed to support sparsemem SPU mappings. The SPU mappings no longer use sparsemem, so this workaround is no longer needed. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/platforms/ps3/Kconfig | 11 --- arch/powerpc/platforms/ps3/mm.c| 1

[patch 13/16] PS3: Add logical performance monitor driver support

2008-01-18 Thread Geoff Levand
From: Takashi Yamamoto <[EMAIL PROTECTED]> Add PS3 logical performance monitor (lpm) device driver. The PS3's LV1 hypervisor provides a Logical Performance Monitor that abstracts the Cell processor's performance monitor features for use by guest operating systems. Signed-off-by: Takashi Yamamoto

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

2008-01-18 Thread Scott Wood
Kumar Gala wrote: > So I'll ask, what serial input are you waiting for from the boot wrapper? The bootwrapper has a command line editing prompt. It's fairly gratuitous in the presence of semi-decent firmware, but it's there nonetheless. -Scott ___ Li

External audio clock with MPC5200B

2008-01-18 Thread Jon Smirl
Has anyone tried using an external audio clock chip with the MPC5200B? We've discovered that the on-chip clock dividers aren't flexible enough and have too much error in the final frequencies. The level of error is ok for iPod type use but not for playing broadcast music. 192K sample rate is totall

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

2008-01-18 Thread Jochen Friedrich
Hi Kumar, >> Ok now that makes sense, thanks > > So I'll ask, what serial input are you waiting for from the boot wrapper? It's the editor for the kernel command line. Thanks, Jochen ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs

Re: [PATCH] fsl_soc: Fix get_immrbase() to use ranges, rather than reg.

2008-01-18 Thread Kumar Gala
On Mon, 14 Jan 2008, Scott Wood wrote: > The reg property in fsl soc nodes should be removed. > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > --- > arch/powerpc/sysdev/fsl_soc.c | 14 +++--- > 1 files changed, 11 insertions(+), 3 deletions(-) applied. (dropped the size == 12 check

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

2008-01-18 Thread Kumar Gala
On Jan 18, 2008, at 2:40 PM, Alan Cox wrote: > On Fri, 18 Jan 2008 19:47:43 +0100 > Jochen Friedrich <[EMAIL PROTECTED]> wrote: > >> Hi Alan, >> If a freescale watchdog device node is present, reset the watchdog while waiting for serial input. >>> >>> Why ? We normally rely on user spac

Re: crash in kmem_cache_init

2008-01-18 Thread Christoph Lameter
On Fri, 18 Jan 2008, Mel Gorman wrote: > static void check_for_regular_memory(pg_data_t *pgdat) > { > #ifdef CONFIG_HIGHMEM > enum zone_type zone_type; > > for (zone_type = 0; zone_type <= ZONE_NORMAL; zone_type++) { > struct zone *zone = &pgdat->node_zones[zone_ty

Re: [PATCH 05/10] powerpc: Add crash kernel support for 85xx

2008-01-18 Thread Dale Farnsworth
On Fri, Jan 18, 2008 at 04:29:23PM -0600, Kumar Gala wrote: > On Dec 14, 2007, at 11:23 AM, Dale Farnsworth wrote: >> On Fri, Dec 14, 2007 at 10:48:58AM -0600, Kumar Gala wrote: >>> On Nov 22, 2007, at 9:46 AM, Dale Farnsworth wrote: >>> Add the ability to build a ppc_85xx kernel to run at a p

Re: crash in kmem_cache_init

2008-01-18 Thread Christoph Lameter
On Fri, 18 Jan 2008, Christoph Lameter wrote: > Memoryless nodes: Set N_NORMAL_MEMORY for a node if we do not support HIGHMEM If !CONFIG_HIGHMEM then enum node_states { #ifdef CONFIG_HIGHMEM N_HIGH_MEMORY, /* The node has regular or high memory */ #else N_HIGH_MEMORY = N

Re: [PATCH 05/10] powerpc: Add crash kernel support for 85xx

2008-01-18 Thread Kumar Gala
On Dec 14, 2007, at 11:23 AM, Dale Farnsworth wrote: > On Fri, Dec 14, 2007 at 10:48:58AM -0600, Kumar Gala wrote: >> On Nov 22, 2007, at 9:46 AM, Dale Farnsworth wrote: >> >>> Add the ability to build a ppc_85xx kernel to run at a physical >>> address of 32MB. >>> >>> Signed-off-by: Dale Farnswo

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

2008-01-18 Thread Roland Dreier
thanks, applied 1-4. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: crash in kmem_cache_init

2008-01-18 Thread Nish Aravamudan
On 1/18/08, Christoph Lameter <[EMAIL PROTECTED]> wrote: > Could you try this patch? > > Memoryless nodes: Set N_NORMAL_MEMORY for a node if we do not support > HIGHMEM > > It seems that we only scan through zones to set N_NORMAL_MEMORY only if > CONFIG_HIGHMEM and CONFIG_NUMA are set. We need to s

Re: crash in kmem_cache_init

2008-01-18 Thread Christoph Lameter
Could you try this patch? Memoryless nodes: Set N_NORMAL_MEMORY for a node if we do not support HIGHMEM It seems that we only scan through zones to set N_NORMAL_MEMORY only if CONFIG_HIGHMEM and CONFIG_NUMA are set. We need to set N_NORMAL_MEMORY in the !CONFIG_HIGHMEM case. Signed-off-by: Chris

Re: crash in kmem_cache_init

2008-01-18 Thread Mel Gorman
On (18/01/08 10:47), Christoph Lameter didst pronounce: > On Thu, 17 Jan 2008, Olaf Hering wrote: > > > early_node_map[1] active PFN ranges > > 1:0 -> 892928 > > Could not find start_pfn for node 0 > > Corrupted min_pfn? > Doubtful. Node 0 has no memory but it is still being initi

[patch 02/16] PS3: Make bus_id and dev_id u64

2008-01-18 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> Change the PS3 bus_id and dev_id from type unsigned int to u64. These IDs are 64-bit in the repository, and the special storage notification device has a device ID of ULONG_MAX. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geof

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

2008-01-18 Thread Alan Cox
On Fri, 18 Jan 2008 19:47:43 +0100 Jochen Friedrich <[EMAIL PROTECTED]> wrote: > Hi Alan, > > >> If a freescale watchdog device node is present, reset the watchdog > >> while waiting for serial input. > > > > Why ? We normally rely on user space for watchdog management as only the > > fact user

Re: [RFC/PATCH 1/2] [POWERPC] mpc5200: normalize compatible property bindings

2008-01-18 Thread John Rigby
Looks fine to me. Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > Update MPC5200 drivers to also look for compatible properties in the > form "fsl,mpc5200-*" to better conform to open firmware generic names > recommended practice as published here: > > http://www.openfirmware.org/

[patch 10/16] PS3: Checkpatch cleanups for arch/powerpc/platforms/ps3/repository.c

2008-01-18 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> Cleanup coding errors in arch/powerpc/platforms/ps3/repository.c as reported by sparse and checkpatch. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/platforms/ps3/repository.c |

[patch 09/16] PS3: Checkpatch cleanups for drivers/ps3/ps3-vuart.c

2008-01-18 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> Cleanup coding errors in drivers/ps3/ps3-vuart.c as reported by checkpatch. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- drivers/ps3/ps3-vuart.c | 16 +++- 1 files changed, 7 i

[patch 07/16] PS3: Refactor ps3_repository_find_device()

2008-01-18 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> PS3: Refactor ps3_repository_find_device() to use the existing ps3_repository_read_bus_id() routine. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/platforms/ps3/repository.c |

[patch 08/16] PS3: Checkpatch cleanups for drivers/ps3/ps3-sys-manager.c

2008-01-18 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> Cleanup coding errors in drivers/ps3/ps3-sys-manager.c as reported by checkpatch. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- drivers/ps3/ps3-sys-manager.c | 14 +++--- 1 files ch

[patch 05/16] PS3: Add repository polling loop to work around timing bug

2008-01-18 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> PS3: Add repository polling loop to work around timing bug On some firmware versions (e.g. 1.90), the storage device may not show up in the repository immediately after receiving the notification message. Add a small polling loop to make sure we don't

[PATCH v4] [POWERPC] Update MPC8610 HPCD to support audio drivers

2008-01-18 Thread Timur Tabi
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]> --- Rebased for Kumar's repo. Documentation/powerpc/booting-without-of.txt | 41 ++ arch/powerpc/boot/dts/mpc8610_hpc

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

2008-01-18 Thread Takashi Iwai
At Fri, 18 Jan 2008 09:18:14 -0600, Kumar Gala wrote: > > > On Jan 18, 2008, at 8:48 AM, Timur Tabi wrote: > > > Kumar Gala wrote: > > > >> Can you respin this. It doesn't apply cleanly to my tree. > > > > Ok, but I have a feeling that the merge between alsa-git and powerpc- > > git is going t

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

2008-01-18 Thread Scott Wood
Jochen Friedrich wrote: > +void watchdog_poke(void) > +{ > +if (wdt) { > +out_be16(&wdt->swsrr, 0x556c); > +out_be16(&wdt->swsrr, 0xaa39); > +} > +} This should be a function pointer, to allow for other watchdog types. -Scott ___

Re: Problems with PCI on 8280

2008-01-18 Thread Scott Wood
On Thu, Jan 17, 2008 at 06:27:46PM -0600, Rune Torgersen wrote: > BTW. there is a bug in the inbound window size calculation. The mem_log2 > variable sould be the shift value, not 1<< shift. and on the next line the > window size mask sould be anded with 0x000f_ before or'ed with > 0xa000_

[RFC/PATCH 2/2] [POWERPC] Efika: prune fixups and make them more carefull

2008-01-18 Thread Grant Likely
From: Grant Likely <[EMAIL PROTECTED]> Prune back Efika fixups to only include changes that are actually required to get a working system. Most of the drivers can accept the compatible properties, even if they don't match the what is recommented in the generic names recommended practice document.

[PATCH 1/7] [POWERPC] Remove unused m8xx_cpm_hostalloc/free/dump()

2008-01-18 Thread Jochen Friedrich
m8xx_cpm_hostalloc is still defined in commproc.c, but no users are left in the kernel tree. m8xx_cpm_hostfree and m8xx_cpm_hostdump are only defined in the headers. Remove this dead code. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/commproc.c | 37 --

[PATCH 0/7] [POWERPC] 8xx cleanups

2008-01-18 Thread Jochen Friedrich
Hi, this is a series against paulus for-2.6.25 tree to clean up various 8xx related stuff. The series can be pulled from git://git.bocc.de/dbox2.git cleanup. [POWERPC] Remove unused m8xx_cpm_hostalloc/free/dump() [POWERPC] Rename m8xx_pic_init to mpc8xx_pics_init [POWERPC] Remove unneeded and mi

Re: crash in kmem_cache_init

2008-01-18 Thread Olaf Hering
On Fri, Jan 18, Christoph Lameter wrote: > Could you try this patch? Does not help, same crash. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

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

2008-01-18 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/boo

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

2008-01-18 Thread Kumar Gala
On Jan 18, 2008, at 3:56 PM, Jochen Friedrich wrote: > Hi Kumar, > >>> Ok now that makes sense, thanks >> So I'll ask, what serial input are you waiting for from the boot >> wrapper? > > It's the editor for the kernel command line. thanks, learn something everyday. - k ___

[patch 01/16] POWERPC: Add Cell SPRN bookmark register

2008-01-18 Thread Geoff Levand
Add a definition for the Cell SPRN bookmark register to asm-powerpc/regs.h Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> Acked-by: Arnd Bergmann <[EMAIL PROTECTED]> --- include/asm-powerpc/reg.h |1 + 1 file changed, 1 insertion(+) --- a/include/asm-powerpc/reg.h +++ b/include/asm-powerpc/

[patch 14/16] PS3: Vuart change semaphore to mutex

2008-01-18 Thread Geoff Levand
A general housekeeping change of the PS3 vuart variable vuart_bus_priv.probe_mutex from semaphore to mutex. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- drivers/ps3/ps3-vuart.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) --- a/drivers/ps3/ps3-vuart.c +

[patch 03/16] PS3: Add ps3_repository_find_device_by_id()

2008-01-18 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> The storage probe feature of the PS3 hypervisor returns device IDs. Add the corresponding repository routine ps3_repository_find_device_by_id() which can be used to retrieve the device info from the repository. Signed-off-by: Geert Uytterhoeven <[EMAIL

Re: [PATCH] add modalias info to mv643xx_eth.ko

2008-01-18 Thread Dale Farnsworth
On Fri, Jan 18, 2008 at 10:38:05AM +0100, Olaf Hering wrote: > mv643xx_eth has an platform modalias file in sysfs. > But the module itself has no alias: line. Autoloading fails > without the alias info in the module. > > Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> Acked-by: Dale Farnsworth <[E

[RFC/PATCH 1/2] [POWERPC] mpc5200: normalize compatible property bindings

2008-01-18 Thread Grant Likely
From: Grant Likely <[EMAIL PROTECTED]> Update MPC5200 drivers to also look for compatible properties in the form "fsl,mpc5200-*" to better conform to open firmware generic names recommended practice as published here: http://www.openfirmware.org/1275/practice/gnames/gnamv14a.html This patch shou

[PATCH/RFC] [POWERPC] Allow multiple images to be built when CONFIG_DEFAULT_UIMAGE set

2008-01-18 Thread Grant Likely
From: Grant Likely <[EMAIL PROTECTED]> Most of the embedded board ports select CONFIG_DEFAULT_UIMAGE so that uImage files get built by default. However, the current code casues the arch/powerpc/boot/Makefile to be called with the 'uImage' target and adds 'uImage' to the 'image-y' make variable.

[PATCH 3/7] [POWERPC] Remove unneeded and misspelled prototype m8xx_calibrate_decr

2008-01-18 Thread Jochen Friedrich
m8xx_calibrate_decr seems to be a misspelled prototype for mpc8xx_calibrate_decr. As it's not needed anyways, just remove it. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/m8xx_setup.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/ar

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

2008-01-18 Thread Alan Cox
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. Why ? We normally rely on user space for watchdog management as only the fact user space is behaving really proves

Re: crash in kmem_cache_init

2008-01-18 Thread Christoph Lameter
On Fri, 18 Jan 2008, Olaf Hering wrote: > calls cache_grow with nodeid 0 > > [c075bbd0] [c00f82d0] .cache_alloc_refill+0x234/0x2c0 > calls cache_grow with nodeid 0 > > [c075bbe0] [c00f7f38] .cache_alloc_node+0x17c/0x1e8 > > calls cache_grow with nodeid 1 > > [c

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

2008-01-18 Thread Jochen Friedrich
Scott Wood schrieb: >> +void watchdog_poke(void) >> +{ >> +if (wdt) { >> +out_be16(&wdt->swsrr, 0x556c); >> +out_be16(&wdt->swsrr, 0xaa39); >> +} >> +} > > This should be a function pointer, to allow for other watchdog types. Thanks for the comments. Stephen Rothwell also

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

2008-01-18 Thread Jochen Friedrich
Hi Alan, >> If a freescale watchdog device node is present, reset the watchdog >> while waiting for serial input. > > Why ? We normally rely on user space for watchdog management as only the > fact user space is behaving really proves a box is happy ? This is in the boot wrapper code, not in the

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-18 Thread Mariusz Kozlowski
Hello, > > 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 > elsewhere? > > Anyway, updated

Re: crash in kmem_cache_init

2008-01-18 Thread Christoph Lameter
On Thu, 17 Jan 2008, Olaf Hering wrote: > early_node_map[1] active PFN ranges > 1:0 -> 892928 > Could not find start_pfn for node 0 Corrupted min_pfn? ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listin

Re: crash in kmem_cache_init

2008-01-18 Thread Christoph Lameter
On Thu, 17 Jan 2008, Olaf Hering wrote: > Normal 892928 -> 892928 > Movable zone start PFN for each node > early_node_map[1] active PFN ranges > 1:0 -> 892928 > Could not find start_pfn for node 0 We only have a single node that is node 1? And then we initialize nodes 0 to

l2cr missing from /proc

2008-01-18 Thread Bob Brose
Why is l2cr missing from the /proc filesystem in recent 2.6 kernels? Is it a bug or design decision? It wasn't necessary since one could set it via a kernel arg however now that I'm trying to turn on cache in a 7455 and setting l3cr isn't supported from the command line I was wondering if l3cr was

[PATCH 2/7] [POWERPC] Rename m8xx_pic_init to mpc8xx_pics_init

2008-01-18 Thread Jochen Friedrich
m8xx_pic_init calls both mpc8xx_pic_init and cpm_pic_init. Renaming the function to use the same name space as the rest of the mpc8xx specific funtions and to be more meaningful. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |2 +- arch/p

[PATCH 5/7] [POWERPC] Remove sysdev/commproc.h

2008-01-18 Thread Jochen Friedrich
Move cpm1 specific prototypes to asm/commproc.h and mpc8xx specific prototypes to asm/mpc8xx.h. Adjust includes accordingly. Remove now unneeded sysdev/commproc.h. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |3 +-- arch/powerpc/platfor

[patch 00/16] PS3 patch collection for 2.6.25

2008-01-18 Thread Geoff Levand
Paul, I collected together all the unapplied PS3 patches into a series and re-based them to your for-2.6.25 branch. Patches #14 and #15 are new, but just code cleanups. All other patches have already been reviewed on the ML and have no outstanding comments or requests. Please apply for 2.6.25.

[patch 04/16] PS3: Use the HVs storage device notification mechanism properly

2008-01-18 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> The PS3 hypervisor has a storage device notification mechanism to wait until a storage device is ready. Unfortunately the storage device probing code used this mechanism in an incorrect way, needing a polling loop and handling of devices that are not ye

[patch 06/16] PS3: Kill unused ps3_repository_bump_device()

2008-01-18 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> PS3: Kill unused routine ps3_repository_bump_device(). Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/platforms/ps3/platform.h |6 -- 1 files changed, 6 deletions(-) ---

Re: crash in kmem_cache_init

2008-01-18 Thread Christoph Lameter
On Fri, 18 Jan 2008, Olaf Hering wrote: > calls cache_grow with nodeid 0 > > [c075bbd0] [c00f82d0] .cache_alloc_refill+0x234/0x2c0 > calls cache_grow with nodeid 0 > > [c075bbe0] [c00f7f38] .cache_alloc_node+0x17c/0x1e8 > > calls cache_grow with nodeid 1 > > [c

Re: crash in kmem_cache_init

2008-01-18 Thread Christoph Lameter
On Thu, 17 Jan 2008, Olaf Hering wrote: > 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. Sigh. It looks like we need alien cache structures in some cases for nodes that have no memory. W

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

2008-01-18 Thread Grant Likely
On 1/17/08, John Rigby <[EMAIL PROTECTED]> wrote: > PSCs change from 5200 to 5121 > this patch localizes the differences in > preparation for adding 5121 support > > Signed-off-by: John Rigby <[EMAIL PROTECTED]> This patch breaks the serial console on my Efika. g. -- Grant Likely, B.Sc., P.Eng.

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

2008-01-18 Thread Grant Likely
On 1/18/08, Grant Likely <[EMAIL PROTECTED]> wrote: > On 1/17/08, John Rigby <[EMAIL PROTECTED]> wrote: > > PSCs change from 5200 to 5121 > > this patch localizes the differences in > > preparation for adding 5121 support > > > > Signed-off-by: John Rigby <[EMAIL PROTECTED]> > > This patch breaks t