[PATCH v2 0/5] MIPS: Further microMIPS stack unwinding fixes

From: Matt Redfearn
Date: Wed Mar 01 2017 - 10:31:52 EST


4.11 includes a bunch of stack unwinding fixes for microMIPS, but some
of those fixes require additional fixup, provided by this series.
These patches have been tested on qemu M14Kc micromips and tested for
regression on ci40, Boston, Octeon III & malta.

This series is based on mips-for-linux-next

Changes in v2:
- Keep locals in reverse christmas tree order
- Replace conditional with xor and subtract
- Refactor is_sp_move_ins to interpret immediate inline.

Matt Redfearn (5):
MIPS: Handle non word sized instructions when examining frame
MIPS: microMIPS: Fix decoding of addiusp instruction
MIPS: Refactor handling of stack pointer in get_frame_info
MIPS: Stacktrace: Fix __usermode() of uninitialised regs
MIPS: microMIPS: Fix decoding of swsp16 instruction

arch/mips/include/asm/stacktrace.h | 3 ++
arch/mips/include/uapi/asm/inst.h | 2 +-
arch/mips/kernel/process.c | 66 ++++++++++++++++++++------------------
3 files changed, 39 insertions(+), 32 deletions(-)

--
2.7.4