[PATCH v3 1/3] [POWERPC] Move to runtime allocated exception stacks

Josh Boyer jwboyer at linux.vnet.ibm.com
Tue May 20 04:34:28 EST 2008

On Fri, 16 May 2008 14:04:54 -0500 (CDT)
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.

For the peanut gallery, I've started testing this series on 44x and
40x.  44x seems to be in fair shape.  It boots with all three applied
and breakpoints and single step work in gdb.  The only "issue" I found
was a warning during compile that Kumar already knows about.

40x is in rougher shape.  It boots with the first patch applied and
userspace seems to function well enough.  However whenever you try to
run something in gdb it will hang the board completely.  No panic,
board doesn't ping anymore, just hung.

I've by no means stress tested anything here, so for those of you that
are adventurous feel free to pitch in and test them out on your
boards ;).


More information about the Linuxppc-dev mailing list