From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE97731C58A for ; Mon, 17 Nov 2025 08:11:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763367062; cv=none; b=QDUCMJhLbGvwMo6IfjL13xmqPUwzL0jE0CHMBBSbUTKsgGyGxzCifNUAeYN1JfkaNkWe1NqCYvDgTU9NrZ0IKObvE5CX3T2YskQS9epw83dVc5Dmwu/inMcUbm0W2okrHOUFda3TtQTUvI1bdN6CU02VsshXdUjnUiu+6QZpJNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763367062; c=relaxed/simple; bh=EY/sN31vK+Bntj3RYtRVW2Ai8yUhG4xDAalX4UOSER4=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=LnsxtK4Zds5RbGJCX/3JWzYPcuqFY+K0Cm+4MrcdYc/c/+jzHJPqAxGJJi7A6qeCQeo9jpQRpI/OHR/SH7WFdwcQgf84tXKxFcaXLO21uS6TgPyMGF3smrN5D3/VYPA3RCNLRW6MZYiaUBi4Z3OrcHw0F6bh5/CYNoCq6NKGPgI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OBQvxVGg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OBQvxVGg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBFC9C4CEFB; Mon, 17 Nov 2025 08:11:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763367061; bh=EY/sN31vK+Bntj3RYtRVW2Ai8yUhG4xDAalX4UOSER4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=OBQvxVGgyAwaNZOGJLx9ZX6fSJW4+5vvAIvf9z1k29oqg2L2LHhwmd+i6A8nFhNdK /+Q0neP5leKi1ShxP73z6WBrgy6WTGvyN1wHhMrt9K8m4XFPk+Gz+91aTO6/gTrNKV uAflp2kH8+Xx6WujROZjJaTU4ZsKoic7sit8PxtyXh+wygBtFO9Oe03TsOTjBiBUYo EaMLgHYPG3XA7eJtiZ0gtEQYGyRz1c3suJc1vnz6ZrD3S8RlI0KCyzqlCVE6Mvdnk9 w/loSrEceUipQ3N334f0YkPu37w/0u5TYKSE1hMZsy0UngDlJIfbyUCEa/lxkvHLCZ sU5AfHSjFeGOg== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 33D2E3A82557; Mon, 17 Nov 2025 08:10:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: sbi: Prefer SRST shutdown over legacy From: patchwork-bot+linux-riscv@kernel.org Message-Id: <176336702899.2854411.10334925946163449436.git-patchwork-notify@kernel.org> Date: Mon, 17 Nov 2025 08:10:28 +0000 References: <20251114065808.304430-1-mchitale@ventanamicro.com> In-Reply-To: <20251114065808.304430-1-mchitale@ventanamicro.com> To: Mayuresh Chitale Cc: linux-riscv@lists.infradead.org, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, atishp@rivosinc.com, ajones@ventanamicro.com, cleger@rivosinc.com, afd@ti.com, linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (fixes) by Paul Walmsley : 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