Dominique Leuenberger 2020-03-09 10:42:55 +00:00 committed by Git OBS Bridge
commit d9722b8734
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,17 @@
---
utils/cpufreq-info.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/utils/cpufreq-info.c
+++ b/utils/cpufreq-info.c
@@ -191,7 +191,9 @@
if (ret)
return ret;
- printf(_(" Boost States: %d\n"), b_states);
+ if (b_states != 0)
+ printf(_(" Boost States: %d\n"), b_states);
+
printf(_(" Total States: %d\n"), pstate_no);
for (i = 0; i < pstate_no; i++) {
if (!pstates[i])

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 5 09:45:02 UTC 2020 - Thomas Renninger <trenn@suse.de>
- 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
-------------------------------------------------------------------
Thu Jan 30 13:25:05 UTC 2020 - trenn@suse.de

View File

@ -44,6 +44,7 @@ Patch2: rapl_monitor.patch
Patch3: cpupower_exclude_kernel_Makefile.patch
Patch4: cpupower-Revert-library-ABI-changes-from-commit-ae2917093fb60bdc1ed3e.patch
Patch5: Correction-to-manpage-of-cpupower.patch
Patch6: amd_do_not_show_amount_of_boost_states_if_zero.patch
#turbostat patches
Patch22: turbostat_makefile_fix_asm_header.patch
@ -98,6 +99,7 @@ powersave module.
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
cd ../turbostat-%{tsversion}
%patch22 -p1