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

From: Rafael J. Wysocki
Date: Mon Dec 05 2022 - 11:52:17 EST


On Mon, Dec 5, 2022 at 5:28 PM Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Hi Rafael,
>
> Please pull the following cpupower update for Linux 6.2-rc1.
>
> This cpupower update for Linux 6.2-rc1 consists of:
>
> - enhancement to choose base_cpu to display default cpupower details
> instead of picking cpu 0 and failing to show information when it is
> offline. This change ensure user will see power information on
> the cpu the tool runs on.
> - adds Georgian translation to cpupower documentation.
> - introduces powercap intel-rapl library, powercap-info command, and
> rapl monitor. This adds the ability to show the used power consumption
> in for each rapl domain
>
> diff is attached.
>
> thanks,
> -- Shuah
>
> ----------------------------------------------------------------
> The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:
>
> Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux tags/linux-cpupower-6.2-rc1
>
> for you to fetch changes up to 8c37df3d635eac64a8fbb4b26672fb881e0cb673:
>
> cpupower: rapl monitor - shows the used power consumption in uj for each rapl domain (2022-11-30 16:48:34 -0700)
>
> ----------------------------------------------------------------
> linux-cpupower-6.2-rc1
>
> This cpupower update for Linux 6.2-rc1 consists of:
>
> - enhancement to choose base_cpu to display default cpupower details
> instead of picking cpu 0 and failing to show information when it is
> offline. This change ensure user will see power information on
> the cpu the tool runs on.
> - adds Georgian translation to cpupower documentation.
> - introduces powercap intel-rapl library, powercap-info command, and
> rapl monitor. This adds the ability to show the used power consumption
> in for each rapl domain
>
> ----------------------------------------------------------------
> Saket Kumar Bhaskar (1):
> tools/cpupower: Choose base_cpu to display default cpupower details
>
> Thomas Renninger (2):
> cpupower: Introduce powercap intel-rapl library and powercap-info command
> cpupower: rapl monitor - shows the used power consumption in uj for each rapl domain
>
> Zurab Kargareteli (1):
> cpupower: Add Georgian translation
>
> tools/power/cpupower/Makefile | 15 +-
> tools/power/cpupower/lib/powercap.c | 290 ++++++
> tools/power/cpupower/lib/powercap.h | 54 ++
> tools/power/cpupower/man/cpupower-powercap-info.1 | 25 +
> tools/power/cpupower/po/ka.po | 983 +++++++++++++++++++++
> tools/power/cpupower/utils/builtin.h | 2 +
> tools/power/cpupower/utils/cpufreq-info.c | 4 +-
> tools/power/cpupower/utils/cpuidle-info.c | 4 +-
> tools/power/cpupower/utils/cpupower-info.c | 4 +-
> tools/power/cpupower/utils/cpupower.c | 1 +
> .../cpupower/utils/idle_monitor/cpupower-monitor.c | 7 +-
> .../cpupower/utils/idle_monitor/idle_monitors.def | 1 +
> .../cpupower/utils/idle_monitor/rapl_monitor.c | 148 ++++
> tools/power/cpupower/utils/powercap-info.c | 117 +++
> 14 files changed, 1642 insertions(+), 13 deletions(-)
> create mode 100644 tools/power/cpupower/lib/powercap.c
> create mode 100644 tools/power/cpupower/lib/powercap.h
> create mode 100644 tools/power/cpupower/man/cpupower-powercap-info.1
> create mode 100644 tools/power/cpupower/po/ka.po
> create mode 100644 tools/power/cpupower/utils/idle_monitor/rapl_monitor.c
> create mode 100644 tools/power/cpupower/utils/powercap-info.c
> ----------------------------------------------------------------

Pulled and added to my linux-next branch, thanks!