From: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
To: Abel Vesa <abel.vesa@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: shikra: Drop CPU critical trips
Date: Fri, 25 Sep 2026 15:54:19 +0530 [thread overview]
Message-ID: <53c6b966-a6ff-4b91-a2b7-d7faee5a6605@oss.qualcomm.com> (raw)
In-Reply-To: <xa4gmzdccrububsmervkbtwqpddsbikubvgsqksypqmx5oih2q@q2hz6tadbmu5>
On 9/25/2026 3:13 PM, Abel Vesa wrote:
> On 26-09-24 19:52:32, Gaurav Kohli wrote:
>> Shikra firmware handles CPU thermal mitigation up to 117 C, while
>> Linux CPU critical trips trigger at 115 C. This can shut the system
>> down before firmware reaches the end of its mitigation range.
>>
>> Drop the critical trips from the CPU thermal zones and leave the hot
>> trips, non-CPU critical trips and GPUSS passive cooling map unchanged.
>
> I thought that was the whole point of having the critical trips set to
> 115 C, so that the kernel can gracefully shut down before firmware cuts
> it off.
>
> What happens if CPU gets to 117 C and the critical trips are removed?
> How will firmware thermal mitigation handle it?
Thanks Abel for review.
For the CPU thermal zones on this SoC, hardware-side mitigation is
already available at 115 C and 117 C, and hardware shutdown is at 120 C.
Because of that, a Linux critical trip at 115 C is not very useful. It
overlaps with the hardware mitigation range and can trigger shutdown
before the firmware thermal sequence has completed.
So the CPU critical trips are removed and the firmware/hardware
mitigation is left to handle those thresholds as critical is not helping
here.
prev parent reply other threads:[~2026-09-25 10:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-24 14:22 Gaurav Kohli
2026-09-25 9:43 ` Abel Vesa
2026-09-25 10:24 ` Gaurav Kohli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53c6b966-a6ff-4b91-a2b7-d7faee5a6605@oss.qualcomm.com \
--to=gaurav.kohli@oss.qualcomm.com \
--cc=abel.vesa@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®