* [GIT PULL] cpupower second update for Linux 6.20-rc1
@ 2026-01-20 20:41 Shuah Khan
2026-01-23 17:11 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Shuah Khan @ 2026-01-20 20:41 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Shuah Khan, shuah, John B. Wyatt IV, John Kacur,
Thomas Renninger, Thomas Renninger, linux-kernel, linux-pm
[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]
Hi Rafael,
Please pull the following cpupower second update for Linux 6.20-rc1.
Improve the installation procedure by making this systemd step optional
enabling users to disable installation of systemd's unit file.
diff is attached.
thanks,
-- Shuah
----------------------------------------------------------------
The following changes since commit ff72619e11348ab189e232c59515dd5c33780d7c:
tools/power cpupower: Show C0 in idle-info dump (2025-12-15 12:33:29 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux tags/linux-cpupower-6.20-update-2
for you to fetch changes up to 7799ba2160e4919913ecabca8a7fc1aa4c576fb4:
cpupower: make systemd unit installation optional (2026-01-16 13:41:26 -0700)
----------------------------------------------------------------
linux-cpupower-6.20-update-2
Improve the installation procedure by making this systemd step optional
enabling users to disable installation of systemd's unit file.
----------------------------------------------------------------
João Marcos Costa (1):
cpupower: make systemd unit installation optional
tools/power/cpupower/Makefile | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
----------------------------------------------------------------
[-- Attachment #2: linux-cpupower-6.20-update-2.diff --]
[-- Type: text/x-patch, Size: 1999 bytes --]
diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile
index a1df9196dc45..969716dfe8de 100644
--- a/tools/power/cpupower/Makefile
+++ b/tools/power/cpupower/Makefile
@@ -315,7 +315,17 @@ endif
$(INSTALL_DATA) lib/cpuidle.h $(DESTDIR)${includedir}/cpuidle.h
$(INSTALL_DATA) lib/powercap.h $(DESTDIR)${includedir}/powercap.h
-install-tools: $(OUTPUT)cpupower
+# SYSTEMD=false disables installation of the systemd unit file
+SYSTEMD ?= true
+
+install-systemd:
+ $(INSTALL) -d $(DESTDIR)${unitdir}
+ sed 's|___CDIR___|${confdir}|; s|___LDIR___|${libexecdir}|' cpupower.service.in > '$(DESTDIR)${unitdir}/cpupower.service'
+ $(SETPERM_DATA) '$(DESTDIR)${unitdir}/cpupower.service'
+
+INSTALL_SYSTEMD := $(if $(filter true,$(strip $(SYSTEMD))),install-systemd)
+
+install-tools: $(OUTPUT)cpupower $(INSTALL_SYSTEMD)
$(INSTALL) -d $(DESTDIR)${bindir}
$(INSTALL_PROGRAM) $(OUTPUT)cpupower $(DESTDIR)${bindir}
$(INSTALL) -d $(DESTDIR)${bash_completion_dir}
@@ -324,9 +334,6 @@ install-tools: $(OUTPUT)cpupower
$(INSTALL_DATA) cpupower-service.conf '$(DESTDIR)${confdir}'
$(INSTALL) -d $(DESTDIR)${libexecdir}
$(INSTALL_PROGRAM) cpupower.sh '$(DESTDIR)${libexecdir}/cpupower'
- $(INSTALL) -d $(DESTDIR)${unitdir}
- sed 's|___CDIR___|${confdir}|; s|___LDIR___|${libexecdir}|' cpupower.service.in > '$(DESTDIR)${unitdir}/cpupower.service'
- $(SETPERM_DATA) '$(DESTDIR)${unitdir}/cpupower.service'
install-man:
$(INSTALL_DATA) -D man/cpupower.1 $(DESTDIR)${mandir}/man1/cpupower.1
@@ -406,4 +413,4 @@ help:
@echo ' uninstall - Remove previously installed files from the dir defined by "DESTDIR"'
@echo ' cmdline or Makefile config block option (default: "")'
-.PHONY: all utils libcpupower update-po create-gmo install-lib install-tools install-man install-gmo install uninstall clean help
+.PHONY: all utils libcpupower update-po create-gmo install-lib install-systemd install-tools install-man install-gmo install uninstall clean help
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [GIT PULL] cpupower second update for Linux 6.20-rc1
2026-01-20 20:41 [GIT PULL] cpupower second update for Linux 6.20-rc1 Shuah Khan
@ 2026-01-23 17:11 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2026-01-23 17:11 UTC (permalink / raw)
To: Shuah Khan
Cc: Rafael J. Wysocki, shuah, John B. Wyatt IV, John Kacur,
Thomas Renninger, Thomas Renninger, linux-kernel, linux-pm
Hi Shuah,
On Tue, Jan 20, 2026 at 9:41 PM Shuah Khan <skhan@linuxfoundation.org> wrote:
>
> Hi Rafael,
>
> Please pull the following cpupower second update for Linux 6.20-rc1.
>
> Improve the installation procedure by making this systemd step optional
> enabling users to disable installation of systemd's unit file.
>
> diff is attached.
>
> thanks,
> -- Shuah
>
> ----------------------------------------------------------------
> The following changes since commit ff72619e11348ab189e232c59515dd5c33780d7c:
>
> tools/power cpupower: Show C0 in idle-info dump (2025-12-15 12:33:29 -0700)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux tags/linux-cpupower-6.20-update-2
>
> for you to fetch changes up to 7799ba2160e4919913ecabca8a7fc1aa4c576fb4:
>
> cpupower: make systemd unit installation optional (2026-01-16 13:41:26 -0700)
>
> ----------------------------------------------------------------
> linux-cpupower-6.20-update-2
>
> Improve the installation procedure by making this systemd step optional
> enabling users to disable installation of systemd's unit file.
>
> ----------------------------------------------------------------
> João Marcos Costa (1):
> cpupower: make systemd unit installation optional
>
> tools/power/cpupower/Makefile | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
> ----------------------------------------------------------------
Pulled and added to linux-pm.git/linux-next, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-23 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-20 20:41 [GIT PULL] cpupower second update for Linux 6.20-rc1 Shuah Khan
2026-01-23 17:11 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®