Re: [PATCH RESEND] riscv: kgdb: Fix potential missing local_irq_restore() call
From: Paul Walmsley
Date: Wed Nov 04 2026 - 21:01:24 EST
On Mon, 2 Nov 2026, Clément Léger wrote:
> If kgdb_handle_exception() returns an error, local irqs are not
> reenabled. Fix this by factoring out the kgdb exception handling to a
> function and call it between local_irq_save()/local_irq_restore() so
> that the error handling flow is simple.
>
> Signed-off-by: Clément Léger <clement.leger@xxxxxxxxx>
Thanks, queued for v7.4-rc.
- Paul