Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2135300pxa; Mon, 17 Aug 2020 01:32:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp39Yr8+P9JLBpDhOfSePnRyRiDkUh+v+5+xFxKHxdVqEFZOQDQRhVJ7DkmKr2wrhXmOBp X-Received: by 2002:a17:906:a3d9:: with SMTP id ca25mr14194775ejb.164.1597653136978; Mon, 17 Aug 2020 01:32:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597653136; cv=none; d=google.com; s=arc-20160816; b=irA8o9wTV4qwgo4kcEzo6krpvDioRWX63gGnUW1ZcbZpTe1fC206OVdECoiIshHehV D5S4U1Y+e4pmDaF2W+BhzVZGZP8uSahxcdygpE9W7DuBeggSxaYhNoRLnQLSxCvSknxv eAAPxQ6mY2ANGGQkSwrzoNpPzRPIjcEMePjJR5ekJup82ph7SLQEMSy/RbR8hflqIGHK u3pD14vPujrujR/a9ukX1O6TvMMIi4/DYNpiF00ERwFJmeWRlT5bBH3mhuCYmR+OTHUW PTgCa09H9AHd3RFWamN+FzPphG6Hki0LijDtpgiPscZRgI5owg0eIuoGzSF5uL8/PPLH RFFw== 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 :ironport-sdr:ironport-sdr; bh=uhzU8crjd5g8whCbphOXdaCv/ZdNbY0RnqrPJcQheCQ=; b=lnPUarIyotGqBLweLPGoWIKsir2ySP7jfpZHfNIZVpP7IK6/eumqWVD+qUQu/7XVTM 0KTk5mP5d2i5noCdaU4PdzefyWeUStYTLKpyLL9fvHGa2lEyjy4LQeQdz9djrVwYqKEw pEPf4WjU/NYf+QO1YtxqRDplKUeNQiWbNXBdwYxCPCQ8ESMJbOHjXSu+rYcWbKl51q+p D4miS2na/hfqmY1DTFxh7sgDqrxujKLba3EqINjsdFhvg8yZmwXS9f7uax6n7crBHjke +yQCUb9+H3sM7a038xz+761wdnEY8ip+qPKEiBcuPsRzl9/JFhWoPQnsfPVvDx4eSnEH F06w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id c38si11466067edf.153.2020.08.17.01.31.54; Mon, 17 Aug 2020 01:32:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726888AbgHQIbW (ORCPT + 99 others); Mon, 17 Aug 2020 04:31:22 -0400 Received: from mga18.intel.com ([134.134.136.126]:1808 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726688AbgHQIbV (ORCPT ); Mon, 17 Aug 2020 04:31:21 -0400 IronPort-SDR: 8dTlWI76XhtspZhuWhxnXqRFBetY563pZ1St6IJCW7SMbERy9mIl1k0mwmf4C8cab0v2mRifd6 eo2uUxOifkcw== X-IronPort-AV: E=McAfee;i="6000,8403,9715"; a="142284607" X-IronPort-AV: E=Sophos;i="5.76,322,1592895600"; d="scan'208";a="142284607" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2020 01:31:20 -0700 IronPort-SDR: 3H0imvvqwXYvalrcURB4ZVobiAarxMXgSw6lf9x2eqV5SI+GV4MUYrcqDXTJrPae8Bu5XIQNhP kFOSTAAyMv7Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,322,1592895600"; d="scan'208";a="440798680" Received: from chenyu-office.sh.intel.com ([10.239.158.173]) by orsmga004.jf.intel.com with ESMTP; 17 Aug 2020 01:31:18 -0700 From: Chen Yu To: Len Brown Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "Pandruvada, Srinivas" , Chen Yu Subject: [PATCH] tools/power turbostat: Support Sapphire Rapids Date: Mon, 17 Aug 2020 16:32:23 +0800 Message-Id: <20200817083223.18697-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 Enumerate Saphire Rapids. Treat it like Sky Lake and Ice Lake server in turbostat. Signed-off-by: Chen Yu --- tools/power/x86/turbostat/turbostat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 33b370865d16..bf09f8bc000b 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -4694,6 +4694,7 @@ unsigned int intel_model_duplicates(unsigned int model) return INTEL_FAM6_ATOM_TREMONT; case INTEL_FAM6_ICELAKE_X: + case INTEL_FAM6_SAPPHIRERAPIDS_X: return INTEL_FAM6_SKYLAKE_X; } return model; -- 2.17.1