| 3d6f2587 | 08-Jan-2025 |
John B. Wyatt IV <[email protected]> |
pm: cpupower: Add missing residency header changes in cpuidle.h to SWIG
"tools/cpupower: display residency value in idle-info" added a new function to cpuidle.h. This patch adds them to the bindings
pm: cpupower: Add missing residency header changes in cpuidle.h to SWIG
"tools/cpupower: display residency value in idle-info" added a new function to cpuidle.h. This patch adds them to the bindings.
Link: https://lore.kernel.org/linux-pm/[email protected]/
Tested by compiling both libcpupower and the headers; running the test script that does not use the functions as a basic sanity test.
Link: https://lore.kernel.org/r/[email protected] Signed-off-by: "John B. Wyatt IV" <[email protected]> Signed-off-by: "John B. Wyatt IV" <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| 8d097444 | 24-Dec-2024 |
John B. Wyatt IV <[email protected]> |
pm: cpupower: Add header changes for cpufreq.h to SWIG bindings
"cpupower: Add support for showing energy performance preference" added two new functions to cpufreq.h. This patch adds them to the bi
pm: cpupower: Add header changes for cpufreq.h to SWIG bindings
"cpupower: Add support for showing energy performance preference" added two new functions to cpufreq.h. This patch adds them to the bindings.
Link: https://lore.kernel.org/linux-pm/[email protected]/T/#t
Tested by compiling both libcpupower and the headers; running the test script that does not use the functions as a basic sanity test.
Link: https://lore.kernel.org/r/[email protected] Signed-off-by: "John B. Wyatt IV" <[email protected]> Signed-off-by: "John B. Wyatt IV" <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| 6c56fb44 | 19-Sep-2024 |
John B. Wyatt IV <[email protected]> |
pm: cpupower: Clean up bindings gitignore
Add SPDX identifier to the gitignore. Remove the comment and .i file since the file it references was removed in another patch. This patch depends on Min-Hu
pm: cpupower: Clean up bindings gitignore
Add SPDX identifier to the gitignore. Remove the comment and .i file since the file it references was removed in another patch. This patch depends on Min-Hua Chen's 'pm: cpupower: rename raw_pylibcpupower.i'.
Signed-off-by: John B. Wyatt IV <[email protected]> Signed-off-by: John B. Wyatt IV <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| 313312c8 | 13-Sep-2024 |
Min-Hua Chen <[email protected]> |
pm: cpupower: rename raw_pylibcpupower.i
The raw_pylibcpupower.i is removed unexpectedly after 'make mrproper'
We can reproduce the error by performing the following steps: cd linux-next make mrpro
pm: cpupower: rename raw_pylibcpupower.i
The raw_pylibcpupower.i is removed unexpectedly after 'make mrproper'
We can reproduce the error by performing the following steps: cd linux-next make mrproper cd tools/power/cpupower/bindings/python make
We will get an error message: make: *** No rule to make target 'raw_pylibcpupower.i', needed by 'raw_pylibcpupower_wrap.c'. Stop.
The root cause:
The *.i files are already used for pre-processor output files and the kernel removes all the *.i files by 'make mrproper'.
That explains why the raw_pylibcpupower.i is removed by 'make mrproper'.
To fix it, Follow John's suggestion to rename raw_pylibcpupower.i to raw_pylibcpupower.swg.
See: https://www.swig.org/Doc4.2/SWIG.html
Reviewed-by: John B. Wyatt IV <[email protected]> Reviewed-by: John B. Wyatt IV <[email protected]> Tested-by: John B. Wyatt IV <[email protected]> Tested-by: John B. Wyatt IV <[email protected]> Signed-off-by: Min-Hua Chen <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| 66047526 | 05-Sep-2024 |
John B. Wyatt IV <[email protected]> |
pm:cpupower: Include test_raw_pylibcpupower.py
This script demonstrates how to make use of, and tests, the bindings.
In the future, this script could become part of a larger test suite to test the
pm:cpupower: Include test_raw_pylibcpupower.py
This script demonstrates how to make use of, and tests, the bindings.
In the future, this script could become part of a larger test suite to test the bindings and libcpupower.
Signed-off-by: John B. Wyatt IV <[email protected]> Signed-off-by: John B. Wyatt IV <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|