[PATCH] firmware: arm_scmi: Don't mark OPPs as turbo without a sustained frequency

Haipeng Lin jimmie.lin at gmail.com
Wed Nov 25 17:48:37 PST 2026


On 11/25/26 8:04 PM, Dale Whinham wrote:
> On Mon, 23 Nov 2026 at 10:26, Sudeep Holla <sudeep.holla at kernel.org> wrote:
[...]
> 
>> I worked out something very similar as a solution. Anyways does it work
>> if we also add the check for non-zero dom->sustained_perf_level ?
> 
> Haipeng Lin has an X1P machine so hopefully he will be able to confirm
> soon if adding a check for non-zero sustained_perf_level into the
> chain still works.
[...]

Confirmed it works. Tested on Surface Pro 11 (X1P64100) on v7.3.4 tree
with this check

	data.turbo = dom->sustained_freq_khz &&
		     dom->sustained_perf_level &&
		     freq > dom->sustained_freq_khz * 1000UL;

Firmware reports both values as 0 for the two 3-core domains (not just
the frequency). I took a debug print of PERFORMANCE_DOMAIN_ATTRIBUTES

  domain 0: sustained_freq_khz=3417600 sustained_perf_level=12
  domain 1: sustained_freq_khz=0       sustained_perf_level=0
  domain 2: sustained_freq_khz=0       sustained_perf_level=0

With the patch all three cpufreq policies are created (cpus 0-3, 4-6,
7-9), each has the full 710400-3417600 kHz table, no boost freq, boost
disabled. Under load every cluster scaled up to 3417600 and drops back
when idle.

Please feel free to carry the Tested-by in the fixup commit.

Thanks,
Haipeng



More information about the linux-arm-kernel mailing list