From 8de131a4161288624b97af1cfeb1eb9782dc0bef Mon Sep 17 00:00:00 2001 From: Chen Yu Date: Sat, 11 Sep 2021 12:14:25 +0800 Subject: [PATCH] tools/power turbostat: Support Ice Lake server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mainline inclusion from mainline-v5.6-rc7 commit 23274faf96500700da83c4f0ff12d78ae03d5604 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I47H3V CVE: NA -------------------------------- From a turbostat point of view, Ice Lake server looks like Sky Lake server. (cherry picked from commit 23274faf96500700da83c4f0ff12d78ae03d5604) Signed-off-by: Chen Yu Signed-off-by: Len Brown Signed-off-by: Jackie Liu Reviewed-by: 江国庆 Signed-off-by: Zheng Zengkai Reviewed-by: Hanjun Guo Reviewed-by: Xie XiuQi Signed-off-by: Yang Yingliang --- tools/power/x86/turbostat/turbostat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 47015cb75405..a6a0d1661604 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -4563,6 +4563,9 @@ unsigned int intel_model_duplicates(unsigned int model) case INTEL_FAM6_KABYLAKE_MOBILE: case INTEL_FAM6_KABYLAKE_DESKTOP: return INTEL_FAM6_SKYLAKE_MOBILE; + + case INTEL_FAM6_ICELAKE_X: + return INTEL_FAM6_SKYLAKE_X; } return model; } -- GitLab