[PATCH] riscv: Enable interrupt during exception handling
Peter Zijlstra
peterz at infradead.org
Tue Jun 24 07:34:58 PDT 2025
On Tue, Jun 24, 2025 at 04:23:50PM +0200, Sebastian Andrzej Siewior wrote:
> On 2025-06-24 16:18:01 [+0200], Peter Zijlstra wrote:
> > I'm confused, sending signals is for exception from userspace. That has
> > nothing to do with exceptions from kernelspace being NMI like.
>
> Yes. See the original submission
> https://lore.kernel.org/linux-riscv/20250620114346.1740512-1-namcao@linutronix.de/
I'm still confused, that code is trying to enable IRQs in the
from-kernel part. That's insane.
Can some Risc-V person explain why a from-kernel exception would ever
result in a signal?!?!
More information about the linux-riscv
mailing list