[PATCH v2 0/2] arm64: sdei: Handle exceptions taken inside the event handler

Catalin Marinas catalin.marinas at arm.com
Fri Nov 6 10:36:32 PST 2026


On Thu, 05 Nov 2026 12:08:32 +0000, Kiryl Shutsemau wrote:
> An SDEI event can land anywhere, and a synchronous exception taken by its
> handler breaks the context it interrupted:
> 
>  - With KPTI, an event that lands in user space runs the handler on the
>    trampoline vectors, whose current-EL half is empty. The exception
>    loops there and the CPU is lost.
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/2] arm64: sdei: Run the event handler on the kernel vectors
      https://git.kernel.org/arm64/c/9bf6ee7952c7
[2/2] arm64: sdei: Preserve the interrupted context's exception registers
      https://git.kernel.org/arm64/c/58c1eb84e977



More information about the linux-arm-kernel mailing list