mbox series

[0/2] arm64: Fix single-stepping with reverse debugging

Message ID 20200603151033.11512-1-will@kernel.org (mailing list archive)
Headers show
Series arm64: Fix single-stepping with reverse debugging | expand

Message

Will Deacon June 3, 2020, 3:10 p.m. UTC
Hi all,

This series fixes a bug in our hardware single-step and ptrace logic that
was reported by Luis after seeing some GDB testsuite failures. The second
patch is cosmetic, but I was in the area.

Cheers,

Will

Cc: <kernel-team@android.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Luis Machado <luis.machado@linaro.org>
Cc: Keno Fischer <keno@juliacomputing.com>

--->8

Will Deacon (2):
  arm64: Override SPSR.SS when single-stepping is enabled
  arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP

 arch/arm64/include/asm/debug-monitors.h |  2 ++
 arch/arm64/kernel/debug-monitors.c      | 24 ++++++++++++++++++------
 arch/arm64/kernel/ptrace.c              |  4 ++--
 arch/arm64/kernel/signal.c              |  6 +++++-
 4 files changed, 27 insertions(+), 9 deletions(-)