linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] arm64 sigreturn unwinding fixes
@ 2020-05-20 17:55 Will Deacon
  2020-05-20 17:55 ` [PATCH v3 1/2] arm64: vdso: Don't prefix sigreturn trampoline with a BTI C instruction Will Deacon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Will Deacon @ 2020-05-20 17:55 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Will Deacon, Tamas Zsoldos, Mark Brown, kernel-team, Dave Martin,
	Daniel Kiss

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/20200519121818.14511-1-will@kernel.org
  v2: https://lore.kernel.org/r/20200519162821.16857-1-will@kernel.org

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 <dave.martin@arm.com>
Cc: Tamas Zsoldos <tamas.zsoldos@arm.com> 
Cc: Daniel Kiss <daniel.kiss@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: <kernel-team@android.com>

--->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(-)

-- 
2.26.2.761.g0e0b3e54be-goog


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-05-21  9:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-20 17:55 [PATCH v3 0/2] arm64 sigreturn unwinding fixes Will Deacon
2020-05-20 17:55 ` [PATCH v3 1/2] arm64: vdso: Don't prefix sigreturn trampoline with a BTI C instruction Will Deacon
2020-05-20 17:55 ` [PATCH v3 2/2] arm64: vdso: Fix CFI directives in sigreturn trampoline Will Deacon
2020-05-21  9:53 ` [PATCH v3 0/2] arm64 sigreturn unwinding fixes Daniel Kiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).