Re: [PATCH 3/3] powerpc: Use form 1 affinity to setup node distance

2010-05-05 Thread Benjamin Herrenschmidt
On Fri, 2010-04-30 at 14:43 +1000, Anton Blanchard wrote: > Form 1 affinity allows multiple entries in ibm,associativity-reference-points > which represent affinity domains in decreasing order of importance. The > Linux concept of a node is always the first entry, but using the other > values as an

Re: [PATCH resend] mpc5121_nfc: Changed SVR check to allow MPC5123.

2010-05-05 Thread Artem Bityutskiy
On Wed, 2010-05-05 at 13:48 -0500, Steve Deiters wrote: > The revision in SVR for MPC5123 is 3. The NFC is the same as MPC5121 > revision 2. > > Signed-off-by: Steve Deiters > --- > drivers/mtd/nand/mpc5121_nfc.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/

Re: Page fault on vmalloc'ed memory

2010-05-05 Thread Li Yang
On Wed, May 5, 2010 at 7:51 PM, Timur Tabi wrote: > On Wed, May 5, 2010 at 12:19 AM, Li Yang-R58472 wrote: >> I got a weird page fault oops on vmalloc'ed area.  Digging into the powerpc >> do_page_fault(), I found there is no handling of address in kernel space >> unlike the x86 counter part.  

[PATCH] powerpc: Disable CONFIG_SYSFS_DEPRECATED

2010-05-05 Thread Anton Blanchard
CONFIG_SYSFS_DEPRECATED can cause issues with newer distros and should not be required for any distro in the last 3 or 4 years, so disable it. Signed-off-by: Anton Blanchard --- diff --git a/arch/powerpc/configs/40x/acadia_defconfig b/arch/powerpc/configs/40x/acadia_defconfig index 8e95f8d..4a

Re: [PATCH v21 011/100] eclone (11/11): Document sys_eclone

2010-05-05 Thread Sukadev Bhattiprolu
Randy Dunlap [randy.dun...@oracle.com] wrote: | > + base of the region allocated for stack. These architectures | > + must pass in the size of the stack-region in ->child_stack_size. | |stack region | | Seems unfortunate that differe

Re: [Patch v2 1/2] 5200/mpc: improve i2c bus error recovery

2010-05-05 Thread Ira W. Snyder
On Wed, Feb 17, 2010 at 07:59:14PM +0100, Albrecht Dreß wrote: > This patch improves the recovery of the MPC's I2C bus from errors like bus > hangs resulting in timeouts: > 1. make the bus timeout configurable, as it depends on the bus clock and > the attached slave chip(s); default is still 1

Re: [PATCH v21 011/100] eclone (11/11): Document sys_eclone

2010-05-05 Thread Randy Dunlap
On Sat, 1 May 2010 10:14:53 -0400 Oren Laadan wrote: > From: Sukadev Bhattiprolu > > This gives a brief overview of the eclone() system call. We should > eventually describe more details in existing clone(2) man page or in > a new man page. > > Signed-off-by: Sukadev Bhattiprolu > Acked-by:

[PATCH 2/3] virtio: console: Store each console's size in the console structure

2010-05-05 Thread Amit Shah
With support for multiple consoles, just using one {rows,cols} pair in the config space is not going to suffice. Store each console's size as part of the console struct. This changes the behaviour for one case when multiport is not enabled: when notifier_add_vio() is called, the console size is t

[PATCH 3/3] virtio: console: Accept console size along with resize control message

2010-05-05 Thread Amit Shah
The VIRTIO_CONSOLE_RESIZE control message sent to us by the host now contains the new {rows, cols} values for the console. This ensures each console port gets its own size, and we don't depend on the config-space rows and cols values at all now. Signed-off-by: Amit Shah CC: Christian Borntraeger

[PATCH 1/3] virtio: console: Resize console port 0 on config intr only if multiport is off

2010-05-05 Thread Amit Shah
When using multiport, we'll use control messages. Ensure we don't accidentally update port 0 size on config interrupts. Signed-off-by: Amit Shah CC: Christian Borntraeger CC: linuxppc-...@ozlabs.org CC: Kusanagi Kouichi --- drivers/char/virtio_console.c | 17 ++--- 1 files change

[PATCH resend] mpc5121_nfc: Changed SVR check to allow MPC5123.

2010-05-05 Thread Steve Deiters
The revision in SVR for MPC5123 is 3. The NFC is the same as MPC5121 revision 2. Signed-off-by: Steve Deiters --- drivers/mtd/nand/mpc5121_nfc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index 191b

Re: Kernel errors at very early stage

2010-05-05 Thread Xianghua Xiao
On Wed, May 5, 2010 at 3:27 AM, Dunda, Matthias wrote: > Hi all- > > we've built a custom board with a FSL MPC8568EMDS CPU. > > U-Boot works so far - at least it is able to load a Linux kernel and a > flattened device tree via network and launch the kernel. > > I get no output on the serial consol

[PATCH]460EX on-chip SATA driver < resubmission >

