Skip to content

arm64 sigreturn unwinding fixes

Will Deacon linux-arm-kernel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 10 repliesSuperseded
  3. v13 patches 18 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: vdso: Don't prefix sigreturn trampoline with a BTI C instructionarch/arm64/include/asm/linkage.h arch/arm64/kernel/vdso/sigreturn.S arch/arm64/kernel/vdso32/sigreturn.S+20 -130 replies
2/2arm64: vdso: Fix CFI directives in sigreturn trampolinearch/arm64/kernel/vdso/sigreturn.S arch/arm64/kernel/vdso32/sigreturn.S+40 -70 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDave MartinMark Brown
1/2R-b R-b
2/2

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

Read the v3 thread

Cover letter [PATCH v3 0/2] arm64 sigreturn unwinding fixes

Hi folks,

Here is v3 of my attempt at fixing the vdso sigreturn code for unwinders. Previous versions are available here:

v1: https://lore.kernel.org/r/[email protected]
v2: https://lore.kernel.org/r/[email protected]

Changes since v2 include:

* Fix the .cfi directives to identify the link register correctly
* Even more comments

Daniel, please can you give this a spin with the LLVM unwinder? It should work this time.

Cheers,

Will

Cc Dave Martin <[email protected]>
Cc Tamas Zsoldos <[email protected]>
Cc Daniel Kiss <[email protected]>
Cc Mark Brown <[email protected]>

--->8

Will Deacon (2):
arm64: vdso: Don't prefix sigreturn trampoline with a BTI C
instruction
arm64: vdso: Fix CFI directives in sigreturn trampoline

 arch/arm64/include/asm/linkage.h     |  6 ++--
 arch/arm64/kernel/vdso/sigreturn.S   | 51 ++++++++++++++++++++++++----
 arch/arm64/kernel/vdso32/sigreturn.S | 19 ++++++-----
 3 files changed, 58 insertions(+), 18 deletions(-)
Signature · 7 lines
2.26.2.761.g0e0b3e54be-goog


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel