diff options
author | Mark Rutland <mark.rutland@arm.com> | 2018-07-11 15:56:47 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-07-12 15:49:47 +0200 |
commit | 99ed3ed08d629eb0db6866d266e2bbe35efa5f9d (patch) | |
tree | d9970bf3fca6b46bebf324a4bd921c3b800aafb7 /arch/arm64/kernel/sys32.c | |
parent | arm64: don't restore GPRs when context tracking (diff) | |
download | linux-99ed3ed08d629eb0db6866d266e2bbe35efa5f9d.tar.xz linux-99ed3ed08d629eb0db6866d266e2bbe35efa5f9d.zip |
arm64: don't reload GPRs after apply_ssbd
Now that all of the syscall logic works on the saved pt_regs, apply_ssbd
can safely corrupt x0-x3 in the entry paths, and we no longer need to
restore them. So let's remove the logic doing so.
With that logic gone, we can fold the branch target into the macro, so
that callers need not deal with this. GAS provides \@, which provides a
unique value per macro invocation, which we can use to create a unique
label.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@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>
Diffstat (limited to 'arch/arm64/kernel/sys32.c')
0 files changed, 0 insertions, 0 deletions