From: Zheng Shuyang <yhshzh0@gmail.com>
To: "Eren Özen" <erenozen@protonmail.com>,
"Fuwei Xie" <12313607@mail.sustech.edu.cn>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Hans de Goede" <hansg@kernel.org>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH v3 0/5] platform/x86: huawei-wmi: expose native firmware power profiles
Date: Wed, 25 Nov 2026 23:11:49 +0800 [thread overview]
Message-ID: <20261125151211.83173-1-yhshzh0@gmail.com> (raw)
In-Reply-To: <Tf4l0QLSFWfEcunMVtUNowKIhzNRJjmjCYJKXUFzo-5xhOXhZpn-sUEN57KHkDgKanu1FrS-JHBYcI3K7Mjv176Tg0kMQ4QPIUoEcsYKQig=@protonmail.com>
Hi Eren and Fuwei,
On Wed, Nov 25, 2026 at 08:17:27AM +0000, Eren Özen wrote:
> Zheng, did your s2idle test on FMB-P start in performance mode?
Yes, my earlier v2 s2idle test started in performance mode. I just ran
dedicated s2idle and fast-write checks on FMB-P (BIOS 1.16, Arch
7.3.5-arch1-1) with power-profiles-daemon stopped, on both unmodified v3
and v3 with your two changes folded in:
Unmodified RFC v3:
- s2idle starting in performance (plugged in, ~9 s): on resume, FMB-P
preserved performance (cached=performance, GTUB=1, ODVP2=1). Unlike
CREM-WXX9, BIOS 1.16 does not clear Turbo across a plugged-in s2idle.
- s2idle starting in performance with AC unplugged during sleep (~11 s):
on wake (AC=0), cached platform_profile, GTUB, and ODVP all matched
balanced (GTUB=0, ODVP1=1).
- Fast writes (6 rounds x 50 balanced/performance pairs, alternating
final mode): 0/6 stale rounds (cached == GTUB after every round).
RFC v3 + both of your changes (method resume sync + 0x2a0/0x2a1 using
huawei_wmi_profile_sync()):
- Built with W=1 without warnings.
- Fast writes (same 6 x 50 pairs): 0/6 stale rounds.
- Fn+P and s2idle starting in performance (~7 s) kept cached
platform_profile, GTUB, and ODVP in sync with no kernel warnings, and
module unload/reload was clean.
So on FMB-P, \GTUB is already updated by the time 0x2a0/0x2a1 arrives,
and both of your changes work cleanly here without regressions.
Note: Gemini helped with the test scripts and drafting this report; I
performed the physical steps on the machine and verified the results.
Thanks,
Zheng Shuyang
prev parent reply other threads:[~2026-11-25 15:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 17:25 Fuwei Xie
2026-11-25 1:50 ` Zheng Shuyang
2026-11-25 4:39 ` Eren Özen
2026-11-25 7:40 ` Fuwei Xie
2026-11-25 8:43 ` Eren Özen
2026-11-25 8:17 ` Eren Özen
2026-11-25 15:11 ` Zheng Shuyang [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=20261125151211.83173-1-yhshzh0@gmail.com \
--to=yhshzh0@gmail.com \
--cc=12313607@mail.sustech.edu.cn \
--cc=erenozen@protonmail.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.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®