On 26/11/2025 08:14, Jinjie Ruan wrote:
Differ from generic entry, due to historical reasons, ARM64 need to save/restore during syscall entry/exit because ARM64 use a scratch register (ip(r12) on AArch32, x7 on AArch64) to denote syscall entry/exit.
In preparation for moving arm64 over to the generic entry code, add arch_ptrace_report_syscall_entry/exit() as the default ptrace_report_syscall_entry/exit() implementation. This allows arm64 to implement the architecture specific version.
This allows arm64 to implement the architecture specific version.
Suggested-by: Mark Rutland mark.rutland@arm.com Suggested-by: Thomas Gleixner tglx@linutronix.de Signed-off-by: Jinjie Ruan ruanjinjie@huawei.com
Reviewed-by: Kevin Brodsky kevin.brodsky@arm.com