[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230615062953.4028965-1-perry.yuan@amd.com>
Date: Thu, 15 Jun 2023 02:29:53 -0400
From: Perry Yuan <perry.yuan@....com>
To: <rafael.j.wysocki@...el.com>, <viresh.kumar@...aro.org>,
<Ray.Huang@....com>, <Mario.Limonciello@....com>
CC: <Deepak.Sharma@....com>, <Wyes.Karny@....com>,
<gautham.shenoy@....com>, <Sunpeng.Li@....com>,
<Xinmei.Huang@....com>, <Xiaojian.Du@....com>, <Li.Meng@....com>,
<linux-pm@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/4] Enable amd-pstate active mode by default
From: Perry Yuan <Perry.Yuan@....com>
Active mode for amd-pstate has shown enough success now that it makes sense
to enable it by default on client systems.
This series introduces a new kernel configuration option to set the default
policy for amd-pstate modes for a kernel.
Server systems will by identified by the PM preferred profile and still be
set as disabled by default for now.
changes from v1:
* fix the 0-DAY CI Kernel build error for acpi_pm_profile_server()
function, add CONFIG_ACPI check.
Mario Limonciello (4):
ACPI: CPPC: Add a symbol to check if the preferred profile is a server
cpufreq: amd-pstate: Set a fallback policy based on preferred_profile
cpufreq: amd-pstate: Add a kernel config option to set default mode
cpufreq: intel_pstate: Use the acpi_pm_profile_server() symbol
drivers/acpi/cppc_acpi.c | 34 +++++++++++++++
drivers/cpufreq/Kconfig.x86 | 17 ++++++++
drivers/cpufreq/amd-pstate.c | 80 ++++++++++++++++++++++------------
drivers/cpufreq/intel_pstate.c | 19 ++------
include/acpi/actbl.h | 3 +-
include/acpi/processor.h | 10 +++++
include/linux/amd-pstate.h | 4 +-
7 files changed, 123 insertions(+), 44 deletions(-)
--
2.34.1
Powered by blists - more mailing lists