Re: [PATCH] powerpc: Fix potential compile error irqs_disabled_flags

2009-10-22 Thread Kumar Gala
On Oct 22, 2009, at 12:58 AM, Michael Neuling wrote: irqs_disabled_flags is #defined in linux/irqflags.h when CONFIG_TRACE_IRQFLAGS_SUPPORT is enabled. This fixes the case when someone needs to include both linux/ irqflags.h and asm/hw_irq.h. Signed-off-by: Michael Neuling

[PATCH] powerpc: Fix potential compile error irqs_disabled_flags

2009-10-22 Thread Michael Neuling
irqs_disabled_flags is #defined in linux/irqflags.h when CONFIG_TRACE_IRQFLAGS_SUPPORT is enabled. 64 and 32 bit always have CONFIG_TRACE_IRQFLAGS_SUPPORT enabled so just remove irqs_disabled_flags. This fixes the case when someone needs to include both linux/irqflags.h and asm/hw_irq.h.

Re: UBIFS problem on MPC8536DS

2009-10-22 Thread Felix Radensky
Hi, Scott Scott Wood wrote: On Fri, Oct 16, 2009 at 07:01:43AM +0200, Felix Radensky wrote: Thanks for confirmation. So the real problem is eLBC ? What happens if I access other devices on eLBC (e.g. FPGA) simultaneously with NAND or NOR ? AFAICT, the problem is NAND being accessed

Re: [PATCH] powerpc: Move ehea hcall definitions into hvcall.h

2009-10-22 Thread Thomas Klein
Anton Blanchard wrote: Move ehea hcall definitions into hvcall.h. Signed-off-by: Anton Blanchard an...@samba.org Acked-by: Thomas Klein tkl...@de.ibm.com --- Index: linux.trees.git/arch/powerpc/include/asm/hvcall.h === ---

Execute In Place (XIP) support for PPC440x5

2009-10-22 Thread Mohit Mewada
Hi List, I am trying to port a board with PPC440x5 on linux-2.6.31. My board has 64MB of flash and 256KB of RAM. Since with this much RAM it is not possible to copy the kernel image to RAM and boot it from there. I was trying to figure-out option in the kernel which will allow me to execute it

Query: Does Linux kernel 2.6.31 support read/write/erase on ST make M29W128GH Flash memory chip?

2009-10-22 Thread prakash bedge
Hi All, I am searching for M29W128GH support in Linux kernel 2.6.31. On internet I am seeing that there is some patch work for fixup on write buffer coomand on M29W128GH. This shows that Linux kernel 2.6.31 supports the M29W128GH. But I am not seeing any memory mapping for M29W128GH. Can anyone

How to mount rootfs though harddisk when booting?

2009-10-22 Thread wilbur.chan
mpc85xx with sata harddisk,which has a rootfs on sda3. I ' ve tried to use freescale's kernel image , which is togehther with the mpc85xx board, to successfully mount the sda3 filesystem when booting, But when I used my own kernle, it failed: I am using kernel 2.6.21.7 to mount the

Re: How to mount rootfs though harddisk when booting?

2009-10-22 Thread Kumar Gala
On Oct 22, 2009, at 9:08 AM, wilbur.chan wrote: mpc85xx with sata harddisk,which has a rootfs on sda3. I ' ve tried to use freescale's kernel image , which is togehther with the mpc85xx board, to successfully mount the sda3 filesystem when booting, But when I used my own kernle, it

Re: [PATCH 3/5 v4] Export memory_sysdev_class

2009-10-22 Thread Nathan Fontenot
Dave Hansen wrote: On Wed, 2009-10-21 at 09:44 -0500, Nathan Fontenot wrote: Export the memory_sysdev_class structure. This is needed so we can create a 'release' file in sysfs in addition to the existing 'probe' file in order to support DLPAR removal of memory on the powerpc/pseries

Re: [PATCH 3/5 v4] Export memory_sysdev_class

2009-10-22 Thread Dave Hansen
On Thu, 2009-10-22 at 10:31 -0500, Nathan Fontenot wrote: Dave Hansen wrote: On Wed, 2009-10-21 at 09:44 -0500, Nathan Fontenot wrote: Export the memory_sysdev_class structure. This is needed so we can create a 'release' file in sysfs in addition to the existing 'probe' file in order to

Re: UBIFS problem on MPC8536DS

2009-10-22 Thread Scott Wood
Felix Radensky wrote: Are you aware of Freescale plans to fix the problem in new silicon revisions ? I don't know anything yet -- still trying to get in touch with the relevant hardware people. Also, can you please tell what CPUs are affected by this, except 8536 and 8572. I suppose

RE: Device Tree Corrupted after unflatten_device_tree()

