diff mbox series

[SRU,U,1/1] tools/power turbostat: Add Cometlake support

Message ID 20191120111659.1005237-4-vicamo.yang@canonical.com
State New
Headers show
Series [SRU,U,1/1] tools/power turbostat: Add Cometlake support | expand

Commit Message

You-Sheng Yang Nov. 20, 2019, 11:16 a.m. UTC
From: Chen Yu <yu.c.chen@intel.com>

BugLink: https://bugs.launchpad.net/bugs/1847451

From a turbostat point of view, Cometlake is like Kabylake.

Suggested-by: Rui Zhang <rui.zhang@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
(cherry picked from commit 68973b44c86040ccd145d0dfe2143c839ff6ee45
https://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git)
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
---
 tools/power/x86/turbostat/turbostat.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 5d0fddda842c..985e195f066b 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4610,6 +4610,8 @@  unsigned int intel_model_duplicates(unsigned int model)
 	case INTEL_FAM6_SKYLAKE:
 	case INTEL_FAM6_KABYLAKE_L:
 	case INTEL_FAM6_KABYLAKE:
+	case INTEL_FAM6_COMETLAKE_L:
+	case INTEL_FAM6_COMETLAKE:
 		return INTEL_FAM6_SKYLAKE_L;
 
 	case INTEL_FAM6_ICELAKE_L: