[PATCH v2 16/21] arm64: entry: Implement EL1t exception handlers for overflow stack

Linus Walleij linusw at kernel.org
Wed Sep 30 14:17:38 PDT 2026


On Fri, Sep 18, 2026 at 6:15 PM Will Deacon <will at kernel.org> 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 at arm.com>
> Signed-off-by: Will Deacon <will at kernel.org>

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 at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list