2009-10-22 Thread Lixin Yao
Hi, David/Michael, Great great finding! I added halting FEC (the Ethernet controller in MPC866) in platforms_fixups() and the problem disappears. Thank you very much! Lixin -Original Message- From: David Gibson [mailto:da...@gibson.dropbear.id.au] Sent: Wednesday, October 21, 2009

[PATCH 2/2][v5] powerpc: Make the CMM memory hotplug aware

2009-10-22 Thread Robert Jennings
The Collaborative Memory Manager (CMM) module allocates individual pages over time that are not migratable. On a long running system this can severely impact the ability to find enough pages to support a hotplug memory remove operation. This patch adds a memory isolation notifier and a memory

Page map BUG on program exit

2009-10-22 Thread Jonathan Haws
All, I am using a 405EX CPU on a custom board. The layout and hardware is very similar to the AMCC Kilauea board. Here is the output of uname -a: Linux (none) 2.6.30.3-wolverine-dirty #3 PREEMPT Thu Sep 10 11:41:37 MDT 2009 ppc unknown I am getting the following BUG output when my program

Re: [PATCH] BUILD_BUG_ON: make it handle more cases

2009-10-22 Thread Hollis Blanchard
On Tue, 2009-10-20 at 14:15 +1030, Rusty Russell wrote: BUILD_BUG_ON used to use the optimizer to do code elimination or fail at link time; it was changed to first the size of a negative array (a nicer compile time error), then (in 8c87df457cb58fe75b9b893007917cf8095660a0) to a bitfield.

Guarded load and bus error

2009-10-22 Thread Micha Nelissen
Hi, I'm working on a MPC8548 processor, using its RapidIO bus. I have two kernel trees ported for a board, a linux 2.6.24-ppc, and a linux-2.6.31 (powerpc) kernel. I don't think this bus behaviour is RapidIO specific though, as also the PCI bus and local bus must handle malfunctioning

i2c/janitoral: drop NO_IRQ from the subsystem

2009-10-22 Thread Wolfram Sang
Hello, after having to deal with NO_IRQ confusion more than once, I decided to start a bit of janitorial work and remove it from the i2c-subsystem. Detail for better using 0 as no irq can be found here: http://lkml.org/lkml/2005/11/21/221 Regards, Wolfram

[PATCH 1/3] i2c/mpc: drop NO_IRQ

2009-10-22 Thread Wolfram Sang
Drop NO_IRQ as 0 is the preferred way to describe 'no irq' (http://lkml.org/lkml/2005/11/21/221). This change is safe, as the driver is only used on powerpc, where NO_IRQ is 0 anyhow. Signed-off-by: Wolfram Sang w.s...@pengutronix.de Cc: Grant Likely grant.lik...@secretlab.ca Cc: Ben Dooks

[PATCH 2/3] i2c/cpm: drop NO_IRQ

2009-10-22 Thread Wolfram Sang
Drop NO_IRQ as 0 is the preferred way to describe 'no irq' (http://lkml.org/lkml/2005/11/21/221). This change is safe, as the driver is only used on powerpc, where NO_IRQ is 0 anyhow. Signed-off-by: Wolfram Sang w.s...@pengutronix.de Cc: Jochen Friedrich joc...@scram.de Cc: Ben Dooks

[PATCH 3/3] i2c/ibm-iic: drop NO_IRQ

2009-10-22 Thread Wolfram Sang
Drop NO_IRQ as 0 is the preferred way to describe 'no irq' (http://lkml.org/lkml/2005/11/21/221). This change is safe, as the driver is only used on powerpc, where NO_IRQ is 0 anyhow. Signed-off-by: Wolfram Sang w.s...@pengutronix.de Cc: Sean MacLennan smaclen...@pikatech.com Cc: Ben Dooks

Re: Page map BUG on program exit

2009-10-22 Thread Jake Magee
Here ya go Jonathan, http://patchwork.ozlabs.org/patch/34047/ http://patchwork.ozlabs.org/patch/34113/ Both patches work for my situation, but I went with the second set as a final patch(34113). - Jake Magee On Thu, Oct 22, 2009 at 3:57 PM, Jonathan Haws jonathan.h...@sdl.usu.eduwrote: All,

Re: [PATCH] BUILD_BUG_ON: make it handle more cases

2009-10-22 Thread Américo Wang
On Tue, Oct 20, 2009 at 10:43 PM, Alan Jenkins sourcejedi.l...@googlemail.com wrote: On 10/20/09, Américo Wang xiyou.wangc...@gmail.com wrote: On Tue, Oct 20, 2009 at 02:15:33PM +1030, Rusty Russell wrote: BUILD_BUG_ON used to use the optimizer to do code elimination or fail at link time; it was