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 42E661442E8; Mon, 20 Jan 2025 07:11:11 +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=1737357072; cv=none; b=Va3GPdi/8Mh2JSAAVZVDTKxpcIvNzdgWO5A1FzoDtXqFVhKU8cJFuLiy2jCLiLL+wB0TOiqkNFJw6xG2fGiQ7blaZYaxz8/+rKs2nALbjhdbz4V+XagxXvSrKdjUWBAXIyH80hSNCXQybM3KK3tZBTh6uvFck5To+VajxHgytHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737357072; c=relaxed/simple; bh=38I2TwMCqqilG2XBKnBpjOcjQWKVr3qLbHU+u/xh1nI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Na9JBGdNBMBeuCoo2dEMXTZzTE7/jqYMC/a7pxQxC+ussZ1qrnQIu+YKVksQyiSHNQlWMavUdvemqXbSGPFlG8ic3fpllAU2L5qvHWIa4ax/nKU8WqBmGKcQVOB5FOcLLiNrjzGN3XlL6sjUd8qrUlhiWY8IBp5KxHz7BqrAZz0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vQ17/4Jk; 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="vQ17/4Jk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77775C4CEDD; Mon, 20 Jan 2025 07:11:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1737357071; bh=38I2TwMCqqilG2XBKnBpjOcjQWKVr3qLbHU+u/xh1nI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vQ17/4JkZW1n+aZJxDL9bez/mLUb3e7LcCa9WpPeXtjVQ/BzrMNvPPhlOLwf19DGe 8WN3NZ2JW45kOsk/+hweaz4lDKZB0Q3WQjTnOF4tDk0bCYW2J0QJze7cBcf7nHQQbx dHd4zLA0ialsOF52/gT8IGHGLd+W/TWiKwlrzwnqdYmhHwsUnQoWTEwqGSexb4Hd0P POE75xg11qIg65tFL2oABhZVLUaVet2DIh1tKiyBO8iOoFjUPS+XHm74HF+3BnG4qd qqcFEiyNUhNN3+20AgJ7Q4U/cWmEUj+bXHBwOUKreFJdiN14MG6VCI9bKByG4VL1dC C7J9KnW1/yotA== Date: Mon, 20 Jan 2025 07:11:05 +0000 From: Tzung-Bi Shih To: Ahmad Fatoum Cc: Andrew Morton , Daniel Lezcano , Fabio Estevam , "Rafael J. Wysocki" , Zhang Rui , Lukasz Luba , Jonathan Corbet , Serge Hallyn , Liam Girdwood , Mark Brown , Matti Vaittinen , Benson Leung , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-doc@vger.kernel.org, linux-security-module@vger.kernel.org, chrome-platform@lists.linux.dev, devicetree@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH v2 03/12] docs: thermal: sync hardware protection doc with code Message-ID: References: <20250113-hw_protection-reboot-v2-0-161d3fc734f0@pengutronix.de> <20250113-hw_protection-reboot-v2-3-161d3fc734f0@pengutronix.de> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250113-hw_protection-reboot-v2-3-161d3fc734f0@pengutronix.de> On Mon, Jan 13, 2025 at 05:25:28PM +0100, Ahmad Fatoum wrote: > Originally, the thermal framework's only hardware protection action was > to trigger a shutdown. This has been changed a little over a year ago to > also support rebooting as alternative hardware protection action. > > Update the documentation to reflect this. > > Fixes: 62e79e38b257 ("thermal/thermal_of: Allow rebooting after critical temp") > Signed-off-by: Ahmad Fatoum With a possible typo, Reviewed-by: Tzung-Bi Shih > +At first, the kernel will attempt an orderly power-off or reboot, but > +accepts a delay after which it proceeds to do a forced power-off or > +reboot, respectively. If this fails, ``emergency restart()`` is invoked ^ s/ /_/?