mbox series

[v3,0/3] Enable amd-pstate active mode by default

Message ID 20230620172433.21325-1-mario.limonciello@amd.com
Headers show
Series Enable amd-pstate active mode by default | expand

Message

Mario Limonciello June 20, 2023, 5:24 p.m. UTC
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.

v2->v3:
 * Drop patch 4; Intel intentionally doesn't want intel-pstate on SOHO
   server
 * Move symbols from patch 1 into patch 2
 * Add tags
Mario Limonciello (3):
  ACPI: CPPC: Add definition for undefined FADT preferred PM profile
    value
  cpufreq: amd-pstate: Set a fallback policy based on preferred_profile
  cpufreq: amd-pstate: Add a kernel config option to set default mode

 drivers/cpufreq/Kconfig.x86  |  17 ++++++
 drivers/cpufreq/amd-pstate.c | 101 +++++++++++++++++++++++++----------
 include/acpi/actbl.h         |   3 +-
 include/linux/amd-pstate.h   |   4 +-
 4 files changed, 96 insertions(+), 29 deletions(-)

Comments

Rafael J. Wysocki June 21, 2023, 5:38 p.m. UTC | #1
On Tue, Jun 20, 2023 at 7:27 PM Mario Limonciello
<mario.limonciello@amd.com> wrote:
>
> 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.
>
> v2->v3:
>  * Drop patch 4; Intel intentionally doesn't want intel-pstate on SOHO
>    server
>  * Move symbols from patch 1 into patch 2
>  * Add tags
> Mario Limonciello (3):
>   ACPI: CPPC: Add definition for undefined FADT preferred PM profile
>     value
>   cpufreq: amd-pstate: Set a fallback policy based on preferred_profile
>   cpufreq: amd-pstate: Add a kernel config option to set default mode
>
>  drivers/cpufreq/Kconfig.x86  |  17 ++++++
>  drivers/cpufreq/amd-pstate.c | 101 +++++++++++++++++++++++++----------
>  include/acpi/actbl.h         |   3 +-
>  include/linux/amd-pstate.h   |   4 +-
>  4 files changed, 96 insertions(+), 29 deletions(-)
>
> --

All applied as 6.5 material, thanks!