|
|
Log in / Subscribe / Register

amd-pstate Dynamic EPP and raw EPP

From:  Mario Limonciello <superm1-AT-kernel.org>
To:  "Gautham R . Shenoy" <gautham.shenoy-AT-amd.com>, Perry Yuan <perry.yuan-AT-amd.com>
Subject:  [PATCH v2 0/5] amd-pstate Dynamic EPP and raw EPP
Date:  Tue, 04 Mar 2025 09:23:22 -0600
Message-ID:  <20250304152327.1561017-1-superm1@kernel.org>
Cc:  Dhananjay Ugwekar <Dhananjay.Ugwekar-AT-amd.com>, linux-kernel-AT-vger.kernel.org (open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)), linux-pm-AT-vger.kernel.org (open list:CPU FREQUENCY SCALING FRAMEWORK), Mario Limonciello <mario.limonciello-AT-amd.com>
Archive-link:  Article

From: Mario Limonciello <mario.limonciello@amd.com>

Dynamic EPP allows the kernel to register amd-pstate as part of
a platform profile. It will change EPP modes matching the user's
preference to the platform profile sysfs files as well as power
adapter state.

Raw EPP allows userspace to write integers to
energy_performance_preference.

This series is based off superm1/linux.git bleeding-edge branch

v1->v2:
 * Rebase
 * Change some defaults

Mario Limonciello (5):
  cpufreq/amd-pstate: Add dynamic energy performance preference
  cpufreq/amd-pstate: add kernel command line to override dynamic epp
  cpufreq/amd-pstate: Add support for platform profile class
  cpufreq/amd-pstate: Add support for raw EPP writes
  cpufreq/amd-pstate-ut: Add a unit test for raw EPP

 .../admin-guide/kernel-parameters.txt         |   7 +
 Documentation/admin-guide/pm/amd-pstate.rst   |  41 ++-
 drivers/cpufreq/Kconfig.x86                   |  13 +
 drivers/cpufreq/amd-pstate-ut.c               |  58 ++++
 drivers/cpufreq/amd-pstate.c                  | 279 ++++++++++++++++--
 drivers/cpufreq/amd-pstate.h                  |  16 +-
 6 files changed, 390 insertions(+), 24 deletions(-)

-- 
2.43.0




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds