From: Tudor Ambarus <tudor.ambarus@linaro.org>
To: Christian Loehle <christian.loehle@arm.com>,
Alexey Klimov <alexey.klimov@linaro.org>
Cc: bzolnier@gmail.com, krzk@kernel.org, rafael@kernel.org,
daniel.lezcano@kernel.org, lukasz.luba@arm.com,
linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCHv3] thermal/drivers/samsung/acpm-tmu: Fix spurious CPU throttling
Date: Thu, 26 Nov 2026 13:03:46 +0200 [thread overview]
Message-ID: <1e474131-3013-44eb-b675-db532d9733ec@linaro.org> (raw)
In-Reply-To: <2162b02c-642a-446c-973e-ca80607da294@arm.com>
On 11/26/26 12:50 PM, Christian Loehle wrote:
>>> Program slot 7 from the lowest active hot trip so hardware throttling can
>>> precede the critical trip's system shutdown. Cache the low/high window and
>>> update the hot limit from set_trip_temp(), because the thermal core skips
>>> set_trips() when that window is unchanged.
>>
>> FWIW, Exynos850 control register for TMU has bits to enabled/disable
>> such behaviour (and it probably works).
>> Maybe gs101 also has it.
>> But it seems that cpufreq scaling feature itself is explicitly enabled.
>
> Thanks for the hint Alexey!
> THERM_TRIP_EN is bit12 on Exynos850, clearing that on gs101 still stays on 200MHz
> for me. The downstream driver doesn't define it either.
> Clearing bit16, i.e. 0x09003 instead of 0x19003 does indeed remove the throttling
> even with all zeroes in slot7.
> I would probably still go with $SUBJECT, as I'd say the risk of this having unwanted
I prefer current patch. On GS101 the TMU control registers are owned by the
ACPM firmware, which may rewrite CONTROL (e.g. on init, tz_control or resume),
and clearing the bit would also drop the hardware throttling as a backstop,
which downstream keeps enabled.
Cheers,
ta
next prev parent reply other threads:[~2026-11-26 11:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 17:39 Christian Loehle
2026-11-26 9:16 ` Alexey Klimov
2026-11-26 10:50 ` Christian Loehle
2026-11-26 11:03 ` Tudor Ambarus [this message]
2026-11-26 11:51 ` Alexey Klimov
2026-11-26 11:33 ` Tudor Ambarus
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=1e474131-3013-44eb-b675-db532d9733ec@linaro.org \
--to=tudor.ambarus@linaro.org \
--cc=alexey.klimov@linaro.org \
--cc=bzolnier@gmail.com \
--cc=christian.loehle@arm.com \
--cc=daniel.lezcano@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=rafael@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®