Commit Graph

90 Commits

Author SHA256 Message Date
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
Torsten Duwe
bf1d143a26 Accepting request 1132629 from home:aschnell:branches:hardware
added bug number

OBS-URL: https://build.opensuse.org/request/show/1132629
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=132
2024-01-05 14:50:34 +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
b3f1e2a056 Accepting request 917518 from home:trenn:branches:hardware
- SLE patches for jsc#SLE-17797 dropped (in fact never been applied to factory),
  due to inclusion in upstream version:
  cpupower-Add-CPUPOWER_CAP_AMD_HW_PSTATE-cpuid-caps-flag.patch
  cpupower-Condense-pstate-enabled-bit-checks-in-decode_pstates.patch
  cpupower-Update-family-checks-when-decoding-HW-pstates.patch
  cpupower-Remove-family-arg-to-decode_pstates.patch
  cpupower-Correct-macro-name-for-CPB-caps-flag.patch
  cpupower-Update-msr_pstate-union-struct-naming.patch
  cpupower-Add-cpuid-cap-flag-for-MSR_AMD_HWCR-support.patch
  cpupower-Remove-unused-pscur-variable.patch

OBS-URL: https://build.opensuse.org/request/show/917518
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=119
2021-09-08 08:54:39 +00:00
Thomas Renninger
fd8bb7d39c - Already upstream and included in the update:
D intel-speed-select_remove_DATE_TIME.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=118
2021-07-20 07:55:54 +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
19ec2c7e82 - Add AMD Fam 19h support (bsc#1177394)
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=115
2020-12-03 08:42:51 +00:00
Thomas Renninger
30d9c55125 Accepting request 849289 from home:trenn:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/849289
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=113
2020-11-18 13:04:07 +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
86456d40c6 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=98 2019-07-18 10:09:20 +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
8740df6b89 Accepting request 709728 from home:trenn:branches:hardware
- Sidenote about fate#321274 - This feature is on the kernel side
  and got wrongly mentioned in cpupower in a released product.

OBS-URL: https://build.opensuse.org/request/show/709728
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=95
2019-06-13 11:50:47 +00:00
Thomas Renninger
2876153d00 Accepting request 707854 from home:trenn:branches:hardware
- jira#5244 Turbostat for Ice Lake

OBS-URL: https://build.opensuse.org/request/show/707854
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=93
2019-06-05 13:50:55 +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
b1c3b2f6c5 Accepting request 692549 from home:trenn:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/692549
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=90
2019-04-09 09:08:54 +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
3544d98549 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=71 2017-10-06 13:35:22 +00:00
Josef Möllers
840d6eac29 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=70 2017-10-06 13:07:17 +00:00
Josef Möllers
ff131e3270 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=69 2017-10-06 13:02:22 +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
7707142265 Accepting request 482048 from home:trenn:branches:hardware
- fate #320908: KBL: Turbostat for KBL H/S & U/Y
- fate #321191: [KNL] turbostat reports to report corect MSR_TURBO_RATIO_LIMIT
  information
- fate #321193: [KNL] turbostat should report correct cpu clock values for
  Knights Landing
- fate #321285: turbostat support for Skylake-SP server
- fate #321286: turbostat support for Harrisonville (Denverton SoC)
- fate #321925: [HPC, KNM, kernel] turbostat support

OBS-URL: https://build.opensuse.org/request/show/482048
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=62
2017-03-22 19:30:02 +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