Hello community,

here is the log from the commit of package cpupower for openSUSE:Factory 
checked in at 2017-05-04 08:55:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpupower (Old)
 and      /work/SRC/openSUSE:Factory/.cpupower.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpupower"

Thu May  4 08:55:32 2017 rev:30 rq:492629 version:4.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpupower/cpupower.changes        2017-04-11 
12:43:36.903718443 +0200
+++ /work/SRC/openSUSE:Factory/.cpupower.new/cpupower.changes   2017-05-04 
08:55:34.974996173 +0200
@@ -1,0 +2,6 @@
+Wed May  3 11:13:53 UTC 2017 - [email protected]
+
+- Update to latest mainline sources
+- turbostat changed versioning scheme (we now have version 17.04.12)
+
+-------------------------------------------------------------------

Old:
----
  cpupower-4.10.tar.bz2
  turbostat-4.16.tar.bz2

New:
----
  cpupower-4.11.tar.bz2
  turbostat-17.04.12.tar.bz2

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

Other differences:
------------------
++++++ cpupower.spec ++++++
--- /var/tmp/diff_new_pack.YZc3A0/_old  2017-05-04 08:55:36.090838806 +0200
+++ /var/tmp/diff_new_pack.YZc3A0/_new  2017-05-04 08:55:36.094838242 +0200
@@ -20,9 +20,9 @@
 Name:           cpupower
 # Use this as version when things are in mainline kernel
 %define version %(rpm -q --qf '%{VERSION}' kernel-source)
-Version:        4.10
+Version:        4.11
 Release:        0
-%define tsversion      4.16
+%define tsversion      17.04.12
 Summary:        Tools to determine and set CPU Power related Settings
 License:        GPL-2.0
 Group:          System/Base

++++++ cpupower-4.10.tar.bz2 -> cpupower-4.11.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpupower-4.10/utils/cpufreq-info.c 
new/cpupower-4.11/utils/cpufreq-info.c
--- old/cpupower-4.10/utils/cpufreq-info.c      2017-02-19 23:34:00.000000000 
+0100
+++ new/cpupower-4.11/utils/cpufreq-info.c      2017-04-25 23:07:24.000000000 
+0200
@@ -285,20 +285,24 @@
 
 /* --hwlimits / -l */
 
-static int get_hardware_limits(unsigned int cpu)
+static int get_hardware_limits(unsigned int cpu, unsigned int human)
 {
        unsigned long min, max;
 
-       printf(_("  hardware limits: "));
        if (cpufreq_get_hardware_limits(cpu, &min, &max)) {
                printf(_("Not Available\n"));
                return -EINVAL;
        }
 
-       print_speed(min);
-       printf(" - ");
-       print_speed(max);
-       printf("\n");
+       if (human) {
+               printf(_("  hardware limits: "));
+               print_speed(min);
+               printf(" - ");
+               print_speed(max);
+               printf("\n");
+       } else {
+               printf("%lu %lu\n", min, max);
+       }
        return 0;
 }
 
@@ -456,7 +460,7 @@
        get_related_cpus(cpu);
        get_affected_cpus(cpu);
        get_latency(cpu, 1);
-       get_hardware_limits(cpu);
+       get_hardware_limits(cpu, 1);
 
        freqs = cpufreq_get_available_frequencies(cpu);
        if (freqs) {
@@ -622,7 +626,7 @@
                        ret = get_driver(cpu);
                        break;
                case 'l':
-                       ret = get_hardware_limits(cpu);
+                       ret = get_hardware_limits(cpu, human);
                        break;
                case 'w':
                        ret = get_freq_hardware(cpu, human);
@@ -639,7 +643,6 @@
                }
                if (ret)
                        return ret;
-               printf("\n");
        }
        return ret;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpupower-4.10/utils/helpers/cpuid.c 
new/cpupower-4.11/utils/helpers/cpuid.c
--- old/cpupower-4.10/utils/helpers/cpuid.c     2017-02-19 23:34:00.000000000 
+0100
+++ new/cpupower-4.11/utils/helpers/cpuid.c     2017-04-25 23:07:24.000000000 
+0200
@@ -156,6 +156,7 @@
                                         */
                        case 0x2C:      /* Westmere EP - Gulftown */
                                cpu_info->caps |= CPUPOWER_CAP_HAS_TURBO_RATIO;
+                               break;
                        case 0x2A:      /* SNB */
                        case 0x2D:      /* SNB Xeon */
                        case 0x3A:      /* IVB */

++++++ turbostat-4.16.tar.bz2 -> turbostat-17.04.12.tar.bz2 ++++++
++++ 3553 lines of diff (skipped)


Reply via email to