Commit Graph

69 Commits

Author SHA256 Message Date
Thomas Renninger
034eaac04f Accepting request 1167813 from home:trenn:branches:hardware
- Parse turbostat and intel-speed-select version from kernel sources and
  add them to %description

OBS-URL: https://build.opensuse.org/request/show/1167813
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=136
2024-04-29 07:43:23 +00:00
Thomas Renninger
ef1f8fe570 Accepting request 1151150 from home:dimstar:rpm4.20:c
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151150
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=134
2024-02-29 15:53:04 +00:00
Thomas Renninger
254583749f Accepting request 1127698 from home:trenn:branches:hardware
- Fix library file version: libcpupower.so.0.0.1 -> libcpupower.so.1.0.1
A cpupower_fix_library_so_name.patch

OBS-URL: https://build.opensuse.org/request/show/1127698
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=130
2023-11-20 12:41:42 +00:00
Thomas Renninger
45b66d1cb4 Accepting request 1126632 from home:iznogood:factory
- Rename libcpupower0 to libcpupower1 following changes in SONAME.
- Use ldconfig_scriptlets macro for post(un) handling.

OBS-URL: https://build.opensuse.org/request/show/1126632
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=129
2023-11-15 13:58:39 +00:00
Thomas Renninger
44a9fb11e1 Accepting request 1069474 from home:trenn:branches:hardware
- Add wildcard for powercap.h since powercap patches have reached mainline
- Build bash-completion noarch

OBS-URL: https://build.opensuse.org/request/show/1069474
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=127
2023-03-05 18:54:30 +00:00
Thomas Renninger
b32e004802 Accepting request 1030419 from home:dimstar:Factory
- clean up sources: drop rapl_monitor.patch and
  cpupower_rapl.patch.

This allows the fixed package to be submitted to Factory

OBS-URL: https://build.opensuse.org/request/show/1030419
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=125
2022-10-21 14:57:41 +00:00
Thomas Renninger
081b1d0214 Accepting request 1010274 from home:gmbr3:Active
- Move bash-completion to subpackage so it isn't installed when
  not needed

OBS-URL: https://build.opensuse.org/request/show/1010274
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=124
2022-10-13 07:31:29 +00:00
Thomas Renninger
48044d751d Accepting request 986896 from home:trenn:branches:hardware
- Remove powercap capabilities to patch againt latest kernel sources
  -> still keep the patches, will be removed after trying to get this
     mainline
- Add netlink (libnl-devel) requires
- Devel package should be noarch

OBS-URL: https://build.opensuse.org/request/show/986896
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=123
2022-07-05 15:24:28 +00:00
Thomas Renninger
a995557204 Accepting request 967866 from home:dirkmueller:Factory
- add rebuild subpackage to trigger rebuild on kernel updates

OBS-URL: https://build.opensuse.org/request/show/967866
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=121
2022-04-11 06:23:50 +00:00
Thomas Renninger
7d75020bd2 Accepting request 957121 from home:gmbr3:Active
- Change to building the package from kernel-source based on
  how the perf package works
- Removed patches:
  * turbostat_makefile_fix_asm_header.patch
  * remove_bits_h.patch
  * x86_perf_makefile_fix_asm_header.patch
- Remove all tarballs and git script
- Use %lang_package
- Correct ix86 to %ix86

