summaryrefslogtreecommitdiff
path: root/rust/kernel/ptr/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2026-03-13 12:32:19 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2026-03-13 17:17:58 +0000
commit3ce8f5860ff478d23af87bd459e76e466b483af3 (patch)
tree0f2aecbeb87f2a9f5ca29f1beb9af2bb4580e26d /rust/kernel/ptr/git@git.tavy.me:linux.git
parent6712fcde003f780d6241d755a0fa41ff4739b9a4 (diff)
arm64: scs: Remove redundant save/restore of SCS SP on entry to/from EL0
When returning to userspace, the SCS is empty and so the SCS SP just points to the base address of the SCS page. Rather than saving and restoring this address in the current task, we can simply restore the SCS SP to point at the base of the stack on entry to EL1 from EL0. Cc: Ard Biesheuvel <ardb@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Sami Tolvanen <samitolvanen@google.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'rust/kernel/ptr/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions