* [GIT PULL] [GIT PULL] cpupower fixes for Linux 6.12-rc1
@ 2024-09-23 20:19 Shuah Khan
2024-09-24 20:01 ` Linus Torvalds
2024-09-24 20:21 ` pr-tracker-bot
0 siblings, 2 replies; 5+ messages in thread
From: Shuah Khan @ 2024-09-23 20:19 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: shuah, Shuah Khan, linux-pm, linux-kernel, Linus Torvalds,
Guenter Roeck, John B. Wyatt IV, Shuah Khan
[-- Attachment #1: Type: text/plain, Size: 2173 bytes --]
Hi Rafael,
Please pull the following cpupower fixes update for Linux 6.12-rc1.
Please send this up to Linus if at all possible before the merge
window closes.
This cpupower fixes update consists fix to raw_pylibcpupower.i being
removed by "make mrproper". "*.i", "*.o" files are generated during
kernel compile and removed when the repo is cleaned by mrproper.
The file is renamed to use .swg extension instead to avoid the problem.
The second patch removes references to raw_pylibcpupower.i from .gitignore.
diff is attached.
thanks,
-- Shuah
----------------------------------------------------------------
The following changes since commit 80e67f1802d0fc21543216557a68320c71d7dbe1:
pm:cpupower: Add error warning when SWIG is not installed (2024-09-06 10:58:35 -0600)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux tags/linux-cpupower-6.12-rc1-fixes
for you to fetch changes up to 6c56fb4434f59df9c777eded5f77cc812882cef3:
pm: cpupower: Clean up bindings gitignore (2024-09-23 09:06:03 -0600)
----------------------------------------------------------------
linux-cpupower-6.12-rc1-fixes
This cpupower fixes update consists fix to raw_pylibcpupower.i being
removed by "make mrproper". "*.i", "*.o" files are generated during
kernel compile and removed when the repo is cleaned by mrproper.
The file is renamed to use .swg extension instead to avoid the problem.
The second patch removes references to raw_pylibcpupower.i from .gitignore.
----------------------------------------------------------------
John B. Wyatt IV (1):
pm: cpupower: Clean up bindings gitignore
Min-Hua Chen (1):
pm: cpupower: rename raw_pylibcpupower.i
tools/power/cpupower/bindings/python/.gitignore | 3 +--
tools/power/cpupower/bindings/python/Makefile | 4 ++--
.../bindings/python/{raw_pylibcpupower.i => raw_pylibcpupower.swg} | 0
3 files changed, 3 insertions(+), 4 deletions(-)
rename tools/power/cpupower/bindings/python/{raw_pylibcpupower.i => raw_pylibcpupower.swg} (100%)
----------------------------------------------------------------
[-- Attachment #2: linux-cpupower-6.12-rc1-fixes.diff --]
[-- Type: text/x-patch, Size: 1754 bytes --]
diff --git a/tools/power/cpupower/bindings/python/.gitignore b/tools/power/cpupower/bindings/python/.gitignore
index 5c9a1f0212dd..51cbb8799c44 100644
--- a/tools/power/cpupower/bindings/python/.gitignore
+++ b/tools/power/cpupower/bindings/python/.gitignore
@@ -1,8 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
__pycache__/
raw_pylibcpupower_wrap.c
*.o
*.so
*.py
!test_raw_pylibcpupower.py
-# git keeps ignoring this file, use git add -f raw_libcpupower.i
-!raw_pylibcpupower.i
diff --git a/tools/power/cpupower/bindings/python/Makefile b/tools/power/cpupower/bindings/python/Makefile
index dc09c5b66ead..e1ebb1d60cd4 100644
--- a/tools/power/cpupower/bindings/python/Makefile
+++ b/tools/power/cpupower/bindings/python/Makefile
@@ -20,13 +20,13 @@ _raw_pylibcpupower.so: raw_pylibcpupower_wrap.o
raw_pylibcpupower_wrap.o: raw_pylibcpupower_wrap.c
$(CC) -fPIC -c raw_pylibcpupower_wrap.c $(PY_INCLUDE)
-raw_pylibcpupower_wrap.c: raw_pylibcpupower.i
+raw_pylibcpupower_wrap.c: raw_pylibcpupower.swg
ifeq ($(HAVE_SWIG),0)
$(error "swig was not found. Make sure you have it installed and in the PATH to generate the bindings.")
else ifeq ($(HAVE_PYCONFIG),0)
$(error "python-config was not found. Make sure you have it installed and in the PATH to generate the bindings.")
endif
- swig -python raw_pylibcpupower.i
+ swig -python raw_pylibcpupower.swg
# Will only clean the bindings folder; will not clean the actual cpupower folder
clean:
diff --git a/tools/power/cpupower/bindings/python/raw_pylibcpupower.i b/tools/power/cpupower/bindings/python/raw_pylibcpupower.swg
similarity index 100%
rename from tools/power/cpupower/bindings/python/raw_pylibcpupower.i
rename to tools/power/cpupower/bindings/python/raw_pylibcpupower.swg
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [GIT PULL] [GIT PULL] cpupower fixes for Linux 6.12-rc1
2024-09-23 20:19 [GIT PULL] [GIT PULL] cpupower fixes for Linux 6.12-rc1 Shuah Khan
@ 2024-09-24 20:01 ` Linus Torvalds
2024-09-24 20:18 ` Shuah Khan
2024-09-24 20:21 ` pr-tracker-bot
1 sibling, 1 reply; 5+ messages in thread
From: Linus Torvalds @ 2024-09-24 20:01 UTC (permalink / raw)
To: Shuah Khan
Cc: Rafael J. Wysocki, shuah, linux-pm, linux-kernel, Guenter Roeck,
John B. Wyatt IV
On Mon, 23 Sept 2024 at 13:19, Shuah Khan <skhan@linuxfoundation.org> wrote:
>
> Please send this up to Linus if at all possible before the merge
> window closes.
Bah, I took it directly, since it was in my mailbox and was lit up
like a christmas tree because it triggered my git pull search
criteria.
Linus
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [GIT PULL] [GIT PULL] cpupower fixes for Linux 6.12-rc1
2024-09-24 20:01 ` Linus Torvalds
@ 2024-09-24 20:18 ` Shuah Khan
2024-09-24 20:19 ` Linus Torvalds
0 siblings, 1 reply; 5+ messages in thread
From: Shuah Khan @ 2024-09-24 20:18 UTC (permalink / raw)
To: Linus Torvalds
Cc: Rafael J. Wysocki, shuah, linux-pm, linux-kernel, Guenter Roeck,
John B. Wyatt IV, Shuah Khan
On 9/24/24 14:01, Linus Torvalds wrote:
> On Mon, 23 Sept 2024 at 13:19, Shuah Khan <skhan@linuxfoundation.org> wrote:
>>
>> Please send this up to Linus if at all possible before the merge
>> window closes.
>
> Bah, I took it directly, since it was in my mailbox and was lit up
> like a christmas tree because it triggered my git pull search
> criteria.
>
> Linus
Your git pull search criteria got some workout looks like. :)
Is it all good after the lighting up or should it go through
the normal channels through the pm tree?
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [GIT PULL] [GIT PULL] cpupower fixes for Linux 6.12-rc1
2024-09-24 20:18 ` Shuah Khan
@ 2024-09-24 20:19 ` Linus Torvalds
0 siblings, 0 replies; 5+ messages in thread
From: Linus Torvalds @ 2024-09-24 20:19 UTC (permalink / raw)
To: Shuah Khan
Cc: Rafael J. Wysocki, shuah, linux-pm, linux-kernel, Guenter Roeck,
John B. Wyatt IV
On Tue, 24 Sept 2024 at 13:18, Shuah Khan <skhan@linuxfoundation.org> wrote:
>
> Is it all good after the lighting up or should it go through
> the normal channels through the pm tree?
It's all good and pushed out.
Linus
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [GIT PULL] [GIT PULL] cpupower fixes for Linux 6.12-rc1
2024-09-23 20:19 [GIT PULL] [GIT PULL] cpupower fixes for Linux 6.12-rc1 Shuah Khan
2024-09-24 20:01 ` Linus Torvalds
@ 2024-09-24 20:21 ` pr-tracker-bot
1 sibling, 0 replies; 5+ messages in thread
From: pr-tracker-bot @ 2024-09-24 20:21 UTC (permalink / raw)
To: Shuah Khan
Cc: Rafael J. Wysocki, shuah, Shuah Khan, linux-pm, linux-kernel,
Linus Torvalds, Guenter Roeck, John B. Wyatt IV, Shuah Khan
The pull request you sent on Mon, 23 Sep 2024 14:19:01 -0600:
> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux tags/linux-cpupower-6.12-rc1-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7f8de2bf072530a48f53a5658db8528af598b75f
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-09-24 20:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23 20:19 [GIT PULL] [GIT PULL] cpupower fixes for Linux 6.12-rc1 Shuah Khan
2024-09-24 20:01 ` Linus Torvalds
2024-09-24 20:18 ` Shuah Khan
2024-09-24 20:19 ` Linus Torvalds
2024-09-24 20:21 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox