From: Haipeng Lin <jimmie.lin@gmail.com>
To: Dale Whinham <daleyo@gmail.com>, Sudeep Holla <sudeep.holla@kernel.org>
Cc: Cristian Marussi <cristian.marussi@arm.com>,
Viresh Kumar <viresh.kumar@linaro.org>,
Sibi Sankar <sibi.sankar@oss.qualcomm.com>,
Dhruva Gole <d-gole@ti.com>, Charlie Garner <charlie@akao.au>,
arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] firmware: arm_scmi: Don't mark OPPs as turbo without a sustained frequency
Date: Wed, 25 Nov 2026 20:48:37 -0500 [thread overview]
Message-ID: <3167e5ef-920a-4e1d-ba03-bc928687577c@gmail.com> (raw)
In-Reply-To: <CAFcmK8g+Udyp9h24WSEx2RepBA=rZpEQs==1hTi83A+_zF-GOw@mail.gmail.com>
On 11/25/26 8:04 PM, Dale Whinham wrote:
> On Mon, 23 Nov 2026 at 10:26, Sudeep Holla <sudeep.holla@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
next prev parent reply other threads:[~2026-11-26 1:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 0:56 [PATCH] firmware: arm_scmi: Don't mark OPPs as turbo without a sustained frequency Dale Whinham
2026-11-23 10:26 ` Sudeep Holla
2026-11-26 1:04 ` Dale Whinham
2026-11-26 1:48 ` Haipeng Lin [this message]
2026-11-30 17:59 ` Sudeep Holla
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=3167e5ef-920a-4e1d-ba03-bc928687577c@gmail.com \
--to=jimmie.lin@gmail.com \
--cc=arm-scmi@vger.kernel.org \
--cc=charlie@akao.au \
--cc=cristian.marussi@arm.com \
--cc=d-gole@ti.com \
--cc=daleyo@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sibi.sankar@oss.qualcomm.com \
--cc=stable@vger.kernel.org \
--cc=sudeep.holla@kernel.org \
--cc=viresh.kumar@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.