Re: [GIT PULL] cpupower update for Linux 5.18-rc1

From: Rafael J. Wysocki
Date: Tue Mar 01 2022 - 12:49:13 EST


On Mon, Feb 28, 2022 at 9:45 PM Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Hi Rafael,
>
> Please pull the following cpupower update for Linux 5.18-rc1
>
> This cpupower update for Linux 5.18-rc1 adds AMD P-State Support to
> cpupower tool. AMD P-State kernel support went into 5.17-rc1.
>
> diff is attached.
>
> thanks,
> -- Shuah
>
> ----------------------------------------------------------------
> The following changes since commit 101025ff8e47d3c938ad2ae646a1794b9a8aa730:
>
> tools/power/cpupower/{ToDo => TODO}: Rename the todo file (2022-01-24 09:07:11 -0700)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux tags/linux-cpupower-5.18-rc1
>
> for you to fetch changes up to 8382dce5e4835c045f33b8958a5f559d212cdd11:
>
> cpupower: Add "perf" option to print AMD P-State information (2022-02-23 17:46:21 -0700)
>
> ----------------------------------------------------------------
> linux-cpupower-5.18-rc1
>
> This cpupower update for Linux 5.18-rc1 adds AMD P-State Support to
> cpupower tool. AMD P-State kernel support went into 5.17-rc1.
>
> ----------------------------------------------------------------
> Huang Rui (10):
> cpupower: Add AMD P-State capability flag
> cpupower: Add the function to check AMD P-State enabled
> cpupower: Initial AMD P-State capability
> cpupower: Add the function to get the sysfs value from specific table
> cpupower: Introduce ACPI CPPC library
> cpupower: Add AMD P-State sysfs definition and access helper
> cpupower: Enable boost state support for AMD P-State module
> cpupower: Move print_speed function into misc helper
> cpupower: Add function to print AMD P-State performance capabilities
> cpupower: Add "perf" option to print AMD P-State information
>
> tools/power/cpupower/Makefile | 6 +-
> tools/power/cpupower/lib/acpi_cppc.c | 59 +++++++++++++++
> tools/power/cpupower/lib/acpi_cppc.h | 21 ++++++
> tools/power/cpupower/lib/cpufreq.c | 23 ++++--
> tools/power/cpupower/lib/cpufreq.h | 12 +++
> tools/power/cpupower/man/cpupower-frequency-info.1 | 3 +
> tools/power/cpupower/utils/cpufreq-info.c | 87 +++++++++-------------
> tools/power/cpupower/utils/helpers/amd.c | 77 +++++++++++++++++++
> tools/power/cpupower/utils/helpers/cpuid.c | 13 ++++
> tools/power/cpupower/utils/helpers/helpers.h | 22 ++++++
> tools/power/cpupower/utils/helpers/misc.c | 60 +++++++++++++++
> 11 files changed, 321 insertions(+), 62 deletions(-)
> create mode 100644 tools/power/cpupower/lib/acpi_cppc.c
> create mode 100644 tools/power/cpupower/lib/acpi_cppc.h
> ----------------------------------------------------------------

Pulled, thanks!