tools/power turbostat: decode MSR_IA32_MISC_ENABLE only on Intel
authorLen Brown <len.brown@intel.com>
Sat, 24 Jun 2017 03:45:54 +0000 (20:45 -0700)
committerLen Brown <len.brown@intel.com>
Sun, 25 Jun 2017 03:03:41 +0000 (20:03 -0700)
commitf26b151977447be3b86f92c91e1caedc9b5eb8bf
tree6ce904236f05380e4f9cd141416ba81987f863ed
parentc91fc8519d87715a3a173475ea3778794c139996
tools/power turbostat: decode MSR_IA32_MISC_ENABLE only on Intel

otherwise, turbostat bails on on AMD Opteron boxes:

turbostat: cpu26: msr offset 0x1a0 read failed: Input/output error

Reported-by: Kamil Kolakowski <kkolakow@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c