Re: [PATCH v2 16/21] arm64: entry: Implement EL1t exception handlers for overflow stack
From: Linus Walleij
Date: Wed Sep 30 2026 - 17:25:09 EST
On Fri, Sep 18, 2026 at 6:15 PM Will Deacon <will@xxxxxxxxxx> wrote:
> In preparation for using EL1t to handle exceptions taken whilst running
> on the overflow stack, implement some simple wrappers around the EL1h
> handlers which perform a best-effort stack overflow check before
> proceeding.
>
> Cc: Mark Rutland <mark.rutland@xxxxxxx>
> Signed-off-by: Will Deacon <will@xxxxxxxxxx>
In the commit message, say something about the fact that EL1t handlers
architecturally use the stack pointer from SP_EL0 which we
have now started to repurpose for the kernel-internal overflow stack
and not EL0 (as the name says) at all, and handlers here will
by definition be running on the kernel overflow stack, so people
understand what is going on here.
If I understood it right:
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij