Hello community, here is the log from the commit of package cpupower for openSUSE:Factory checked in at 2017-10-06 11:04:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cpupower (Old) and /work/SRC/openSUSE:Factory/.cpupower.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cpupower" Fri Oct 6 11:04:46 2017 rev:31 rq:531750 version:4.11 Changes: -------- --- /work/SRC/openSUSE:Factory/cpupower/cpupower.changes 2017-05-04 08:55:34.974996173 +0200 +++ /work/SRC/openSUSE:Factory/.cpupower.new/cpupower.changes 2017-10-06 11:04:49.468874576 +0200 @@ -1,0 +2,7 @@ +Thu Oct 5 12:02:46 UTC 2017 - josef.moellers@suse.com + +- Enter decode_misc_enable_msr() only if genuine_intel. + [bsc#1048546, + turbostat_decode_MSR_IA32_MISC_ENABLE_only_on_Intel.patch] + +------------------------------------------------------------------- New: ---- turbostat_decode_MSR_IA32_MISC_ENABLE_only_on_Intel.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cpupower.spec ++++++ --- /var/tmp/diff_new_pack.nV4D3z/_old 2017-10-06 11:04:50.660694320 +0200 +++ /var/tmp/diff_new_pack.nV4D3z/_new 2017-10-06 11:04:50.664693715 +0200 @@ -33,6 +33,8 @@ Patch20: turbostat_fix_man_perm.patch Patch22: turbostat_makefile_fix_asm_header.patch +# Fixes bsc#1048546: +Patch23: turbostat_decode_MSR_IA32_MISC_ENABLE_only_on_Intel.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gettext-tools BuildRequires: pciutils @@ -80,6 +82,7 @@ cd ../turbostat-%{tsversion} %patch20 -p1 %patch22 -p1 +%patch23 -p1 %build # This package failed when testing with -Wl,-as-needed being default. ++++++ turbostat_decode_MSR_IA32_MISC_ENABLE_only_on_Intel.patch ++++++ Index: turbostat-17.04.12/turbostat.c =================================================================== --- turbostat-17.04.12.orig/turbostat.c +++ turbostat-17.04.12/turbostat.c @@ -3895,6 +3895,9 @@ void decode_misc_enable_msr(void) { unsigned long long msr; + if (!genuine_intel) + return; + if (!get_msr(base_cpu, MSR_IA32_MISC_ENABLE, &msr)) fprintf(outf, "cpu%d: MSR_IA32_MISC_ENABLE: 0x%08llx (%sTCC %sEIST %sMWAIT %sPREFETCH %sTURBO)\n", base_cpu, msr,