[RFC: PATCH 01/13] powerpc/booke: Add Stack Marking support to Booke Exception Prolog

Dave Kleikamp shaggy at linux.vnet.ibm.com
Wed Mar 3 02:09:06 EST 2010


On Tue, 2010-03-02 at 08:50 -0600, Kumar Gala wrote:
> On Mar 1, 2010, at 1:13 PM, Dave Kleikamp wrote:
> 
> > powerpc/booke: Add Stack Marking support to Booke Exception Prolog
> > 
> > From: Torez Smith <lnxtorez at linux.vnet.ibm.com>
> > 
> > Signed-off-by: Torez Smith  <lnxtorez at linux.vnet.ibm.com>
> > Signed-off-by: Dave Kleikamp <shaggy at linux.vnet.ibm.com>
> > ---
> > 
> > arch/powerpc/kernel/head_booke.h |    5 +++++
> > 1 files changed, 5 insertions(+), 0 deletions(-)
> 
> Can this be explained further as to what this gets us or does.

Yeah.  Sorry about that.  This is a debugging aid that identifies an
exception on the stack.  xmon recognizes the marker and identifies the
exception frame in the stack trace.  Other sub-architectures have it,
but bookE is currently missing it.

Ben, Torez,
Is there any reason this patch is re-defining STACK_FRAME_REGS_MARKER
rather than including asm/ptrace.h?

Thanks,
Shaggy
-- 
David Kleikamp
IBM Linux Technology Center



More information about the Linuxppc-dev mailing list