[PATCH] arm64: scs: Remove redundant save/restore of SCS SP on entry to/from EL0
Catalin Marinas
catalin.marinas at arm.com
Fri Mar 13 12:42:33 PDT 2026
On Fri, 13 Mar 2026 12:32:19 +0000, Will Deacon wrote:
> 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.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: scs: Remove redundant save/restore of SCS SP on entry to/from EL0
https://git.kernel.org/arm64/c/3ce8f5860ff4
--
Catalin
More information about the linux-arm-kernel
mailing list