2010-05-05 Thread Rupjyoti Sarmah
This patch enables the on-chip DWC SATA controller of the AppliedMicro processor 460EX. Signed-off-by: Rupjyoti Sarmah Signed-off-by: Mark Miesfeld Signed-off-by: Prodyut Hazarika --- arch/powerpc/boot/dts/canyonlands.dts |8 + drivers/ata/Kconfig |9 + drivers/ata/

Re: question about cpm_uart_cpm2.c "Section mismatch in reference from the function cpm_uart_allocbuf"

2010-05-05 Thread Scott Wood
On Wed, May 05, 2010 at 07:19:18PM +0800, xiaokun wrote: > I am using MPC8272ADS_20080623-ltib.iso from freescale > > The Linux Kernel is 2.6.25. > > When I make uImage, the error message is : > > WARNING: vmlinux.o(.text+0x159450): Section mismatch in reference from the > function cpm_uart_all

Please pull 'next' branch of 4xx tree

2010-05-05 Thread Josh Boyer
Hi Ben, A late pull request for -next, so my apologies in advance. This contains the first 7 patches of the 476 series. I did a build/boot test on 440EPx for each patch individually and fixed up a few minor issues. The 440EPx seems to be running just fine for all of them. This also has the res

Re: [alsa-devel] [PATCH 1/2] powerpc/8610: add probing for individual DMA channels, not just DMA controllers

2010-05-05 Thread Timur Tabi
Mark Brown wrote: > On Wed, May 05, 2010 at 06:39:01AM -0500, Timur Tabi wrote: >> On Wed, May 5, 2010 at 6:22 AM, Mark Brown > >>> Just looking at the scheduling here with regard to the merge window and >>> the fact that this doesn't seem to hurt the existing drivers perhaps it >>> makes sense to

[PATCH] media/IR: Add missing include file to rc-map.c

2010-05-05 Thread Peter Hüwe
From: Peter Huewe This patch adds a missing include linux/delay.h to prevent build failures[1-5] Signed-off-by: Peter Huewe --- KernelVersion: linux-next-20100505 References: [1] http://kisskb.ellerman.id.au/kisskb/buildresult/2571452/ [2] http://kisskb.ellerman.id.au/kisskb/buildresult

Re: [PATCH v21 001/100] eclone (1/11): Factor out code to allocate pidmap page

