[PATCH v2 09/21] arm64: stackprotector: Re-enable per-task stackprotector
Linus Walleij
linusw at kernel.org
Wed Sep 30 14:00:08 PDT 2026
On Fri, Sep 18, 2026 at 6:14 PM Will Deacon <will at kernel.org> wrote:
> Now that 'current' resides in TPIDRRO_EL0, update the per-task
> stackprotector compiler invocation to use the new register.
>
> Note that this requires a very recent build of clang [1], as (unlike
> GCC), it historically rejected all registers other than SP_EL0.
>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Link: https://github.com/llvm/llvm-project/pull/188054 [1]
> Signed-off-by: Will Deacon <will at kernel.org>
I get why you need to do this now.
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list