mbox series

[0/7] cpupower improvements on AMD systems

Message ID 20241218191144.3440854-1-superm1@kernel.org (mailing list archive)
Headers show
Series cpupower improvements on AMD systems | expand

Message

Mario Limonciello Dec. 18, 2024, 7:09 p.m. UTC
From: Mario Limonciello <mario.limonciello@amd.com>

cpupower shows a number of errors on AMD systems configured
in 'active' mode where the hardware transitions states for
the user.

Clean up those errors and add some extra information for the amd-pstate
preferred core feature.

Mario Limonciello (7):
  cpupower: Remove spurious return statement
  cpupower: Add support for parsing 'enabled' or 'disabled' strings from
    table
  cpupower: Add support for amd-pstate preferred core rankings
  cpupower: Don't try to read frequency from hardware when kernel uses
    aperfmperf
  cpupower: Add support for showing energy performance preference
  cpupower: Don't fetch maximum latency when EPP is enabled
  cpupower: Adjust whitespace for amd-pstate specific prints

 tools/power/cpupower/lib/cpufreq.c        | 18 ++++++++++++
 tools/power/cpupower/lib/cpufreq.h        |  8 +++++
 tools/power/cpupower/utils/cpufreq-info.c | 36 +++++++++++++++++++++--
 tools/power/cpupower/utils/helpers/amd.c  | 18 +++++++++---
 4 files changed, 73 insertions(+), 7 deletions(-)

Comments

Shuah Khan Dec. 20, 2024, 4:35 p.m. UTC | #1
On 12/18/24 12:09, Mario Limonciello wrote:
> From: Mario Limonciello <mario.limonciello@amd.com>
> 
> cpupower shows a number of errors on AMD systems configured
> in 'active' mode where the hardware transitions states for
> the user.
> 
> Clean up those errors and add some extra information for the amd-pstate
> preferred core feature.
> 
> Mario Limonciello (7):
>    cpupower: Remove spurious return statement
>    cpupower: Add support for parsing 'enabled' or 'disabled' strings from
>      table
>    cpupower: Add support for amd-pstate preferred core rankings
>    cpupower: Don't try to read frequency from hardware when kernel uses
>      aperfmperf
>    cpupower: Add support for showing energy performance preference
>    cpupower: Don't fetch maximum latency when EPP is enabled
>    cpupower: Adjust whitespace for amd-pstate specific prints
> 
>   tools/power/cpupower/lib/cpufreq.c        | 18 ++++++++++++
>   tools/power/cpupower/lib/cpufreq.h        |  8 +++++
>   tools/power/cpupower/utils/cpufreq-info.c | 36 +++++++++++++++++++++--
>   tools/power/cpupower/utils/helpers/amd.c  | 18 +++++++++---
>   4 files changed, 73 insertions(+), 7 deletions(-)
> 

Thank you. The patch series is now in

https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=cpupower

I will include this in pull request to Rafael in early January.

thanks,
-- Shuah