On 2026/3/13 19:57, Peter Zijlstra wrote:
> On Fri, Mar 13, 2026 at 05:47:26PM +0800, Jinjie Ruan wrote:
> 
>> Jinjie Ruan (11):
>>   arm64/ptrace: Refactor syscall_trace_enter/exit() to accept flags
>>     parameter
>>   arm64/ptrace: Expand secure_computing() in place
>>   arm64/ptrace: Use syscall_get_arguments() helper for audit
>>   arm64: ptrace: Move rseq_syscall() before audit_syscall_exit()
>>   arm64: syscall: Introduce syscall_exit_to_user_mode_work()
>>   arm64/ptrace: Define and use _TIF_SYSCALL_EXIT_WORK
>>   arm64/ptrace: Skip syscall exit reporting for PTRACE_SYSEMU_SINGLESTEP
>>   arm64: entry: Convert to generic entry
>>   arm64: Inline el0_svc_common()
>>   s390: Rename TIF_SINGLE_STEP to TIF_SINGLESTEP
>>   arm64: Use generic TIF bits for common thread flags
>>
>> kemal (1):
>>   selftests: sud_test: Support aarch64
>>
>>  arch/arm64/Kconfig                            |   3 +-
>>  arch/arm64/include/asm/entry-common.h         |  76 ++++++++++++
>>  arch/arm64/include/asm/syscall.h              |  19 ++-
>>  arch/arm64/include/asm/thread_info.h          |  76 ++++--------
>>  arch/arm64/kernel/debug-monitors.c            |   7 ++
>>  arch/arm64/kernel/ptrace.c                    | 115 ------------------
>>  arch/arm64/kernel/signal.c                    |   2 +-
>>  arch/arm64/kernel/syscall.c                   |  29 ++---
>>  arch/s390/include/asm/thread_info.h           |   7 +-
>>  arch/s390/kernel/process.c                    |   2 +-
>>  arch/s390/kernel/ptrace.c                     |  20 +--
>>  arch/s390/kernel/signal.c                     |   6 +-
>>  arch/x86/include/asm/thread_info.h            |   6 +-
>>  include/asm-generic/thread_info_tif.h         |   5 +
>>  .../syscall_user_dispatch/sud_benchmark.c     |   2 +-
>>  .../syscall_user_dispatch/sud_test.c          |   4 +
>>  16 files changed, 166 insertions(+), 213 deletions(-)
> 
> AFAICT arm64 is still using exit_to_user_mode_prepare_legacy() after
> this. This cannot be right.

You are right. exit_to_user_mode_prepare_legacy() should be replaced
with irqentry_exit_to_user_mode_prepare().

> 

Reply via email to