Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp275270ybi; Wed, 29 May 2019 21:10:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBoobHPt/0n98Av3SrcaqtCz+tlJ1E/xiH0/3Ipj9qju65WSW52cES0nZuownFVRSx2hRi X-Received: by 2002:a63:591d:: with SMTP id n29mr1826109pgb.75.1559189441111; Wed, 29 May 2019 21:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559189441; cv=none; d=google.com; s=arc-20160816; b=LkJipdTKodbOlWkhOzbTi6gOBXLhXNkQroQ/FSUOkEKtiLpKeCa3E3Gytr3tKV84sU cUrScAWHF8GIa/RBsTRDTidwV3yyNTDZ/2C1XZjTlLPMH9wkSaQkWu4kCKsUxttvcnht /0Tgc2b6eOPlT5PoHSHwLkeZ+d4xxBWTyCOj+nPEoXWJq7qkY1dkCZf49N+KXHQjPSI0 77FXCNAIwfFdaP4ODPygWAAhxeeDqiNeXuJ5SGS4GVA7VY7tiNXASJvUHCNWYIb42ibI gtxdH9xoyfvbeBGdm/JnsVkyXA9Mqz48gF5Rl4DdcgdyCT1xglOoGg/JfFGxTY4P6mPJ nSLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BwxbIUFot7aEKlAL4oMCMCINeSG4gPz1rv3jrToV9gE=; b=ywew3RbQ1Vlngd1NZC6yQfv/9XNllFPNuY7VpBdYDcDspqURpGro7pzKXvXiBKPSEw OfCfGv+r7kL/dxr75DaNxyFaqhmrgyimjrns4g/anJno6+W5fh1WHP9B4EKP0n+6BOcY WkSXEIfuKgzHdxdnJiD9lK2aZuc9cY39fajaYwPySini5AIThB87VLlTslFuosOBM4d+ 6S0ZrxONJ+yLOq3zS3XFyW5nq5MFumRmZccBnl8JRSi0UaxgV9O37Bwn5KpFOv3IXzXZ e98jxh3MlGQS/3BA71ufHn6erfaPGwScjBKtD7/VXYwmKnQzfQPm5aMNQKG5D3e8l9eV 4Q6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YHJ6rQBn; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18si2205823pgm.82.2019.05.29.21.10.24; Wed, 29 May 2019 21:10:41 -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; dkim=pass header.i=@kernel.org header.s=default header.b=YHJ6rQBn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727239AbfE3EID (ORCPT + 99 others); Thu, 30 May 2019 00:08:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:46480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729640AbfE3DRY (ORCPT ); Wed, 29 May 2019 23:17:24 -0400 Received: from localhost (ip67-88-213-2.z213-88-67.customer.algx.net [67.88.213.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 21B6523EED; Thu, 30 May 2019 03:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559186243; bh=mHW7ZCmT9QHkUxcJYvWmclZSQBMqlDKvHzeICj7BZSU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YHJ6rQBnk3KwvLDtnAhJtyXmicBAyDVp32ZQ9lYf2HnIgwYofzB/zNY1u5iQE+2xV mauUfY1BNCJoLSmLht8cndZgtRm0yxfLka1/SjL3ki4xMC7sKZXEl0q8XBE6VBHPng XqwUjnzdA/A9zK0EKgbnqOqbDR1HmJxN71+jTTwM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kan Liang , "Peter Zijlstra (Intel)" , Alexander Shishkin , Arnaldo Carvalho de Melo , Jiri Olsa , Linus Torvalds , Stephane Eranian , Thomas Gleixner , Vince Weaver , acme@kernel.org, jolsa@kernel.org, Ingo Molnar , Sasha Levin Subject: [PATCH 4.19 156/276] perf/x86/intel/cstate: Add Icelake support Date: Wed, 29 May 2019 20:05:14 -0700 Message-Id: <20190530030535.287594716@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190530030523.133519668@linuxfoundation.org> References: <20190530030523.133519668@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit f08c47d1f86c6dc666c7e659d94bf6d4492aa9d7 ] Icelake uses the same C-state residency events as Sandy Bridge. Signed-off-by: Kan Liang Signed-off-by: Peter Zijlstra (Intel) Cc: Alexander Shishkin Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver Cc: acme@kernel.org Cc: jolsa@kernel.org Link: https://lkml.kernel.org/r/20190402194509.2832-10-kan.liang@linux.intel.com Signed-off-by: Ingo Molnar Signed-off-by: Sasha Levin --- 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 56194c571299f..4a650eb3d94a3 100644 --- a/arch/x86/events/intel/cstate.c +++ b/arch/x86/events/intel/cstate.c @@ -584,6 +584,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.20.1