Skip to content

x86/unwind/orc: ORC fixes

Josh Poimboeuf lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14x86/dumpstack: Add SHOW_REGS_IRET modearch/x86/include/asm/kdebug.h arch/x86/kernel/dumpstack.c arch/x86/kernel/process_64.c+17 -181 reply
2/14objtool: Fix stack offset tracking for indirect CFAstools/objtool/check.c+1 -10 replies
3/14x86/entry/64: Fix unwind hints in register clearing codearch/x86/entry/calling.h+21 -194 replies
4/14x86/entry/64: Fix unwind hints in kernel exit patharch/x86/entry/entry_64.S+2 -10 replies
5/14x86/entry/64: Fix unwind hints in __switch_to_asm()arch/x86/entry/entry_64.S+2 -30 replies
6/14x86/entry/64: Fix unwind hints in rewind_stack_do_exit()arch/x86/entry/entry_64.S+1 -10 replies
7/14x86/unwind/orc: Convert global variables to staticarch/x86/kernel/unwind_orc.c+5 -50 replies
8/14x86/unwind: Prevent false warnings for non-current tasksarch/x86/kernel/dumpstack_64.c arch/x86/kernel/unwind_frame.c arch/x86/kernel/unwind_orc.c+28 -180 replies
9/14x86/unwind/orc: Don't skip the first frame for inactive tasksarch/x86/kernel/unwind_orc.c+1 -10 replies
10/14x86/unwind/orc: Prevent unwinding before ORC initializationarch/x86/kernel/unwind_orc.c+3 -31 reply
11/14x86/unwind/orc: Fix error path for bad ORC entry typearch/x86/kernel/unwind_orc.c+1 -10 replies
12/14x86/unwind/orc: Fix premature unwind stoppage due to IRET framesarch/x86/entry/entry_64.S arch/x86/include/asm/unwind.h arch/x86/kernel/unwind_orc.c+43 -140 replies
13/14x86/unwind/orc: Add more unwinder warningsarch/x86/kernel/unwind_orc.c+24 -52 replies
14/14x86/unwind/orc: Add 'unwind_debug' cmdline optionDocumentation/admin-guide/kernel-parameters.txt arch/x86/kernel/unwind_orc.c+54 -10 replies

Reviews trailers per patch

None of the 14 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Zijlstra (Intel)Miroslav Benes
SeriesA-b R-b
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] x86/unwind/orc: ORC fixes

Several ORC unwinder cleanups, fixes, and debug improvements.

Jann Horn (1):
x86/entry/64: Fix unwind hints in rewind_stack_do_exit()

Josh Poimboeuf (12):
x86/dumpstack: Add SHOW_REGS_IRET mode
objtool: Fix stack offset tracking for indirect CFAs x86/entry/64: Fix unwind hints in register clearing code x86/entry/64: Fix unwind hints in kernel exit path x86/entry/64: Fix unwind hints in __switch_to_asm() x86/unwind/orc: Convert global variables to static x86/unwind: Prevent false warnings for non-current tasks x86/unwind/orc: Prevent unwinding before ORC initialization x86/unwind/orc: Fix error path for bad ORC entry type x86/unwind/orc: Fix premature unwind stoppage due to IRET frames x86/unwind/orc: Add more unwinder warnings x86/unwind/orc: Add 'unwind_debug' cmdline option

Miroslav Benes (1):
x86/unwind/orc: Don't skip the first frame for inactive tasks

 .../admin-guide/kernel-parameters.txt         |   6 +
 arch/x86/entry/calling.h                      |  40 ++--
 arch/x86/entry/entry_64.S                     |  14 +-
 arch/x86/include/asm/kdebug.h                 |   1 +
 arch/x86/include/asm/unwind.h                 |   2 +-
 arch/x86/kernel/dumpstack.c                   |  27 +--
 arch/x86/kernel/dumpstack_64.c                |   3 +-
 arch/x86/kernel/process_64.c                  |   7 +-
 arch/x86/kernel/unwind_frame.c                |   3 +
 arch/x86/kernel/unwind_orc.c                  | 185 ++++++++++++++----
 tools/objtool/check.c                         |   2 +-
 11 files changed, 201 insertions(+), 89 deletions(-)
Signature · 1 line
2.21.1