Hello!
On Sun, 11 Nov 2018 at 19:24, Daniel Díaz daniel.diaz@linaro.org wrote:
On Sun, 11 Nov 2018 at 18:05, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
On Sun, Nov 11, 2018 at 04:36:16PM -0600, Daniel Díaz wrote:
Just FYI, the i386 and x86_64 builds choked on cpupower: CC /srv/oe/build/tmp-rpb-glibc/work/intel_core2_32-linaro-linux/cpupower/1.0-r0/cpupower-1.0/utils/helpers/amd.o utils/helpers/amd.c: In function 'decode_pstates': utils/helpers/amd.c:106:39: error: 'union msr_pstate' has no member named 'fam17h_bits'
For v4.4.163-99-g0d9e7b480ef2 and v4.9.136-142-gdc28287de643.
What does this mean? That's not kernel code, is it?
Yeah, introduced by ef8d3a12 ("cpupower: Fix coredump on VMWare") in v4.9.136-142-g36c7703938e8. Can be seen with `make tools/cpupower`. I'll follow that lead later tonight.
Cherry-picking 902bef73faa9 ("cpupower: Add support for new AMD family 0x17") seems to help getting it built, but I don't have an AMD chip to test with. Dropping that patch ("cpupower: Fix coredump on VMWare") also fixed it.
Worked for both v4.4.163-99-g0d9e7b480ef2 and v4.9.136-142-g36c7703938e8.
Greetings!
Daniel Díaz daniel.diaz@linaro.org