Skip to content

x86/asm: Add unwind hint annotations to head code

Josh Poimboeuf lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v18 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Add missing include in xen patch 7/8

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8objtool: Don't report end of section error after an empty unwind hinttools/objtool/check.c+5 -20 replies
2/8x86/head: Remove confusing commentarch/x86/kernel/head_64.S+0 -40 replies
3/8x86/head: Remove unused 'bad_address' codearch/x86/kernel/head_64.S+0 -30 replies
4/8x86/head: Fix head ELF function annotationsarch/x86/kernel/head_64.S+3 -30 replies
5/8x86/boot: Annotate verify_cpu() as a callable functionarch/x86/kernel/verify_cpu.S+2 -10 replies
6/8x86/xen: Fix xen head ELF annotationsarch/x86/xen/xen-head.S+2 -20 replies
7/8x86/xen: Add unwind hint annotationsarch/x86/xen/xen-head.S+6 -10 replies
8/8x86/head: Add unwind hint annotationsarch/x86/kernel/Makefile arch/x86/kernel/head_64.S+12 -30 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchJiri Slaby
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8T-b

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

Read the v2 thread

Cover letter [PATCH v2 0/8] x86/asm: Add unwind hint annotations to head code

v2:
- Add missing include in xen patch 7/8

Add some annotations to allow objtool to understand the head code. Among other things, this allows the ORC unwinder to completely unwind an idle task.

Also do a few cleanups while I'm there.

Josh Poimboeuf (8):
objtool: Don't report end of section error after an empty unwind hint x86/head: Remove confusing comment
x86/head: Remove unused 'bad_address' code
x86/head: Fix head ELF function annotations
x86/boot: Annotate verify_cpu() as a callable function x86/xen: Fix xen head ELF annotations
x86/xen: Add unwind hint annotations
x86/head: Add unwind hint annotations

 arch/x86/kernel/Makefile     |  1 -
 arch/x86/kernel/head_64.S    | 27 +++++++++++++++------------
 arch/x86/kernel/verify_cpu.S |  3 ++-
 arch/x86/xen/xen-head.S      | 11 ++++++++---
 tools/objtool/check.c        |  7 +++++--
 5 files changed, 30 insertions(+), 19 deletions(-)
Signature · 1 line
2.13.5