arm64: Fix single-step handling and syscall tracing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 8 repliesIn review
- v24 patches 4 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | arm64: ptrace: Consistently use pseudo-singlestep exceptionsarch/ arch/ arch/ +1 more | +23 | 1 reply | |
| 2/7 | arm64: ptrace: Override SPSR.SS when single-stepping is enabledarch/ arch/ arch/ | +20 | 1 reply | |
| 3/7 | arm64: compat: Ensure upper 32 bits of x0 are zero on syscall returnarch/ arch/ | +14 | 1 reply | |
| 4/7 | arm64: ptrace: Add a comment describing our syscall entry/exit trap ABIarch/ | +14 | 0 replies | |
| 5/7 | arm64: syscall: Expand the comment about ptrace and syscall(-1)arch/ | +15 | 0 replies | |
| 6/7 | arm64: ptrace: Use NO_SYSCALL instead of -1 in syscall_trace_enter()arch/ | +2 | 3 replies | |
| 7/7 | arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEParch/ | +2 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by.
| Patch | Luis Machado |
|---|---|
| 1/7 | |
| 2/7 | T-b |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/7] arm64: Fix single-step handling and syscall tracing
Hi folks,
This is version three of the patches I previous posted here:
v1: https://lore.kernel.org/r/[email protected]
v2: https://lore.kernel.org/r/[email protected]
This version includes some changes I've been hacking on in relation to syscall entry/exit, as it seemed worth lumping all this together. I've also reordered the series to put the fixes at the start.
Luis -- did you manage to test v2? I'd quite like to queue some of this soon. If you don't have time, how can I run the GDB testsuite myself? I tried doing it a _long_ time ago but I remember there being a lot of failures and flakey tests, so it wasn't very helpful. I have arm64 hardware running Debian so it's just a question of which buttons to press :)
Cheers,
Will
--->8
Will Deacon (7):
arm64: ptrace: Consistently use pseudo-singlestep exceptions
arm64: ptrace: Override SPSR.SS when single-stepping is enabled
arm64: compat: Ensure upper 32 bits of x0 are zero on syscall return
arm64: ptrace: Add a comment describing our syscall entry/exit trap
ABI
arm64: syscall: Expand the comment about ptrace and syscall(-1)
arm64: ptrace: Use NO_SYSCALL instead of -1 in syscall_trace_enter()
arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
arch/arm64/include/asm/debug-monitors.h | 2 + arch/arm64/include/asm/syscall.h | 12 +++++- arch/arm64/include/asm/thread_info.h | 1 + arch/arm64/kernel/debug-monitors.c | 24 +++++++++--- arch/arm64/kernel/ptrace.c | 49 +++++++++++++++++++------ arch/arm64/kernel/signal.c | 11 +----- arch/arm64/kernel/syscall.c | 21 ++++++++++- 7 files changed, 90 insertions(+), 30 deletions(-)
Signature · 7 lines
2.27.0.383.g050319c2ae-goog _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel