Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp651018ybi; Fri, 14 Jun 2019 00:46:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzSjEaRIqreuY8WOSGvOawCjE6HcI3+OTAldcMHWr31VaUlaErmkcEEgHpSRpokuUHhmyH X-Received: by 2002:a17:902:2a29:: with SMTP id i38mr64299992plb.46.1560498396889; Fri, 14 Jun 2019 00:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560498396; cv=none; d=google.com; s=arc-20160816; b=g7aZTY8ylI9eLqxGqNU68WT7nV4sc+iUPyRn+kGr5AT1hue5sIBIEFBVcxHrKs8MHO jue4XAaJ6CMDllPEKsPPnsjtdCZHRerSHIVBnIOfH/For3Ti3IWdWOO+oa1clHRzXXrm ahzDHtoh6TKOgLapEG3i8IWjIbdb4Ou72asudLeqABauqD0F/wRbF+chiL2sddHekhBm r+AvLeinqtP1agn9bkHcOVhm78fNpBWq/ijiryRRlsA2Z3xsd9frZj8qGQJY53d0icup 0TXB+TXo5Q6pL1FtU4THj4NUFHsuLdLAzuu67BDqMUKUpHn5QDb+yjVFQG7CfOM7Y9Em N8Zw== 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=uqDRNdVn7fRKvEzLtX+hIaDCKlYGmco+MUf/nnkwv5M=; b=WUJtVlSM5BQcbD8ki9VMTPWkTOpo4JBe2Y0pIHUGu+kOw7sFCVSeahSIECXe4MuDSH sEBeUhD6zApnIhkfxxbcZHu/Zxz6HcmEYaEHZBBQ1iXod4SNmOzMhw6iF3O7NHItilQM fY9Em8WBtv98tUcBY5Up3V8phYFMhZkcAvOLYQxFRORCc2tmvYXRymLvFbCNRmcImtOh 3Eb9NMJJaQRjBhRmVzBOnuCrPHFfDq+6F7EVWoTLbV/yq4uJucHj8FK3dRySerQA2h13 +v5rNsYHj9t74TMFpmc6PW2sIX0b+LMyUa6OXOoqgr35UWZ+rPGTpBb4jhKVa/D3eM0q z9BA== 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 j14si1674804pfi.276.2019.06.14.00.46.20; Fri, 14 Jun 2019 00:46:36 -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 S1726185AbfFNHom (ORCPT + 99 others); Fri, 14 Jun 2019 03:44:42 -0400 Received: from mga09.intel.com ([134.134.136.24]:49698 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbfFNHol (ORCPT ); Fri, 14 Jun 2019 03:44:41 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2019 00:44:41 -0700 X-ExtLoop1: 1 Received: from rajneesh-desk.iind.intel.com ([10.66.234.53]) by orsmga003.jf.intel.com with ESMTP; 14 Jun 2019 00:44:37 -0700 From: Rajneesh Bhardwaj To: rjw@rjwysocki.net, linux-kernel@vger.kernel.org Cc: len.brown@intel.com, rafael.j.wysocki@intel.com, Rajneesh Bhardwaj , linux-pm@vger.kernel.org Subject: [PATCH 2/2] powercap/rapl: Add Ice Lake NNPI support to RAPL driver Date: Fri, 14 Jun 2019 13:09:47 +0530 Message-Id: <20190614073947.12270-2-rajneesh.bhardwaj@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190614073947.12270-1-rajneesh.bhardwaj@linux.intel.com> References: <20190614073947.12270-1-rajneesh.bhardwaj@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enables support for ICL-NNPI, neural network processor for deep learning inference. From RAPL point of view it is same as Ice Lake Mobile processor. Cc: "Rafael J. Wysocki" Cc: linux-pm@vger.kernel.org Link: https://lkml.org/lkml/2019/6/5/1034 Signed-off-by: Rajneesh Bhardwaj --- drivers/powercap/intel_rapl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c index 4347f15165f8..19d470c73b6e 100644 --- a/drivers/powercap/intel_rapl.c +++ b/drivers/powercap/intel_rapl.c @@ -1156,7 +1156,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = { INTEL_CPU_FAM6(KABYLAKE_MOBILE, rapl_defaults_core), INTEL_CPU_FAM6(KABYLAKE_DESKTOP, rapl_defaults_core), INTEL_CPU_FAM6(CANNONLAKE_MOBILE, rapl_defaults_core), - INTEL_CPU_FAM6(ICELAKE_MOBILE, rapl_defaults_core), + INTEL_CPU_FAM6(ICELAKE_NNPI, rapl_defaults_core), INTEL_CPU_FAM6(ATOM_SILVERMONT, rapl_defaults_byt), INTEL_CPU_FAM6(ATOM_AIRMONT, rapl_defaults_cht), -- 2.17.1