Re: [RFC] powerpc/irq: Add generic API for setting up cascaded IRQs

2009-09-12 Thread Benjamin Herrenschmidt
On Fri, 2009-09-11 at 23:46 -0600, Grant Likely wrote: From: Grant Likely grant.lik...@secretlab.ca prototype implementation. This probably doesn't work at all right now. Ben, I'm posting this now to get your thoughts before I go too far down this path. Looks ok. I was initially thinking

Re: [PATCH 01/10] Add support for GCC-4.5's __builtin_unreachable() to compiler.h

2009-09-12 Thread Geert Uytterhoeven
On Fri, Sep 11, 2009 at 17:58, David Daneydda...@caviumnetworks.com wrote: Michael Buesch wrote: On Friday 11 September 2009 01:56:42 David Daney wrote: +/* Unreachable code */ +#ifndef unreachable +# define unreachable() do { for (;;) ; } while (0) +#endif # define unreachable() do { }

MPC5200/BestComm functions question

2009-09-12 Thread Albrecht Dreß
Hi all, I have a MPC5200B based system with a 16-bit peripheral attached to the Local Bus, and I am looking into possibilities to use BestComm for the data transfer. I found Grant Likely's cool 'mpc5200-localplus-test.c' driver which demonstrates this using the 'gen_bd' driver, and which

Re: MPC5200/BestComm functions question

2009-09-12 Thread Grant Likely
On Sat, Sep 12, 2009 at 6:36 AM, Albrecht Dreß albrecht.dr...@arcor.de wrote: Hi all, I have a MPC5200B based system with a 16-bit peripheral attached to the Local Bus, and I am looking into possibilities to use BestComm for the data transfer. I found Grant Likely's cool

Re: [RFC] powerpc/irq: Add generic API for setting up cascaded IRQs

2009-09-12 Thread Grant Likely
On Sat, Sep 12, 2009 at 12:28 AM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2009-09-11 at 23:46 -0600, Grant Likely wrote: From: Grant Likely grant.lik...@secretlab.ca prototype implementation.  This probably doesn't work at all right now. Ben, I'm posting this now to

[PATCH] powerpc/pmc: Don't access lppaca on Book3E

2009-09-12 Thread Benjamin Herrenschmidt
It doesn't exist ! Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org --- arch/powerpc/include/asm/pmc.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/pmc.h b/arch/powerpc/include/asm/pmc.h index ccc68b5..5a9ede4 100644 ---

Re: [FTRACE] Enabling function_graph causes OOPS

2009-09-12 Thread Steven Rostedt
On Wed, 2009-09-09 at 11:57 +0530, Sachin Sant wrote: Steven Rostedt wrote: I'm going through old email, and I found this. Do you still see this error. I don't recall seeing it myself. I can still recreate this with 31-rc9. When i enable tracing with function_graph i notice the

Re: [FTRACE] Enabling function_graph causes OOPS

2009-09-12 Thread Benjamin Herrenschmidt
On Sun, 2009-09-13 at 00:07 -0400, Steven Rostedt wrote: 982: R_PPC64_ADDR16_HIGHEST ftrace_return_to_handler 984: 60 84 00 00 ori r4,r4,0 986: R_PPC64_ADDR16_HIGHER ftrace_return_to_handler 988: 78 84 07 c6 rldicr r4,r4,32,31