[PATCH] riscv: sbi: Prefer SRST shutdown over legacy

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Mon Nov 17 00:10:28 PST 2025


Hello:

This patch was applied to riscv/linux.git (fixes)
by Paul Walmsley <pjw at kernel.org>:

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





More information about the linux-riscv mailing list