Skip to content

Support rseq on arm64

Will Deacon linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesIn review
  2. v13 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: rseq: Implement backend rseq calls and select HAVE_RSEQarch/arm64/Kconfig arch/arm64/include/asm/unistd.h arch/arm64/include/asm/unistd32.h +3 more+11 -10 replies
2/3asm-generic: unistd.h: Wire up sys_rseqinclude/uapi/asm-generic/unistd.h+3 -12 replies
3/3rseq/selftests: Add support for arm64tools/testing/selftests/rseq/param_test.c tools/testing/selftests/rseq/rseq-arm64.h tools/testing/selftests/rseq/rseq.h+616 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark RutlandMathieu DesnoyersArnd Bergmann
SeriesA-b
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] Support rseq on arm64

Hello,

This is version two of the patches previously posted here:

http://lkml.kernel.org/r/[email protected]

Changes since v1 include:

* Move abort handler in-line to avoid possibility of it being out-of-range for conditional branch instructions

I've tested both native and compat (little-endian only) with the selftests and they pass successfully on my Seattle box.

Thanks,

Will

--->8

Will Deacon (3):
arm64: rseq: Implement backend rseq calls and select HAVE_RSEQ
asm-generic: unistd.h: Wire up sys_rseq rseq/selftests: Add support for arm64

 arch/arm64/Kconfig                        |   1 +
 arch/arm64/include/asm/unistd.h           |   2 +-
 arch/arm64/include/asm/unistd32.h         |   2 +
 arch/arm64/kernel/entry.S                 |   2 +
 arch/arm64/kernel/ptrace.c                |   2 +
 arch/arm64/kernel/signal.c                |   3 +
 include/uapi/asm-generic/unistd.h         |   4 +-
 tools/testing/selftests/rseq/param_test.c |  20 +
 tools/testing/selftests/rseq/rseq-arm64.h | 594 ++++++++++++++++++++++++++++++
 tools/testing/selftests/rseq/rseq.h       |   2 +
 10 files changed, 630 insertions(+), 2 deletions(-)
 create mode 100644 tools/testing/selftests/rseq/rseq-arm64.h
Signature · 1 line
2.1.4