Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 756357b8 authored by Len Brown's avatar Len Brown
Browse files

tools/power turbostat: IVB Xeon: fix --debug regression



Staring in Linux-4.3-rc1,
commit 6fb3143b ("tools/power turbostat: dump CONFIG_TDP")
touches MSR 0x648, which is not supported on IVB-Xeon.
This results in "turbostat --debug" exiting on those systems:

turbostat: /dev/cpu/2/msr offset 0x648 read failed: Input/output error

Remove IVB-Xeon from the list of machines supporting with that MSR.

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 1f93e4a9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1926,8 +1926,6 @@ int has_config_tdp(unsigned int family, unsigned int model)

	switch (model) {
	case 0x3A:	/* IVB */
	case 0x3E:	/* IVB Xeon */

	case 0x3C:	/* HSW */
	case 0x3F:	/* HSX */
	case 0x45:	/* HSW */