RapidIO: question about rionet probe call

2011-01-06 Thread Thomas Taranowski
I'm doing some work to support multiple mport architectures, and have run into an issue where the rionet_probe() function isn't being called, so my rionet net device never get's created. I've also verified that the rio_device_probe() isn't being called either. The low level rio bus driver

Re: mpc880 linux-2.6.32 slow running processes

2011-01-06 Thread michael
Hi On 01/06/2011 12:42 AM, Scott Wood wrote: On Wed, 5 Jan 2011 19:23:33 +0100 michaelmich...@evidence.eu.com wrote: diff --git a/arch/powerpc/include/asm/pte-8xx.h b/arch/powerpc/include/asm/pte-8xx.h index dd5ea95..cb67076 100644 --- a/arch/powerpc/include/asm/pte-8xx.h +++

Re: mpc880 linux-2.6.32 slow running processes

2011-01-06 Thread Joakim Tjernlund
+ /* On 8xx, cache control instructions (particularly + * dcbst from flush_dcache_icache) fault as write + * operation if there is an unpopulated TLB entry + * for the address in question. To workaround that, + * we invalidate the TLB here, thus avoiding dcbst + * misbehaviour.

Re: [PATCH] KVM: PPC: Fix SPRG get/set for Book3S and BookE

2011-01-06 Thread Marcelo Tosatti
On Wed, Dec 29, 2010 at 01:51:25PM -0600, Peter Tyser wrote: Previously SPRGs 4-7 were improperly read and written in kvm_arch_vcpu_ioctl_get_regs() and kvm_arch_vcpu_ioctl_set_regs(); Signed-off-by: Peter Tyser pty...@xes-inc.com --- I noticed this while grepping for somthing unrelated and

DMA implementation on MPC8572

2011-01-06 Thread deebul nair
Hi all I am using the MPC8572 processor. I wanted to use the DMA functionality in the powerpc board for talking to a FPGA device connected on the loacl bus. I have compiled the fsldma.c code and inserted it. On insertion the driver probes all the dma channels Can anyone tell me how to test the

RE: RapidIO: question about rionet probe call

2011-01-06 Thread Bounine, Alexandre
Did you change anything in RIO initialization sequence? For multiple mport support I had to adjust rio_init_mports/rio_init sequence. Alex. -Original Message- From: linuxppc-dev-bounces+alexandre.bounine=idt@lists.ozlabs.org [mailto:linuxppc-dev-

Re: [RFC] MPIC Bindings and Bindings for AMP Systems

2011-01-06 Thread Scott Wood
On Wed, 5 Jan 2011 20:58:36 -0600 Meador Inge meador_i...@mentor.com wrote: On 01/03/2011 02:22 PM, Scott Wood wrote: On Wed, 22 Dec 2010 23:58:09 -0600 Perhaps a something like this, with doorbell being a new standard hw-independent service with its own binding: msg1: mpic-...@1400 {

Re: DMA implementation on MPC8572

2011-01-06 Thread Ira W. Snyder
On Thu, Jan 06, 2011 at 07:54:16PM +0530, deebul nair wrote: Hi all I am using the MPC8572 processor. I wanted to use the DMA functionality in the powerpc board for talking to a FPGA device connected on the loacl bus. I have compiled the fsldma.c code and inserted it. On insertion the

Re: [RFC] MPIC Bindings and Bindings for AMP Systems

2011-01-06 Thread Blanchard, Hollis
On 01/05/2011 03:07 PM, Scott Wood wrote: On Wed, 5 Jan 2011 14:49:40 -0800 Blanchard, Hollishollis_blanch...@mentor.com wrote: On 01/05/2011 02:09 PM, Scott Wood wrote: On Wed, 5 Jan 2011 15:58:55 -0600 Meador Ingemeador_i...@mentor.com wrote: We need some sort of mapping between a

[PATCH 0/8]: Some kexec/kdump cleanups

2011-01-06 Thread Anton Blanchard
Hi, These patches have been sitting around in my tree for a while. Back when I was trying to understand the twisty maze of powerpc kexec/kdump I did a number of cleanups. Here they are. Anton ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

[PATCH 1/8] powerpc: Move all ppc_md kexec function pointers together

2011-01-06 Thread Anton Blanchard
Move all the kexec handlers together. Signed-off-by: Anton Blanchard an...@samba.org --- Index: powerpc.git/arch/powerpc/include/asm/machdep.h === --- powerpc.git.orig/arch/powerpc/include/asm/machdep.h 2011-01-07

[PATCH 2/8] powerpc/kexec: Remove ppc_md.machine_kexec_cleanup

2011-01-06 Thread Anton Blanchard
No one uses ppc_md.machine_kexec_cleanup, so remove it. Signed-off-by: Anton Blanchard an...@samba.org --- Index: powerpc.git/arch/powerpc/include/asm/machdep.h === --- powerpc.git.orig/arch/powerpc/include/asm/machdep.h 2011-01-07

[PATCH 3/8] powerpc/kexec: Remove ppc_md.machine_kexec

2011-01-06 Thread Anton Blanchard
No one uses ppc_md.machine_kexec, so remove it. Signed-off-by: Anton Blanchard an...@samba.org --- Index: powerpc.git/arch/powerpc/include/asm/machdep.h === --- powerpc.git.orig/arch/powerpc/include/asm/machdep.h 2011-01-07

[PATCH 4/8] powerpc/kdump: Remove ppc_md.machine_crash_shutdown

2011-01-06 Thread Anton Blanchard
No one uses ppc_md.machine_crash_shutdown, so remove it. Signed-off-by: Anton Blanchard an...@samba.org --- Index: powerpc.git/arch/powerpc/include/asm/machdep.h === --- powerpc.git.orig/arch/powerpc/include/asm/machdep.h

[PATCH 5/8] powerpc/kexec: Don't initialise kexec hooks to default handlers

2011-01-06 Thread Anton Blanchard
There's no need to initialise ppc_md.machine_kexec and ppc_md.machine_kexec_prepare to the default handlers. Signed-off-by: Anton Blanchard an...@samba.org --- Index: powerpc.git/arch/powerpc/platforms/cell/qpace_setup.c === ---

[PATCH 6/8] powerpc/kexec: Remove empty ppc_md.machine_kexec_prepare

2011-01-06 Thread Anton Blanchard
We check for a valid handler before calling ppc_md.machine_kexec_prepare so we can just remove these empty handlers. Signed-off-by: Anton Blanchard an...@samba.org --- Index: powerpc.git/arch/powerpc/platforms/embedded6xx/wii.c ===

[PATCH 7/8] powerpc/kdump: Move crash_kexec_stop_spus to kdump crash handler

2011-01-06 Thread Anton Blanchard
Use the crash handler hooks to run the SPU stop code, just like we do for ehea and cell RAS code. While I'm here I noticed CPUSs reliabally so fix the spelling MISTAKESs reliabally. Signed-off-by: Anton Blanchard an...@samba.org --- Index: powerpc.git/arch/powerpc/kernel/crash.c

[PATCH 8/8] powerpc/kdump: Disable ftrace during kexec

2011-01-06 Thread Anton Blanchard
We should disable ftrace during kexec, some of the tracers are very invasive and we do not want them going off while doing the low level work of swapping one kernel out for another. This mirrors what we do on x86. Even though we cannot return from a kexec on powerpc (since we do not implement