diff mbox series

[2/2] turbostat: add support for Icelake server

Message ID 20191219142918.10021-1-yu.c.chen@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Len Brown
Headers show
Series Add turbostat support for two platforms | expand

Commit Message

Chen Yu Dec. 19, 2019, 2:29 p.m. UTC
Reuse the code of Skylake server for Icelake server.

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
 tools/power/x86/turbostat/turbostat.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 520cd486e5a4..6876305f9e19 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4620,6 +4620,9 @@  unsigned int intel_model_duplicates(unsigned int model)
 
 	case INTEL_FAM6_ATOM_TREMONT_D:
 		return INTEL_FAM6_ATOM_GOLDMONT_D;
+
+	case INTEL_FAM6_ICELAKE_X:
+		return INTEL_FAM6_SKYLAKE_X;
 	}
 	return model;
 }