OBS-URL: https://build.opensuse.org/request/show/957121
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=120
2022-02-23 20:09:02 +00:00
Thomas Renninger
34ffab8694 Accepting request 907146 from home:trenn:branches:hardware
- Update (jsc#SLE-18392, jsc#SLE-18906, jsc#SLE-18393, jsc#SLE-18410):
 * turbostat          to    21.05.04
 * intel speed select to    1.10
 * cpupower           to    5.14-rcX (kernel sources state)

OBS-URL: https://build.opensuse.org/request/show/907146
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=117
2021-07-19 13:43:20 +00:00
Thomas Renninger
afc473be95 Accepting request 849117 from home:trenn:branches:hardware
- Update turbostat to latest version 20.09.30 including:
  * jsc#SLE-13412, jsc#SLE-13174 (rocket lake support)
  * jsc#SLE-13448 (Alder Lake support)
  * jsc#SLE-13348, jsc#SLE-13171 (Sapphire Rapid support)
  * Support AMD Fam 19h
- Touched patches:
  Deleted mainline integrated patches:
D    Correction-to-manpage-of-cpupower.patch
D    cpupower-Revert-library-ABI-changes-from-commit-ae2917093fb60bdc1ed3e.patch
  Patches refreshed:
M    rapl_monitor.patch
M    turbostat_makefile_fix_asm_header.patch

- Update intel-speed-select to version 1.6 (jsc#SLE-13334)

OBS-URL: https://build.opensuse.org/request/show/849117
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=112
2020-11-18 10:47:46 +00:00
Thomas Renninger
079389a90b Accepting request 815504 from home:polslinux:branches:hardware
- Add -fcommon to allow building against GCC10

OBS-URL: https://build.opensuse.org/request/show/815504
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=110
2020-06-17 12:37:51 +00:00
Thomas Renninger
3ba4e6a621 Accepting request 807175 from home:trenn:branches:hardware
- Update to latest:
  turbostat 20.03.20
  intel-speed-select 1.3  (bsc#1171810)
  verions
- Adjust needed kernel and userspace requirements in:
  cpupower_export_tarball_from_git.sh
  and
  BuildRequires: libcap-devel
A remove_bits_h.patch

OBS-URL: https://build.opensuse.org/request/show/807175
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=108
2020-05-19 10:14:25 +00:00
Tomáš Chvátal
7f4f147698 Accepting request 782853 from home:trenn:branches:hardware
- Do not show 0 boost states if boost states are supported, but could
  not be read from PCI registers.
  bsc#1165712, bsc#1164983
A amd_do_not_show_amount_of_boost_states_if_zero.patch

OBS-URL: https://build.opensuse.org/request/show/782853
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=106
2020-03-09 09:54:32 +00:00
Thomas Renninger
c59d9c593c Accepting request 768744 from home:trenn:branches:hardware
- Add mainline patch with proper patch header and filename:
D libcpupower_fix_api_cpufreq_get_frequencies_breakage.patch
A cpupower-Revert-library-ABI-changes-from-commit-ae2917093fb60bdc1ed3e.patch
- Fix manpage (bsc#1162142)
A Correction-to-manpage-of-cpupower.patch

OBS-URL: https://build.opensuse.org/request/show/768744
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=104
2020-01-30 13:56:12 +00:00
Tomáš Chvátal
65567d6f5a Accepting request 752877 from home:trenn:branches:hardware
- Update intel-speed-select to latest 5.5-rc1 kernel version
  latest mainline commit:
  commit b3abfd778bf1dbdd
- Update cpupower to latest 5.5-rc1 kernel version
  latest mainline commit:
  commit 4611a4fb0cce3
  Fixes aperf/mperf monitoring on latest AMD Rome CPUs (bsc#1152967)
- Fix library API breakage (bsc#1154240)
A libcpupower_fix_api_cpufreq_get_frequencies_breakage.patch

OBS-URL: https://build.opensuse.org/request/show/752877
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=102
2019-12-02 12:03:46 +00:00
Thomas Renninger
39b7d948a3 Accepting request 743864 from home:trenn:branches:hardware
- Update turbostat to latest version 19.08.31

OBS-URL: https://build.opensuse.org/request/show/743864
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=100
2019-10-29 15:40:08 +00:00
Thomas Renninger
075bce6d42 Accepting request 716097 from home:trenn:branches:hardware
- Add intel-speed-select tool (jsc#SLE-5364)
A intel-speed-select-1.0.tar.bz2
A intel-speed-select_remove_DATE_TIME.patch
- Fix missing governors when running cpupower frequency-info (bsc#1117709)
M rapl_monitor.patch

OBS-URL: https://build.opensuse.org/request/show/716097
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=97
2019-07-17 16:19:48 +00:00
Thomas Renninger
061438bcfb Accepting request 707851 from home:trenn:branches:hardware
- Update to kernel version 5.1 final
- Remove very old cpufrequtils provides and requires (predecessor)
- Update libcpupower description

OBS-URL: https://build.opensuse.org/request/show/707851
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=92
2019-06-05 13:42:34 +00:00
Thomas Renninger
8b6a3f5491 Accepting request 692327 from home:trenn:branches:hardware
- Update to latest kernel HEAD sources
  (5.1-rc4, 15ade5d2e7775667cf191cf2f94327a4889f8b9d)
Patches included mainline:
D cpupower_fix_compilation_and_sysfs_read_file_mess.patch
D cpupower_bash-completion_for_cpupower_tool.patch
Adjusted patches:
M turbostat_makefile_fix_asm_header.patch
M x86_perf_makefile_fix_asm_header.patch
M rapl_monitor.patch
M cpupower_rapl.patch

OBS-URL: https://build.opensuse.org/request/show/692327
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=89
2019-04-08 14:47:04 +00:00
Tomáš Chvátal
8b41dfbd17 Accepting request 655644 from home:jengelh:branches:hardware
- Description updates.

OBS-URL: https://build.opensuse.org/request/show/655644
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=87
2018-12-06 13:33:06 +00:00
Ismail Dönmez
7ac7e310d0 - Run spec-cleaner
- Don't disable as-needed, it works now.

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=86
2018-12-06 09:34:25 +00:00
Tomáš Chvátal
a694a76be1 Accepting request 653833 from home:trenn:branches:hardware
- Add bash completion for cpupower command (from mainline submit)
A cpupower_bash-completion_for_cpupower_tool.patch

OBS-URL: https://build.opensuse.org/request/show/653833
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=85
2018-12-06 08:34:34 +00:00
Thomas Renninger
d13d815a4c Accepting request 642280 from home:trenn:branches:hardware
- Fix static compilation and sysfs_read_file mess
A cpupower_fix_compilation_and_sysfs_read_file_mess.patch

OBS-URL: https://build.opensuse.org/request/show/642280
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=83
2018-10-16 13:27:33 +00:00
Thomas Renninger
b3a3f0b493 Accepting request 639997 from home:trenn:branches:hardware
- Updating to latest 4.19(-rc6) kernel sources
  Turbostat is increased to version 18.07.27 by this
  Patches which got deleted because they are now mainline:
D    turbostat_decode_MSR_IA32_MISC_ENABLE_only_on_Intel.patch
D    turbostat_fix_man_perm.patch
D    x86_perf_fix_man_permissions.patch

OBS-URL: https://build.opensuse.org/request/show/639997
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=81
2018-10-04 16:34:17 +00:00
Thomas Renninger
540cbc1c56 Accepting request 563662 from home:trenn:branches:hardware
- Update cpupower to latest kernel version (version name 4.15, but
  checked out against latest kernel tag 4.15-rc7. There will not
  be important changes any more, maybe a fix).
- cpu online/offline fixes
- This is the first cpupower package (with updated version) which
  includes x86_energy_perf_policy binary.
  This is important for later package dependencies, namely tuned.
A cpupower_exclude_kernel_Makefile.patch

OBS-URL: https://build.opensuse.org/request/show/563662
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=79
2018-01-11 16:32:13 +00:00
Thomas Renninger
8d9c29c3ee Accepting request 563085 from home:trenn:branches:hardware
- Add x86_energy_perf_bias tool
  This is a tool which is, same as turbostat, located in kernel sources here:
  tools/power/x86/
A x86_energy_perf_policy-17.05.11.tar.bz2
A x86_perf_fix_man_permissions.patch
A x86_perf_makefile_fix_asm_header.patch

OBS-URL: https://build.opensuse.org/request/show/563085
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=77
2018-01-09 16:47:36 +00:00
Thomas Renninger
e6872a969d Accepting request 535512 from home:trenn:branches:hardware
fate#321274
- Provide rapl domain info (cpupower powercap-info cmd)
* Add: cpupower_rapl.patch
- Provide rapl power monitoring
* Add: rapl_monitor.patch

OBS-URL: https://build.opensuse.org/request/show/535512
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=75
2017-10-20 15:15:22 +00:00
Josef Möllers
9042e806ee OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=73 2017-10-06 16:31:33 +00:00
Torsten Duwe
fcc497a78a Accepting request 532220 from home:jengelh:branches:hardware
unconflict

OBS-URL: https://build.opensuse.org/request/show/532220
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=72
2017-10-06 15:52:17 +00:00
Josef Möllers
88eeebbf14 Accepting request 531730 from home:jmoellers:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/531730
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=67
2017-10-05 14:08:00 +00:00
Thomas Renninger
33d8b08f68 Accepting request 492628 from home:trenn:branches:hardware
- Update to latest mainline sources
- turbostat changed versioning scheme (we now have version 17.04.12)

OBS-URL: https://build.opensuse.org/request/show/492628
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=65
2017-05-03 12:12:17 +00:00
Thomas Renninger
aa0dbb6615 Accepting request 482046 from home:trenn:branches:hardware
- Update cpupower and turbostat to latest kernel v4.10 sources
D library_cleanup.patch
- Change .c file header file modification, modify in Makefile instead:
D turbostat_set_asm_header_fixed.patch
A turbostat_makefile_fix_asm_header.patch

OBS-URL: https://build.opensuse.org/request/show/482046
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=61
2017-03-22 19:21:57 +00:00
Thomas Renninger
a2372e2348 Accepting request 392090 from home:trenn:branches:hardware
- Update turbostat to version 4.12
- Update cpupower to latest sources
- Let turbostat only build against a local msr-index.h
  Also add the msr-index.h export to the tarball from git repo script
*Delete make_header_file_passable_from_outside.patch

OBS-URL: https://build.opensuse.org/request/show/392090
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=59
2016-04-29 10:57:58 +00:00
Thomas Renninger
3caf797dee Accepting request 390804 from home:trenn:branches:hardware
- Add cpuidle functions to public libcpupower
*Add library_cleanup.patch

OBS-URL: https://build.opensuse.org/request/show/390804
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=57
2016-04-20 13:39:46 +00:00
Thomas Renninger
824f0d30ab - Move from kernel version to turbostat internal version for turbostat
- Add latest turbostat sources (latest git commit: 30f05309bde492)
- Adds Skylake, Broadwell and Knights Landing support for turbostat
  (fate#319798, fate#319183, fate#319516)

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=55
2016-01-26 17:30:49 +00:00
Ismail Dönmez
b56163a69e -
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=53
2016-01-06 14:13:14 +00:00
Ismail Dönmez
a346746308 Accepting request 352261 from home:jdelvare:branches:hardware
- Drop dead link.
- Fix Osoletes statement, cpufrequtils package versions were
  greater than cpupower package versions so we must obsolete all
  versions of cpufrequtils.

OBS-URL: https://build.opensuse.org/request/show/352261
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=51
2016-01-06 11:44:26 +00:00
Thomas Renninger
4e88fd7221 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=50 2015-01-28 18:33:39 +00:00
Thomas Renninger
597dab8113 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=49 2015-01-28 18:33:16 +00:00
Thomas Renninger
52a61ee8e3 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=48 2015-01-28 18:32:27 +00:00
Thomas Renninger
60e17861c8 - Make sources also build against 13.1 and older by providing
asm-index.h which is included in linux-glibc-devel in newer
  distributions
*Add turbostat_set_asm_header_fixed.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=47
2015-01-28 18:21:11 +00:00
Thomas Renninger
b04de73421 - Update cpupower and turbostat to latest git kernel HEAD version
this currently is 3.19-rc6, but it is expected that there are no
  changes anymore and the version gets named 3.19 already.
  The patches are already included mainline and get removed from osc:
      cpupower_disable_by_latency.patch
      add_idle_manpages_in_Makefile.patch
      cpupower-always_try_to_load_msr_driver_as_root.patch
      cpupower-return_zero_on_success.patch
      cpupower-remove_mc_scheduler_bits.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=46
2015-01-28 17:16:02 +00:00
Thomas Renninger
3e02276e34 - Update turbostat to latest 3.17 kernel version (in fact it is 3.16-rc7)
This fixes bnc#891523

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=43
2014-08-12 13:50:31 +00:00
Thomas Renninger
f443a2fc15 - Do return 0 if cpupower info -b is called instead of the perf bias value
which is already printed to stdout.
  Add cpupower-return_zero_on_success.patch
- Remove mc and smt scheduler knobs. These do not exist anymore in latest
  kernels for quite a while now.
  Add cpupower-remove_mc_scheduler_bits.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=40
2014-04-01 12:33:00 +00:00
Thomas Renninger
4a964b90ae - If root, try to load msr driver on x86 if /dev/cpu/0/msr is not avail
Add cpupower-always_try_to_load_msr_driver_as_root.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=39
2014-03-31 15:27:58 +00:00
Thomas Renninger
1a1be68aee - Update to latest turbostat version (git 2d6e532279ddf30188d5fbd)
bnc#866862, bnc#869071, bnc#869809
- Adjust MSR include path
  add make_header_file_passable_from_outside.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=37
2014-03-28 19:37:44 +00:00
Thomas Renninger
0b75432b55 - Fix Makefile: Install latest cpupower-idle-* manpages
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=36
2014-03-28 19:06:25 +00:00
Thomas Renninger
227205adc5 - Introduce idle state disable-by-latency and enable-all
Part of fate#316611

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=33
2014-03-14 03:24:09 +00:00