Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp804867img; Mon, 18 Mar 2019 14:47:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzd0kcAxZSP8645FLw63zFzpzHr+LaKcUW1zpOuCo56w6GazgvM/cXZK7hI5LupHAocxpBE X-Received: by 2002:a62:4287:: with SMTP id h7mr21760020pfd.110.1552945630454; Mon, 18 Mar 2019 14:47:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552945630; cv=none; d=google.com; s=arc-20160816; b=J6F6XjIo33Sg3vBoC1Tlg95/z29kFS7aBCsU1YtJaaBd+50i0g8iFsMaFwHtywjhad IqViZzK+36himg6sC6eFMgf+Rt371wRUggfUGA0ctBxskjjP5oN9zzT5nB1sGsD0sgPH +lE7/6liA9ix3b7gxCi1n8QP/8U7nFA4UP2c8FqUIB0qkUG5jJdqcY1Wao5K1EFEM4Mt 18FtvULcEkEN9f6U1bF9iFRmOeIm7WCWf/PoTHLts3xZWZk4fkIfL9qAItt8PWpQSEXs HWkrNzftTlE8wX3NrjHkgIa1jOUXpLHPz07pmPADxt1JSJjtrsRc/erGNEgRGsyLL08u SnyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=V2JFaNN5yiLZaAB2ARAz1YeQXfMiZsLpPysUky0tWkY=; b=MoGE3vdxhHFUyG3a7qfIxIpNdtWlSeaK2bzzDDMkFQbOnibvDZcLyCpqTV6zw5IFUo elm7bjh/MpE2bhdOFWP2mIA8z2r7Eq15JjJeI6W2U7g2/l4DNKSU2rvEyoda2KsXy2md GqZ1G1QEvSfw93dvvdAv4JNjTTI3CmcRL7wYuiH+GMxrYfYdG+JtZg/FXwsWsezCkTD7 HqhnrH5ViReCJyyGQTXrArbfodpvbG8c2O1VAVhJbZgJ28f6m4dOsNbdZKcOqPhM39xY qpFYRgKS0FOwAs9ta0NKviXNnnTedn/KS9giqah9J/yyPJ29P9Td2BcXjXZCBIic9+CJ EIJw== 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 f6si10939175plf.356.2019.03.18.14.46.54; Mon, 18 Mar 2019 14:47:10 -0700 (PDT) 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 S1728034AbfCRVpq (ORCPT + 99 others); Mon, 18 Mar 2019 17:45:46 -0400 Received: from mga04.intel.com ([192.55.52.120]:57595 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727604AbfCRVoS (ORCPT ); Mon, 18 Mar 2019 17:44:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2019 14:44:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,495,1544515200"; d="scan'208";a="308301793" Received: from otc-icl-cdi187.jf.intel.com ([10.54.55.103]) by orsmga005.jf.intel.com with ESMTP; 18 Mar 2019 14:44:18 -0700 From: kan.liang@linux.intel.com To: peterz@infradead.org, acme@kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, jolsa@kernel.org, eranian@google.com, alexander.shishkin@linux.intel.com, ak@linux.intel.com, Kan Liang Subject: [PATCH 07/22] perf/x86/intel/cstate: Add Icelake support Date: Mon, 18 Mar 2019 14:41:29 -0700 Message-Id: <20190318214144.4639-8-kan.liang@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190318214144.4639-1-kan.liang@linux.intel.com> References: <20190318214144.4639-1-kan.liang@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kan Liang Icelake uses the same C-state residency events as Sandy Bridge. Signed-off-by: Kan Liang --- arch/x86/events/intel/cstate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c index 94a4b7fc75d0..dd5658ec31d5 100644 --- a/arch/x86/events/intel/cstate.c +++ b/arch/x86/events/intel/cstate.c @@ -578,6 +578,8 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = { X86_CSTATES_MODEL(INTEL_FAM6_ATOM_GOLDMONT_X, glm_cstates), X86_CSTATES_MODEL(INTEL_FAM6_ATOM_GOLDMONT_PLUS, glm_cstates), + + X86_CSTATES_MODEL(INTEL_FAM6_ICELAKE_MOBILE, snb_cstates), { }, }; MODULE_DEVICE_TABLE(x86cpu, intel_cstates_match); -- 2.17.1