On 10. april 2017 18:41, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 4.10.10 release.
There are 110 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
turbostat is no longer building:
make[2]: Entering directory
'/build/data/linux/linux-4.10/build/4.10-1/tools/power/x86/turbostat'
gcc -Wall -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
-DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
turbostat.c -o
/build/data/linux/linux-4.10/build/4.10-1/tools/power/x86/turbostat/turbostat
turbostat.c: In function ‘dump_atom_turbo_ratio_limits’:
turbostat.c:1606:20: error: ‘MSR_ATOM_CORE_RATIOS’ undeclared (first use
in this function)
get_msr(base_cpu, MSR_ATOM_CORE_RATIOS, &msr);
^~~~~~~~~~~~~~~~~~~~
turbostat.c:1606:20: note: each undeclared identifier is reported only
once for each function it appears in
turbostat.c:1624:20: error: ‘MSR_ATOM_CORE_TURBO_RATIOS’ undeclared
(first use in this function)
get_msr(base_cpu, MSR_ATOM_CORE_TURBO_RATIOS, &msr);
^~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:16: recipe for target 'turbostat' failed
This is caused by upstream commit
0f7887c49b0c454aef9936a6eadabe1c91b5af55 and can be fixed by adding
upstream commit 8a34fd0226eaae64d61ff9a113d276e28acb6b5c which only adds
the missing defines.
I did not try to build in 4.9, but given it has the same commits it
should be needed there too.