Re: [PATCH 1/6] dump_stack: Support adding to the dump stack arch description

2015-05-08 Thread Michael Ellerman
On Tue, 2015-05-05 at 14:16 -0700, Andrew Morton wrote: > On Tue, 5 May 2015 21:12:12 +1000 Michael Ellerman > wrote: > > > Arch code can set a "dump stack arch description string" which is > > displayed with oops output to describe the hardware platform. > > + > > + len = strnlen(dump_stack_

Re: [PATCH 1/6] dump_stack: Support adding to the dump stack arch description

2015-05-05 Thread Michael Ellerman
On Tue, 2015-05-05 at 14:16 -0700, Andrew Morton wrote: > On Tue, 5 May 2015 21:12:12 +1000 Michael Ellerman > wrote: > > > Arch code can set a "dump stack arch description string" which is > > displayed with oops output to describe the hardware platform. > > > > It is useful to initialise thi

Re: [PATCH 1/6] dump_stack: Support adding to the dump stack arch description

2015-05-05 Thread Andrew Morton
On Tue, 5 May 2015 21:12:12 +1000 Michael Ellerman wrote: > Arch code can set a "dump stack arch description string" which is > displayed with oops output to describe the hardware platform. > > It is useful to initialise this as early as possible, so that an early > oops will have the hardware

[PATCH 1/6] dump_stack: Support adding to the dump stack arch description

2015-05-05 Thread Michael Ellerman
Arch code can set a "dump stack arch description string" which is displayed with oops output to describe the hardware platform. It is useful to initialise this as early as possible, so that an early oops will have the hardware description. However in practice we discover the hardware platform in