2019-12-19 14:31:03

by Chen Yu

[permalink] [raw]
Subject: [PATCH 1/2] turbostat: add support for TigerLake

TigerLake succeed IceLake, thus reuse the code of IceLake.

Signed-off-by: Chen Yu <[email protected]>
---
tools/power/x86/turbostat/turbostat.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 5d0fddda842c..520cd486e5a4 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4614,6 +4614,8 @@ unsigned int intel_model_duplicates(unsigned int model)

case INTEL_FAM6_ICELAKE_L:
case INTEL_FAM6_ICELAKE_NNPI:
+ case INTEL_FAM6_TIGERLAKE_L:
+ case INTEL_FAM6_TIGERLAKE:
return INTEL_FAM6_CANNONLAKE_L;

case INTEL_FAM6_ATOM_TREMONT_D:
--
2.17.1