Linux Documentation
 help / color / mirror / Atom feed
From: K Prateek Nayak <kprateek.nayak@amd.com>
To: Mario Limonciello <mario.limonciello@amd.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Huang Rui <ray.huang@amd.com>, Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>
Cc: Perry Yuan <perry.yuan@amd.com>,
	K Prateek Nayak <kprateek.nayak@amd.com>,
	<linux-pm@vger.kernel.org>, <linux-doc@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: [RFC PATCH 0/6] cpufreq/amd-pstate: Rework dynamic_epp as an energy_performance_preference mode
Date: Tue, 30 Jun 2026 18:58:58 +0000	[thread overview]
Message-ID: <20260630185904.5602-1-kprateek.nayak@amd.com> (raw)

Like custom_epp, move dnamic_epp functionality into a
energy_performance_preference selection which makes the integration more
natural with the rest of the driver functionality.

RFC is mainly to check if this is a good idea and if the "dynamic_epp"
sysfs needs to be retained? I've retained it in the series, changing it
to a RO attribute to reflect if the feature is disabled from kenel
cmdline but it seems unnecessary with the feature available as an
"energy_performance_preference" which can be toggled anytime.

Series is based on linux-pm:bleeding-edge at commit 03842bb4dfb5
("Merge branch 'experimental/acpi-driver-work' into bleeding-edge")
(30-06-2026) with Marco's series from [1] applied on top.

[1] https://lore.kernel.org/lkml/20260609073042.81275-1-scardracs@disroot.org/
---
K Prateek Nayak (6):
  cpufreq/amd-pstate: Extract platform profile to EPP conversion into a
    helper
  cpufreq/amd-pstate: Add dynamic EPP as an
    "energy_performance_preference" mode
  cpufreq/amd-pstate: Repurpose "amd_dynamic_epp" cmdline and
    corresponding sysfs
  Documentation/amd-pstate: Update dynamic_epp documentation with new
    behavior
  cpufreq/amd-pstate: Reduce the scope of exported symbols
  cpufreq/amd-pstate-ut: Add unit test for "dynamic" EPP mode

 Documentation/admin-guide/pm/amd-pstate.rst |  61 ++++--
 drivers/cpufreq/amd-pstate-ut.c             |  48 +++--
 drivers/cpufreq/amd-pstate.c                | 221 ++++++++++++--------
 drivers/cpufreq/amd-pstate.h                |   8 +
 4 files changed, 206 insertions(+), 132 deletions(-)


base-commit: 03842bb4dfb516e7c3c6323fede451823c4629dc
prerequisite-message-id: 20260609073042.81275-1-scardracs@disroot.org
prerequisite-patch-id: 15637b279250c6f653e42afb1c7ed7970be2627e
prerequisite-patch-id: f8c8f4064db0f33251d420723da8c92d9d803890
prerequisite-patch-id: 72386a2a5a24597eccbeb16624dcfd8b27770c16
-- 
2.34.1


             reply	other threads:[~2026-06-30 18:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-30 18:58 K Prateek Nayak [this message]
2026-06-30 18:58 ` [RFC PATCH 1/6] cpufreq/amd-pstate: Extract platform profile to EPP conversion into a helper K Prateek Nayak
2026-07-01 21:31   ` Mario Limonciello
2026-06-30 18:59 ` [RFC PATCH 2/6] cpufreq/amd-pstate: Add dynamic EPP as an "energy_performance_preference" mode K Prateek Nayak
2026-07-01 21:33   ` Mario Limonciello
2026-06-30 18:59 ` [RFC PATCH 3/6] cpufreq/amd-pstate: Repurpose "amd_dynamic_epp" cmdline and corresponding sysfs K Prateek Nayak
2026-07-01 21:40   ` Mario Limonciello
2026-06-30 18:59 ` [RFC PATCH 4/6] Documentation/amd-pstate: Update dynamic_epp documentation with new behavior K Prateek Nayak
2026-06-30 19:03 ` K Prateek Nayak
2026-06-30 19:03 ` [RFC PATCH 5/6] cpufreq/amd-pstate: Reduce the scope of exported symbols K Prateek Nayak
2026-07-01 21:38   ` Mario Limonciello
2026-06-30 19:03 ` [RFC PATCH 6/6] cpufreq/amd-pstate-ut: Add unit test for "dynamic" EPP mode K Prateek Nayak

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=20260630185904.5602-1-kprateek.nayak@amd.com \
    --to=kprateek.nayak@amd.com \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=perry.yuan@amd.com \
    --cc=rafael@kernel.org \
    --cc=ray.huang@amd.com \
    --cc=skhan@linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox