Re: [PATCH v2 09/21] arm64: stackprotector: Re-enable per-task stackprotector
From: Linus Walleij
Date: Wed Sep 30 2026 - 17:01:37 EST
On Fri, Sep 18, 2026 at 6:14 PM Will Deacon <will@xxxxxxxxxx> 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@xxxxxxx>
> Link: https://github.com/llvm/llvm-project/pull/188054 [1]
> Signed-off-by: Will Deacon <will@xxxxxxxxxx>
I get why you need to do this now.
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij