Commit Graph
3 Commits
Author SHA1 Message Date
Corey Minyard 5b6b084728 mips: Save all registers when saving the frame
The MIPS frame save code was just saving a few registers, enough to
do a backtrace if every function set up a frame.  However, this is
not working if you are using DWARF unwinding, because most of the
registers are wrong.  This was causing kdump backtraces to be short
or bogus.

So save all the registers.

Signed-off-by: Corey Minyard <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/16989/
Signed-off-by: Ralf Baechle <[email protected]>
2017-09-06 11:02:11 +02:00
Daniel Kalmar 94ea09c6a8 MIPS: Add new unwind_stack variant
The unwind_stack_by_address variant supports unwinding based
on any kernel code address.
This symbol is also exported so it can be called from modules.

Signed-off-by: Daniel Kalmar <[email protected]>
Signed-off-by: Gergely Kis <[email protected]>
Signed-off-by: Robert Richter <[email protected]>
2011-06-15 14:35:33 +02:00
Ralf Baechle 384740dc49 MIPS: Move headfiles to new location below arch/mips/include
Signed-off-by: Ralf Baechle <[email protected]>
2008-10-11 16:18:52 +01:00