Loading
riscv: KVM: Fix SBI TIME error generation
stable inclusion from stable-v6.6.81 commit 2e06f42e88fc84f357bb14d58b93ffb93e992fcb category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBYZED Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2e06f42e88fc84f357bb14d58b93ffb93e992fcb -------------------------------- [ Upstream commit b901484852992cf3d162a5eab72251cc813ca624 ] When an invalid function ID of an SBI extension is used we should return not-supported, not invalid-param. Fixes: 5f862df5 ("RISC-V: KVM: Add v0.1 replacement SBI extensions defined in v0.2") Signed-off-by:Andrew Jones <ajones@ventanamicro.com> Reviewed-by:
Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20250217084506.18763-11-ajones@ventanamicro.com Signed-off-by:
Anup Patel <anup@brainfault.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit 2e06f42e88fc84f357bb14d58b93ffb93e992fcb) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>