All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] LoongArch: Some fix and new features for unwinders
@ 2022-12-29  6:15 Jinyang He
  2022-12-29  6:15 ` [PATCH v2 1/6] LoongArch: Get frame info in unwind_start when regs is not supported Jinyang He
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Jinyang He @ 2022-12-29  6:15 UTC (permalink / raw)
  To: Huacai Chen, WANG Xuerui, Qing Zhang
  Cc: loongarch, linux-kernel, Steven Rostedt, Masami Hiramatsu, Mark Rutland

Make the stacktrace more effective and the codes more clear.

v2:
  Directly use unwinder_guess when regiser unwinder.
  Drop unwind type.
  Drop patch which add raw_show_trace parameter.
  Handle task == NULL case in unwind_start.

  Thanks for Qing and Huacai.

Jinyang He (5):
  LoongArch: Get frame info in unwind_start when regs is not supported
  LoongArch: Use correct sp value to get graph addr in unwinder guess
  LoongArch: Adjust PC value when unwind next frame in prologue unwinder
  LoongArch: Strip guess_unwinder out from prologue_unwinder
  LoongArch: Add generic ex-handler unwind in prologue unwinder

 arch/loongarch/include/asm/ftrace.h     |   2 -
 arch/loongarch/include/asm/unwind.h     |  37 +++-
 arch/loongarch/kernel/Makefile          |   3 +-
 arch/loongarch/kernel/genex.S           |   3 +
 arch/loongarch/kernel/process.c         |  12 +-
 arch/loongarch/kernel/traps.c           |   3 -
 arch/loongarch/kernel/unwind.c          |  52 ++++++
 arch/loongarch/kernel/unwind_guess.c    |  45 ++---
 arch/loongarch/kernel/unwind_prologue.c | 235 ++++++++++++++----------
 arch/loongarch/mm/tlb.c                 |   2 +-
 10 files changed, 242 insertions(+), 152 deletions(-)
 create mode 100644 arch/loongarch/kernel/unwind.c

-- 
2.34.3


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-01-03  8:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-29  6:15 [PATCH v2 0/5] LoongArch: Some fix and new features for unwinders Jinyang He
2022-12-29  6:15 ` [PATCH v2 1/6] LoongArch: Get frame info in unwind_start when regs is not supported Jinyang He
2022-12-29  6:15 ` [PATCH v2 2/6] LoongArch: Use correct sp value to get graph addr in unwinder guess Jinyang He
2022-12-29  6:15 ` [PATCH v2 3/6] LoongArch: Adjust PC value when unwind next frame in prologue unwinder Jinyang He
2022-12-29  6:15 ` [PATCH v2 4/6] LoongArch: Strip guess_unwinder out from prologue_unwinder Jinyang He
2023-01-01  9:56   ` Huacai Chen
2023-01-03  8:40     ` Jinyang He
2023-01-03  8:58       ` Huacai Chen
2022-12-29  6:15 ` [PATCH v2 5/6] LoongArch: Add generic ex-handler unwind in prologue unwinder Jinyang He

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.