Re: [PATCH] riscv: sbi: Prefer SRST shutdown over legacy
From: patchwork-bot+linux-riscv
Date: Mon Nov 17 2025 - 03:12:01 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Paul Walmsley <pjw@xxxxxxxxxx>:
On Fri, 14 Nov 2025 06:58:06 +0000 you wrote:
> Currently, the sbi_init() always attempts to register the legacy shutdown
> function as the sys-off handler which is fine when RISCV_SBI_V01 is not
> enabled. However, if RISCV_SBI_V01 is enabled in the kernel and the SBI
> v0.1 is not supported by the underlying SBI implementation then the
> legacy shutdown fails. Fix this by not registering the legacy shutdown
> when SRST shutdown is available.
>
> [...]
Here is the summary with links:
- riscv: sbi: Prefer SRST shutdown over legacy
https://git.kernel.org/riscv/c/7b090e7b910c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html