Re: [PATCHv3] thermal/drivers/samsung/acpm-tmu: Fix spurious CPU throttling
From: Alexey Klimov
Date: Thu Nov 26 2026 - 04:16:35 EST
Hi Christian, Tudor,
On Wed, 25 Nov 2026 at 17:40, Christian Loehle <christian.loehle@xxxxxxx> wrote:
>
> acpm_tmu_set_trips() supplies two thresholds, but the ACPM command writes
> all eight slots, zero-filling the rest. On GS101, slot 7 limits CPU clocks
> independently of its interrupt mask. Setting it to 0 C limits all three
> clusters to about 200 MHz while cpufreq reports the requested frequencies.
> This was found through trial and error while tracking EAS regressions.
Cpufreq reports the requested frequencies — are these cached values
being reported?
Or is this what the kernel gets via the ACPM call?
> 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.
[...]
Best regards,
Alexey