Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2002181ybl; Thu, 19 Dec 2019 06:31:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzehx72KI1W74ADAW3PfBUfAMwpmdeBEFNkM/+KLxQ2yiJc0LWJqGtiCHgEmhU/RafnXWJL X-Received: by 2002:a9d:73ca:: with SMTP id m10mr9039852otk.289.1576765895719; Thu, 19 Dec 2019 06:31:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576765895; cv=none; d=google.com; s=arc-20160816; b=U3ILDc09/fth3DupF2fUJ9b0hgFOrvGhokuKCUJXxTLgK0ekWml4i+pcWWeNBzNi79 L2M2jEFHbYpEXRkquI/iySy+qblpREEHbuKFH65ipa3T+oVSW2uCc407+YqlBmRQYIFw 27KqLH7kJKlBWdmMINetAE9ARk0ekZ8v9ASy7h7cB8eIJjYxyPLGmNwUUykFkwnlWhJ8 Dt93zCzVYIsuGiP0JbEW4R3rQf8VkzIPpgsGQZ6q6wAGNSbCcfBXqfl3tjVinvszKeOJ TsFwvLOWxQnNpbMMkmNCH1GZNVS/fUYd1zxdcBH8YMEls81lBpTEsmCBUVXBrkqqQv71 bxDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=mB7JCE62otVTmo0wMRP8ZmAs4BkO2mdySsKoKZT/6Lg=; b=ee0unp3QbG5X7OviLdkTjAQ5bGBDMuKYKTTI+ZzzRL0VeitKyo4h/b8W5+OoEBlOwb U5Z5mRTgwAJ3Xr+4PJIm1iw5UJkZw8ZiamWTXARvmQWnDYHIDMlbh/y2tyCZtW6z4to8 6812o5CRTdOO7zF8t4ECq2DFw+9WHVuImApd2dh1RDb5T9GHBVxvvyQeiCqYq+SwhCqA 9n+nFAoesmexdDHH/s3T3BFpnCrFyRPWkAj5CSct9oXj+a2I7QwTuaSEG2sGZlROugLj hcW0/hYdwxp1jSE/8qLKNCucCBuLMwqeSEJoGQJqJ+9dx9cx3hxw2VANkTajslHiPv9B Gvpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 11si4523895otz.101.2019.12.19.06.31.24; Thu, 19 Dec 2019 06:31:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727040AbfLSOaO (ORCPT + 99 others); Thu, 19 Dec 2019 09:30:14 -0500 Received: from mga11.intel.com ([192.55.52.93]:35948 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726767AbfLSOaN (ORCPT ); Thu, 19 Dec 2019 09:30:13 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Dec 2019 06:30:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,332,1571727600"; d="scan'208";a="248336325" Received: from chenyu-office.sh.intel.com ([10.239.158.173]) by fmsmga002.fm.intel.com with ESMTP; 19 Dec 2019 06:30:09 -0800 From: Chen Yu To: linux-pm@vger.kernel.org Cc: Len Brown , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Chen Yu Subject: [PATCH 2/2] turbostat: add support for Icelake server Date: Thu, 19 Dec 2019 22:29:18 +0800 Message-Id: <20191219142918.10021-1-yu.c.chen@intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reuse the code of Skylake server for Icelake server. Signed-off-by: Chen Yu --- 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 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; } -- 2.17.1