[PATCH v4] [POWERPC] Move to runtime allocated exception stacks

Josh Boyer jwboyer at linux.vnet.ibm.com
Fri May 30 06:34:41 EST 2008


On Tue, 20 May 2008 00:02:45 -0500
Kumar Gala <galak at kernel.crashing.org> wrote:

> For the additonal exception levels (critical, debug, machine check) on
> 40x/book-e we were using "static" allocations of the stack in the
> associated head.S.
> 
> Move to a runtime allocation to make the code a bit easier to read as
> we mimic how we handle IRQ stacks.  Its also a bit easier to setup the
> stack with a "dummy" thread_info in C code.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> 
> Fixed 40x handling based on Josh's feedback and help.

I tested this series on 44x and 40x today.  Both boot up and function
normally.  GDB is able to set breakpoints, single step, and operate as
well as it normally does.

Again, no hard stress testing but it does appear to work.

josh



More information about the Linuxppc-dev mailing list