arm64: convert syscall trace logic to C
commitf37099b6992a0b818c7b51b899e435f4006a9f90
authorMark Rutland <mark.rutland@arm.com>
Wed, 11 Jul 2018 13:56:44 +0000 (11 14:56 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 12 Jul 2018 13:49:47 +0000 (12 14:49 +0100)
treea33df4aaa94fe37221ed960361dc9799ae7a8d22
parent4141c857fd09dbed480f021b3eece4f46c653161
arm64: convert syscall trace logic to C

Currently syscall tracing is a tricky assembly state machine, which can
be rather difficult to follow, and even harder to modify. Before we
start fiddling with it for pt_regs syscalls, let's convert it to C.

This is not intended to have any functional change.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/entry.S
arch/arm64/kernel/syscall.c