2010-05-05 Thread Oren Laadan
Hi David, I suppose you are looking for more details than those found in the current patch-0 (http://lkml.org/lkml/2010/5/1/140). We omitted them for brevity sake; here is a link to patch-0 of a previous post of the patchset: http://lkml.org/lkml/2009/9/23/423 Thanks, Oren. David Howells wr

Re: [PATCH 06/13] powerpc/4xx: Simple platform for the ISS 4xx simulator

2010-05-05 Thread Dave Kleikamp
On Wed, 2010-05-05 at 11:11 -0400, Josh Boyer wrote: > On Fri, Mar 05, 2010 at 01:45:54PM -0700, Dave Kleikamp wrote: > >+config ISS4xx > >+bool "ISS 4xx Simulator" > >+depends on (44x || 40x) > >+default n > >+select 405GP if 40x > >+select 440GP if 44x && !PPC_47x > >+sele

Re: [PATCH 06/13] powerpc/4xx: Simple platform for the ISS 4xx simulator

2010-05-05 Thread Josh Boyer
On Fri, Mar 05, 2010 at 01:45:54PM -0700, Dave Kleikamp wrote: >+config ISS4xx >+ bool "ISS 4xx Simulator" >+ depends on (44x || 40x) >+ default n >+ select 405GP if 40x >+ select 440GP if 44x && !PPC_47x >+ select PPC_FPU >+ select OF_RTC >+ help >+T

Re: question about cpm_uart_cpm2.c "Section mismatch in reference from the function cpm_uart_allocbuf"

2010-05-05 Thread Guillaume Knispel
On Wed, 5 May 2010 19:19:18 +0800 xiaokun wrote: > I am using MPC8272ADS_20080623-ltib.iso from freescale > > The Linux Kernel is 2.6.25. > > When I make uImage, the error message is : > > WARNING: vmlinux.o(.text+0x159450): Section mismatch in reference from the > function cpm_uart_allocbuf(

question about cpm_uart_cpm2.c "Section mismatch in reference from the function cpm_uart_allocbuf"

2010-05-05 Thread xiaokun
I am using MPC8272ADS_20080623-ltib.iso from freescale The Linux Kernel is 2.6.25. When I make uImage, the error message is : WARNING: vmlinux.o(.text+0x159450): Section mismatch in reference from the function cpm_uart_allocbuf() to the function .init.text:__alloc_bootmem() The function cpm_uar

Re: [PATCH] kexec-tools, ppc64: fix build error on ppc64

2010-05-05 Thread Maxim Uvarov
2010/5/5 Simon Horman > On Wed, May 05, 2010 at 01:35:21PM +1000, Michael Neuling wrote: > > > > > > In message <20100505023316.gf13...@verge.net.au> you wrote: > > > On Wed, May 05, 2010 at 11:48:53AM +1000, Michael Neuling wrote: > > > > 6adc05c6e3fdbc8b9f5d915af78ca05d0a09cb17 "some kexec MIPS

Re: [PATCH 04/13] powerpc/476: add machine check handler for 47x core

2010-05-05 Thread Dave Kleikamp
On Wed, 2010-05-05 at 08:59 -0400, Josh Boyer wrote: > On Wed, May 05, 2010 at 08:27:01AM -0400, Josh Boyer wrote: > >>+int machine_check_47x(struct pt_regs *regs) > >>+{ > >>+ unsigned long reason = get_mc_reason(regs); > >>+ u32 mcsr; > >>+ > >>+ printk(KERN_ERR "Machine check in kernel mod

Re: [PATCH 04/13] powerpc/476: add machine check handler for 47x core

2010-05-05 Thread Josh Boyer
On Wed, May 05, 2010 at 08:27:01AM -0400, Josh Boyer wrote: >>+int machine_check_47x(struct pt_regs *regs) >>+{ >>+ unsigned long reason = get_mc_reason(regs); >>+ u32 mcsr; >>+ >>+ printk(KERN_ERR "Machine check in kernel mode.\n"); >>+ if (reason & ESR_IMCP) { >>+ prin

Re: [PATCH] serial: mpc52xx_uart: fix null pointer dereference

2010-05-05 Thread Leonardo Chiquitto
On Tue, May 4, 2010 at 7:18 PM, Anatolij Gustschin wrote: > Commit 6acc6833510db8f72b5ef343296d97480555fda9 > introduced NULL pointer dereference and kernel crash > on ppc32 machines while booting. Fix this bug now. > > Reported-by: Leonardo Chiquitto > Signed-off-by: Anatolij Gustschin > --- >

Re: [alsa-devel] [PATCH 1/2] powerpc/8610: add probing for individual DMA channels, not just DMA controllers

2010-05-05 Thread Mark Brown
On Wed, May 05, 2010 at 06:39:01AM -0500, Timur Tabi wrote: > On Wed, May 5, 2010 at 6:22 AM, Mark Brown > > Just looking at the scheduling here with regard to the merge window and > > the fact that this doesn't seem to hurt the existing drivers perhaps it > > makes sense to merge this via the Pow

Re: [PATCH 04/13] powerpc/476: add machine check handler for 47x core

2010-05-05 Thread Josh Boyer
On Fri, Mar 05, 2010 at 06:43:18AM -0700, Dave Kleikamp wrote: >powerpc/476: add machine check handler for 47x core > >From: Dave Kleikamp > >The 47x core's MCSR varies from 44x, so it needs it's own machine check >handler. > >Signed-off-by: Dave Kleikamp >--- > > arch/powerpc/include/asm/cputabl

Re: Page fault on vmalloc'ed memory

2010-05-05 Thread Timur Tabi
On Wed, May 5, 2010 at 12:19 AM, Li Yang-R58472 wrote: > I got a weird page fault oops on vmalloc'ed area.  Digging into the powerpc > do_page_fault(), I found there is no handling of address in kernel space > unlike the x86 counter part.  Does any one know how we deal with the > vmalloc'ed are

Re: [alsa-devel] [PATCH 1/2] powerpc/8610: add probing for individual DMA channels, not just DMA controllers

2010-05-05 Thread Timur Tabi
On Wed, May 5, 2010 at 6:22 AM, Mark Brown wrote: > Just looking at the scheduling here with regard to the merge window and > the fact that this doesn't seem to hurt the existing drivers perhaps it > makes sense to merge this via the PowerPC tree immediately? Aren't we a little late in the cycle

Re: [PATCH 1/2] powerpc/8610: add probing for individual DMA channels, not just DMA controllers

2010-05-05 Thread Mark Brown
On Tue, May 04, 2010 at 12:20:13PM -0500, Kumar Gala wrote: > On May 3, 2010, at 4:54 PM, Timur Tabi wrote: > > A future version of the MPC8610 HPCD's ASoC DMA driver will probe on > > individual > > DMA channel nodes, so the DMA controller nodes' compatible string must be > > listed > > in mpc8

Kernel errors at very early stage

2010-05-05 Thread Dunda, Matthias
Hi all- we've built a custom board with a FSL MPC8568EMDS CPU. U-Boot works so far - at least it is able to load a Linux kernel and a flattened device tree via network and launch the kernel. I get no output on the serial console from the kernel, so my only chance is to read out the __log_buf whi

Re: [PATCH] kexec-tools, ppc64: fix build error on ppc64

2010-05-05 Thread Simon Horman
On Wed, May 05, 2010 at 11:46:25AM +0400, Maxim Uvarov wrote: > 2010/5/5 Simon Horman > > > On Wed, May 05, 2010 at 01:35:21PM +1000, Michael Neuling wrote: > > > > > > > > > In message <20100505023316.gf13...@verge.net.au> you wrote: > > > > On Wed, May 05, 2010 at 11:48:53AM +1000, Michael Neul