Hello community,

here is the log from the commit of package cpupower for openSUSE:Leap:15.2 
checked in at 2020-03-21 16:46:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/cpupower (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.cpupower.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpupower"

Sat Mar 21 16:46:59 2020 rev:23 rq:787024 version:5.5

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/cpupower/cpupower.changes      2020-02-04 
17:59:51.344946197 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.cpupower.new.3160/cpupower.changes    
2020-03-21 16:50:26.789776836 +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.uZTVlQ/_old  2020-03-21 16:50:27.349777195 +0100
+++ /var/tmp/diff_new_pack.uZTVlQ/_new  2020-03-21 16:50:27.349777195 +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