Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3180268ybi; Fri, 5 Jul 2019 03:15:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5f4fhyZrct3PgigLpAYAFB5IjHPz7WQnaMa4pD0x6USQ6MbwREFhej1zdOHNBbh0iSzvz X-Received: by 2002:a63:1b07:: with SMTP id b7mr4424560pgb.133.1562321739038; Fri, 05 Jul 2019 03:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562321739; cv=none; d=google.com; s=arc-20160816; b=EcRFUe3D7EHnp67xsDnNIOv6YO0CXurczmF+zbWPR4FWEpeYvf5CBNNzs6m4oo1U3a myHVfckkuLzFG0tSjqkk6tEVr9mR16AVSOoCQzE8pBc/gnGyeC/zCijYawJGHGQWt5w+ 04lSWiifyLh64OQMXQtAUlvzWGDXakiVY1QMPWtDu/n6tqDKJp4HI/1fWYT9LvSs3y6T lNIYMvaxUo135MBgg39xC6H3YzOfaP3DO4RtMsoYeKunyY2YCXPHLqkyRUpFkGcigeC6 q1xJw+9GIMeq8wGRFLy2xlRuSwrq21kBq05m7fkos84h9p+wvhmrPkCw7tXtT9swqJKj I42g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=A1zFv4X2kbC3Rf25Cww9KqWnY1KRyWQhvS1Uis6Jjwc=; b=otbCSmlYjLaxS3qYO3wjCVXq3eQzXRiowkGnp9mI4m3uyX+Clt4McYWPnLFsSSjCG5 Yvzo/A52AJ7Jtjwc1VS6nUgL47OinveQ7y4xoyZzvCshfQ7HtFIEzLAmYqhwaUOTaZyY gWAAZYDmsnglQIUGJGF1vmS5ldpvRxCtXA4JjwhtyfyENTYjnnRIrs9mPVHrRIISJcnO fvT+TNnS7VWR9s4tcMv2F7Z1qnvEyllppsz86s7sYAxlEM43V524itlgrmlkSnqNZsD0 DjCbJecyuK5F1MEmvEPix6t1kjX1+BoKLkRuBFLY8Oodb1jWCQYwaIbN+TjqyrzN1VJs dnpA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si8146674pgp.382.2019.07.05.03.15.23; Fri, 05 Jul 2019 03:15:39 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728371AbfGEKNo (ORCPT + 99 others); Fri, 5 Jul 2019 06:13:44 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:55410 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727352AbfGEKNn (ORCPT ); Fri, 5 Jul 2019 06:13:43 -0400 Received: from 79.184.254.216.ipv4.supernova.orange.pl (79.184.254.216) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.267) id 83bbb67b149af7d0; Fri, 5 Jul 2019 12:13:41 +0200 From: "Rafael J. Wysocki" To: "Bhardwaj, Rajneesh" Cc: linux-kernel@vger.kernel.org, len.brown@intel.com, rafael.j.wysocki@intel.com, linux-pm@vger.kernel.org Subject: Re: [PATCH 2/2] powercap/rapl: Add Ice Lake NNPI support to RAPL driver Date: Fri, 05 Jul 2019 12:13:41 +0200 Message-ID: <3695289.DUDsO16Ie3@kreacher> In-Reply-To: <52eaefed-8f94-8cb0-0cfa-c0c16a34bd0b@linux.intel.com> References: <20190614080523.13464-1-rajneesh.bhardwaj@linux.intel.com> <2359736.lHFMKXy7DL@kreacher> <52eaefed-8f94-8cb0-0cfa-c0c16a34bd0b@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, June 28, 2019 10:21:41 AM CEST Bhardwaj, Rajneesh wrote: > > On 28-Jun-19 3:32 AM, Rafael J. Wysocki wrote: > > On Friday, June 14, 2019 10:05:23 AM CEST Rajneesh Bhardwaj wrote: > >> Enables support for ICL-NNPI, which is a 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 | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c > >> index 4347f15165f8..431c8c8bdf07 100644 > >> --- a/drivers/powercap/intel_rapl.c > >> +++ b/drivers/powercap/intel_rapl.c > >> @@ -1157,6 +1157,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = { > >> 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), > >> > > It is in my queue, but I get build errors when I try to apply it. > > > > I guess the definition of ICELAKE_NNPI is not there in the Linus' tree yet. > > Yes, though > https://www.spinics.net/lists/linux-tip-commits/msg48978.html is > accepted by Thomas already. It is not in 5.2-rc7, though, AFAICS. The patch is still in my queue and waiting.