Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp653499ybi; Fri, 14 Jun 2019 00:50:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2U33RH4juFa0t+Dob/EIp2trL1J0DWfogTjx8FDDqP3+pDqEaADYh37KxHPjcq2Xdn0GS X-Received: by 2002:a17:902:86:: with SMTP id a6mr25938361pla.244.1560498617539; Fri, 14 Jun 2019 00:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560498617; cv=none; d=google.com; s=arc-20160816; b=XP3tfBppeVV4r50Xv13jIaSne4JY9dzskNn8i3KRV6cOOKmwRkM1rzvFHgqE3LGdMO 6e0Bjyd0qGUSOnThYlq8kaDXViBqMMPXhIjRBwmYbZ/KKPGOz3+cfazdbR9bq5aWiKni Mqkj4YToqLp27dWaD/PASgf/WJIj65QvujQTcKKxB/MIZZmP9Oi3gcmaevDts5ML2znf Bf20cdZySCK6zHRRLVeuRtdH29dNO2OUxKRn3YubvkG/RnNYXG2KOi2OPbGNUBjHmRC8 LYptlgshXIEODOB5ILs6Ko5SwutmU/QtXE+xIHn3aKjpn/wtCTfk+SM2lxjPrmwsKUYl LD+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=1hIZnHXejZicoOHb1JBd+csgUJeGoo23fqrT8Mk6iyI=; b=paPMq8bDzGjakAOnFynB6+iuyxEe5nmshURZVR04cz8QGo0yrts1OPgMUMgwNfxuqI DaqAbRJhkICdpijG+UcyPNTXEPHol8mPcl3R9twihTP+pQgI5YaiMMQNoaEPoX35QJBJ 7ktsQb6kYw9wbCYBwdKCU89p161v3qGBBIH+X2SLHIzHn26KPIo57VUG69i4H/wCG8wL 6skFzXQ9EXPoXB09ZJHo+JUgsFVEXIUWS9itNBk2lCNyHFt/CpeIl+RYNtGVt3qRZ+JC YOBggDKJc3JicQxvmz11Q1W9cqPgt1QyewNwZu8qEUXQWFbA5blrozIFjCciDrGX8kb6 A1KQ== 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 b38si1821508pgb.250.2019.06.14.00.50.01; Fri, 14 Jun 2019 00:50:17 -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 S1725972AbfFNHty (ORCPT + 99 others); Fri, 14 Jun 2019 03:49:54 -0400 Received: from mga07.intel.com ([134.134.136.100]:12480 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbfFNHtx (ORCPT ); Fri, 14 Jun 2019 03:49:53 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2019 00:49:53 -0700 X-ExtLoop1: 1 Received: from rbhardw1-mobl.gar.corp.intel.com (HELO [10.252.89.98]) ([10.252.89.98]) by fmsmga008.fm.intel.com with ESMTP; 14 Jun 2019 00:49:51 -0700 Subject: Re: [PATCH 2/2] powercap/rapl: Add Ice Lake NNPI support to RAPL driver To: rjw@rjwysocki.net, linux-kernel@vger.kernel.org Cc: len.brown@intel.com, rafael.j.wysocki@intel.com, linux-pm@vger.kernel.org References: <20190614073947.12270-1-rajneesh.bhardwaj@linux.intel.com> <20190614073947.12270-2-rajneesh.bhardwaj@linux.intel.com> From: "Bhardwaj, Rajneesh" Message-ID: <2d097ac4-2533-42a1-3658-9b646d105a84@linux.intel.com> Date: Fri, 14 Jun 2019 13:19:50 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190614073947.12270-2-rajneesh.bhardwaj@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rafael On 14-Jun-19 1:09 PM, Rajneesh Bhardwaj wrote: > 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), Sorry, i sent the wrong patch, please ignore this one. I will send another one. Thanks. > INTEL_CPU_FAM6(ATOM_SILVERMONT, rapl_defaults_byt), > INTEL_CPU_FAM6(ATOM_AIRMONT, rapl_defaults_cht),