From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795887811; b=D6QMLClBe9lWj0YEvv+398pHOelu4hGI5qyRk7KPaIwyQiN1zmjHXnJjRCOORTGByUpA didTFRfs1qkNBkXImnFENmbmbewG8nmxq2VQDT+uYUL5X35KsxceCjdKPwQg3DcdHglZ6 BwedYDeFQS0QhZVEwQC2zXWfOWYFAUs1jrmo2j+jH8VvqvUhNQTbFXrfGm6W1fnUhVwOt c45dJf+cBvi2MS0G7VvrZ6zEGDZ4XrhpXxuYVa9nsa6frc/Jf5Co32bLOXVwaOjae09DD jFrahM9vriZsQ1VT2Ca48DaLdkE9xcbb+gFOq+tU7WydH8crLH+geXWgZNf6l1EqnHQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795887811; h=Received:DKIM-Signature:Received:Received:X-ME-Sender: X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:Received:X-Mailer: MIME-Version:X-ThreadId:Date:From:To:Cc:Message-Id:In-Reply-To: References:Subject:Content-Type:Content-Transfer-Encoding; bh=L3oxZ3A00c9ZCiWTUrOsdS8Xf6CUMZLRydY9+dT4GFc=; b=cpUlDz6HvJto2+HBB2e1sM7uMFj4Z8tAXL56NGN3PHjcj7LfyrPHZn+pQ4ZHruj6O9/U XXQZo4QRTiTgPUZY82DDO88sZrwE0vPLXwqiKMRhSRPsO40CesgGb8nwXpMlRHevSfBjX SwHHQCgk9NU1oUslOH7PuTpCGXTrefPX2oZu05JAbruewtVIdTHM+YvXyjXA5f0xQVYeJ AuO6Y50/u2Uohjvz3qQFdQErkKWhlcOOkFDys0QSS/oLBdy90bmKUtL97ZD3IMNaD4XNY WU2K8Yd0wqulS+jl71rvTp1jfBF+hoFMEMwfQQNyDBiPobJ9Vg//QimzKSoDh7tsHVA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Er4mV8FN; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A62D606A31C for ; Sat, 28 Nov 2026 17:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Er4mV8FN Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D6BD1F00897 for ; Sat, 28 Nov 2026 17:43:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795887811; bh=L3oxZ3A00c9ZCiWTUrOsdS8Xf6CUMZLRydY9+dT4GFc=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=Er4mV8FNbEyfwMmhZtF4fKSorgN7jT1M1/boaYCfslCsFC7LLAMTmMcrZqgj/+gWh sWwTKzalUS3gtXi1eE2jh+/xKezEVQ14ci69eig5TgpUBkP8aANQuRcz49QeueRSZA 7fkgKmL3XXzvygrHw4Otf6D+juvv4X4DBJkZzDoWYhI2RFOlL5Y9TIdIzausgoybb0 RYvGLkWQlPJKL9CgI7vdZBU03f2VVeUg2zyYXW4v+5DhpwDlkmaHdnP+f8/Wkt81u2 cYi7iGG4bA6eu5WqdyxyS/HQrZEolN8CdjdFngaQdrVe4WyGeDjG6azJBEwb2k7Soa 5RLkujtsiROpg== Received: from ams-compute-01.internal (ams-compute-01.internal [10.64.2.61]) by mailfauth.ams.internal (Postfix) with ESMTP id 6B5461980058; Sat, 28 Nov 2026 12:43:29 -0500 (EST) Received: from ams-imap-19 ([10.64.2.39]) by ams-compute-01.internal (MEProxy); Sat, 28 Nov 2026 12:43:29 -0500 X-ME-Sender: X-ME-Proxy-Cause: dmFkZTFqmwvbhNDRgYWNe5OFAid4HXr8/1SIVM2pFPX3Ru3N5lw7QU7/qRnQ6ZMRhRCkCi H5o3NSRuVdC7O84DbSCp9tTxhhpDLj5DtLMWIsRncon7+1zAKdUn5lD+Xse7348ozGPD9t N9XAJDnqdMHVSEa1SpE0+K/ges4hoq0AseyCvIKukvi9sm360hI2j88wIrtu1ETPCHl3Rx idH+TGUoWDuPIj3/4LksD0X/mYBBoERdXFcxEsqj8mug8YWamPSV8h2uzUHeeJH14Q/wCA B0aw7qBKSROfpn1ljcKmnj4D9UDzu+vxPKXKkYMO6n6j0FPpArk9f77k7re6M2Q12bFAlx fHuJMz7KAEmw+GW39jzMTi1ffuf+d++qJb0/o/VxstSS659FktmGqSSVWzZky6OwGYkJAd l2D4RibOVOTwvujSf0IfOL8jJdLMyaR3SVhfVSExu8AvLDzECFLeCZYWHmKYyQ/zwGNmid jDpHBEIB4r7C4jJNP6yZwAtDtgJLHyKF0RR7Iqtr8uqGUfonMDzmwxf6CUxqUvBCf/Gu+6 p6+VkuqpgU49m297553mDGGow25Z2z9nHD+o3xH3oiHpBJk+VUWxgDsv3ZN3B4Yz00eKSQ vsWj/aT+wSz7jf9uDcySOR4BaRBMorMQl5ADe9w8wXs3fxtP1JeBSIRYGWNw X-ME-Proxy: Feedback-ID: ia3204a8f:Fastmail Received: by mailuser.ams.internal (Postfix, from userid 501) id 9E33D2F8005B; Sat, 28 Nov 2026 12:43:27 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-ThreadId: A2bnqbE9izzZ Date: Sat, 28 Nov 2026 18:43:02 +0100 From: "Imre Kaloz" To: "Maciej W. Rozycki" Cc: "Thomas Bogendoerfer" , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, "Lee Jones" Message-Id: <8a852ad7-0efd-4732-906d-c2b9fbb63a6e@app.fastmail.com> In-Reply-To: References: <20261102094106.21300-1-kaloz@kernel.org> <20261102094106.21300-2-kaloz@kernel.org> Subject: Re: [PATCH v2 1/2] MIPS: SGI-IP30: power off through the DS1687 RTC Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi Maciej, On Tue, Nov 3, 2026, at 16:45, Maciej W. Rozycki wrote: > On Mon, 2 Nov 2026, Imre Kaloz wrote: > >> + /* >> + * The DS1687 RTC switches the power supply off. Halt powers off >> + * too, as the power button needs a running kernel. >> + */ > > Hmm, up to you to decide really, however the usual custom for halt has > been to do nothing for systems that have no console monitor to return to. > Shutdown scripts may arrange for no processes to remain running beyond > init(8), making the system halted for any practical purpose though still > technically running, but with: > > # halt -f > > command issued control just reaches back to the shell prompt. That's what > my observation has been about Linux since 1990s. > > Please consider this a point in discussion though rather than any kind of > objection. Perhaps your choice better matches the system in question. > > Conversely, if you do have a console monitor to return to, then it's what > the halt action is supposed to do. The firmware may then decide what to > do next based on its own settings ("halt action") where available, e.g. > present a command prompt or try to boot the system again. Sorry for the late reply, had to wait for my Indy and Indigo 2 to arrive to be able to test it. They do this cleanly: halt -f prints "reboot: System halted" and the System Maintenance Menu appears at once. The Octane gets there too, but only when the ARCS EnterInteractiveMode vector is called through its uncached KSEG1 alias; the cached address the firmware hands out takes an instruction bus error. On the O2 the same call does not return: the PROM resets itself, runs its power-on diagnostics and then shows the menu. On the Tezro the PROM runs mapped and cannot be re-entered from Linux at all. IRIX never re-enters the running PROM on any of them and halts by restarting. So I think that as time passed, IP2x became the outlier here, and on the newer machines returning to the PROM was not something SGI had in mind. Thanks, Imre