Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp804806img; Mon, 18 Mar 2019 14:47:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPo+rtEFPXu9zwh724kJlCvifsfm4Ct/EMKFFHBpXuVqz+5NBVcworh3ebPuH0jv66hlJx X-Received: by 2002:a63:6985:: with SMTP id e127mr19742965pgc.101.1552945625560; Mon, 18 Mar 2019 14:47:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552945625; cv=none; d=google.com; s=arc-20160816; b=OjCAxqL2VAkhhqipAZGfyd9tJtnTFLvITngrWIZ/BSaj8iMWeb2DVRn6sCG2ZpUPmO jyqavfrnc+3s9SKjbviVWLt7jXlzJSmVlgYVCSqXRCts3OM44+i/6avh5SqLVwqgpj8z Yqna4qXlO5dzJPdYWFI6y4wWcNuimFhaqgajq3fbc4wKnYPDIIQ3x57TFvpdT49uSgR7 +hsuKswgqqPZk15/G4KX1OByHh3p3Vts6ILlAqraWwUCvXeSgyOiEg4oLohPg0aVyR8F CH0jrn8ZyZtw0SgVEeXKkaxVDQeu6hNjVhYpDR4lXo+gn7oc1LXlymj/BTpVHUsznVIG A8xA== 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=ThoiKA4r1cUpsyEEO6QEf11B15/OkZXMvuf7RjbvWJI=; b=LAyR+jdZhHypeflSbcTuV/p1QqLxf4+7OsSSIOzc226+0lMgO1tCKfceJZ7L+FgfzT MIbpJtzuIC/QFyPa0iS1Fe/iUCnEV9IC+f0Mh4WxLVNGezSfpnJptQuruLeY7RmqoYfn ZDClurJwBRVolWb1Eu0sbgQMZ5HT1Ud8AC9WxerJ8H9ufIHZLJ52ajkZa7sxkVwCOeCR GISNDFrTNmdskyPjkyk3iIh8Grsfkce8J54NZDBhT1MAdMyuoSiBxtnkpL+N/UgtHTpv TQFDsuxlRn7jzt63T6s+Lc4zWnW5uMn9uzgBVhn1qUPOsFfg4s+j2FXmGjB60hnsOZHb nBng== 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 c4si4103030pll.139.2019.03.18.14.46.50; Mon, 18 Mar 2019 14:47:05 -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 S1727717AbfCRVpj (ORCPT + 99 others); Mon, 18 Mar 2019 17:45:39 -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 S1727626AbfCRVoT (ORCPT ); Mon, 18 Mar 2019 17:44:19 -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:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,495,1544515200"; d="scan'208";a="308301796" Received: from otc-icl-cdi187.jf.intel.com ([10.54.55.103]) by orsmga005.jf.intel.com with ESMTP; 18 Mar 2019 14:44:19 -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 08/22] perf/x86/intel/rapl: Add Icelake support Date: Mon, 18 Mar 2019 14:41:30 -0700 Message-Id: <20190318214144.4639-9-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 support the same RAPL counters as Skylake. Signed-off-by: Kan Liang --- arch/x86/events/intel/rapl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c index 94dc564146ca..37ebf6fc5415 100644 --- a/arch/x86/events/intel/rapl.c +++ b/arch/x86/events/intel/rapl.c @@ -775,6 +775,8 @@ static const struct x86_cpu_id rapl_cpu_match[] __initconst = { X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GOLDMONT_X, hsw_rapl_init), X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GOLDMONT_PLUS, hsw_rapl_init), + + X86_RAPL_MODEL_MATCH(INTEL_FAM6_ICELAKE_MOBILE, skl_rapl_init), {}, }; -- 2.17.1