Hello community,

here is the log from the commit of package cpupower for openSUSE:Factory 
checked in at 2020-03-09 11:42:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpupower (Old)
 and      /work/SRC/openSUSE:Factory/.cpupower.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpupower"

Mon Mar  9 11:42:55 2020 rev:46 rq:782867 version:5.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpupower/cpupower.changes        2020-01-31 
23:57:48.783667829 +0100
+++ /work/SRC/openSUSE:Factory/.cpupower.new.26092/cpupower.changes     
2020-03-09 11:43:05.045346813 +0100
@@ -1,0 +2,8 @@
+Thu Mar  5 09:45:02 UTC 2020 - Thomas Renninger <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------

New:
----
  amd_do_not_show_amount_of_boost_states_if_zero.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cpupower.spec ++++++
--- /var/tmp/diff_new_pack.a9T53f/_old  2020-03-09 11:43:06.577347642 +0100
+++ /var/tmp/diff_new_pack.a9T53f/_new  2020-03-09 11:43:06.581347645 +0100
@@ -44,6 +44,7 @@
 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 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 cd ../turbostat-%{tsversion}
 %patch22 -p1

++++++ amd_do_not_show_amount_of_boost_states_if_zero.patch ++++++
---
 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])

Reply via email to