Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp805462img; Mon, 18 Mar 2019 14:48:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwO1qkSSUqSeO0oPW+Flvsjtqt3YZQQm6SIJbGt/rcbO91PgrdlxysnGzX7/U9yI5kUo9Wo X-Received: by 2002:a65:6283:: with SMTP id f3mr19785431pgv.125.1552945687469; Mon, 18 Mar 2019 14:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552945687; cv=none; d=google.com; s=arc-20160816; b=K5EnftAiEH/2Bz9vLpAg/tfBQ6nFIZJwSjgycadjMbxCptVqOurYZerMzns4bk7ggM fDa2VnhzERu9ihs7LyhwIwKb43o3n5ak6mRI9yUh+mQTNA3BLORGB/00tUz2m5Qg3Mc7 UACVVEYm3um/KbV/6Q2QQz9FPWePic5b6CPSOW+W4D/Lbh/8BahYmFPR5UvSMvc74Bpd Vo2/+StYBMMkjxux26PrymVBMHW65b2TxiYTmAr2VUiNh5lk0/1EcqFYUfCFXwFVeiq7 79A1mRQvSJ7IlTWBJxbbGSrVEqC1zApTr+da5jSOTEAwOMEi+b15NIZ/JYnLHKKp+iRR /D5A== 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=y0dadvx3kh93i/HPdGddCiY4AFqE7PAbmNxpYuAUqhM=; b=Np/oKQ5nsQMzl2Ug13pV8kbcBg9WIhNyMKX9h6hORRFXq1P8WoYb88nS4aAS1E6Vkv FCyruAk68/Z6nnaqwmnBQeFcFPklLcT3uCVdnBXK7LvjCy3iXX1hoYfeM/EzndDoGsiH saJZDM+s+KbFqhOjNn0UtV2Vv42Gk7aycQBUEogtnUaKCFqGQu7gNVNuNRyByHdguPwi uT37jm7nJEmmikH8fPdMPWxixbQ+aUWQ1wagrdgTOm+c47TlyVkzlON8nJeX7o9SJMPf L7A7pbWwCRB/GVwIC9j84gcueYmGetojMfawgnqFoG2sTBOC+XSLsX08jGWgucFGDiO3 FDZA== 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 d14si10280429pgn.536.2019.03.18.14.47.52; Mon, 18 Mar 2019 14:48:07 -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 S1728022AbfCRVpc (ORCPT + 99 others); Mon, 18 Mar 2019 17:45:32 -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 S1727717AbfCRVoU (ORCPT ); Mon, 18 Mar 2019 17:44:20 -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:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,495,1544515200"; d="scan'208";a="308301799" Received: from otc-icl-cdi187.jf.intel.com ([10.54.55.103]) by orsmga005.jf.intel.com with ESMTP; 18 Mar 2019 14:44:20 -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 09/22] perf/x86/msr: Add Icelake support Date: Mon, 18 Mar 2019 14:41:31 -0700 Message-Id: <20190318214144.4639-10-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 is the same as the existing Skylake parts. Signed-off-by: Kan Liang --- arch/x86/events/msr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c index a878e6286e4a..f3f4c2263501 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -89,6 +89,7 @@ static bool test_intel(int idx) case INTEL_FAM6_SKYLAKE_X: case INTEL_FAM6_KABYLAKE_MOBILE: case INTEL_FAM6_KABYLAKE_DESKTOP: + case INTEL_FAM6_ICELAKE_MOBILE: if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) return true; break; -- 2.17.1