arm64: don't restore GPRs when context tracking
authorMark Rutland <mark.rutland@arm.com>
Wed, 11 Jul 2018 13:56:46 +0000 (14:56 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 12 Jul 2018 13:49:47 +0000 (14:49 +0100)
commitd9be03256d745360a859b11091e5a43f7828382b
tree79002ebd5411c6bcf9110ebef6f6b89dfce87f3d
parent3b7142752e4bee153df6db4a76ca104ef0d7c0b4
arm64: don't restore GPRs when context tracking

Now that syscalls are invoked with pt_regs, we no longer need to ensure
that the argument regsiters are live in the entry assembly, and it's
fine to not restore them after context_tracking_user_exit() has
corrupted them.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-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