Re: [PATCH v2] riscv: Enable interrupt during exception handling
From: patchwork-bot+linux-riscv
Date: Wed Jul 16 2025 - 16:00:04 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@xxxxxxxxxxx>:
On Wed, 25 Jun 2025 10:56:30 +0200 you wrote:
> force_sig_fault() takes a spinlock, which is a sleeping lock with
> CONFIG_PREEMPT_RT=y. However, exception handling calls force_sig_fault()
> with interrupt disabled, causing a sleeping in atomic context warning.
>
> This can be reproduced using userspace programs such as:
> int main() { asm ("ebreak"); }
> or
> int main() { asm ("unimp"); }
>
> [...]
Here is the summary with links:
- [v2] riscv: Enable interrupt during exception handling
https://git.kernel.org/riscv/c/969f028bf2c4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html