Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2573681ybd; Thu, 27 Jun 2019 15:03:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrw4EjTH1v1xTI7cbgW4pjAip2uNY9mnTJIuLnlgg2m6ewjaRF8TIyxDwBycgwIooMzWbJ X-Received: by 2002:a17:90a:cb15:: with SMTP id z21mr8809099pjt.87.1561672995908; Thu, 27 Jun 2019 15:03:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561672995; cv=none; d=google.com; s=arc-20160816; b=fr90TNhKjfS28Z5PP8jzW3BBII+7pxXxoCV3Ax1hvySRLq3NPpLh/OOhAuV1y6H1WM 8FOsl5LFqImKLZzZhzmHNzGkmK9SECgelX8NkoIEnSBQp/cJLE89CjkTKT7aTAmVmU1A SL8c49SINAjpFpJvKWd6JQDmxuOGiKLUG42mt8F55CJc6i5tZEkgqE7Y5KTl4DyVIGG9 NKdJMj7pv12fVFec6U1xNuwgiqgeZ1EDV8nU1CorNCVQUiHu1NN3RzIYZLTPJWm3t1E1 9EEssxkJR55ou05qi7R2rseqW1OZpH6gfnubhqQsain4uXQXbw2Rr5jk91SzRh2RDQG2 vUxw== 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=zLOUNGgdFP0fg44GayvFHc2KAdD8qOO8ypfZgK+YC+0=; b=Oewk4+Fe87t+d3OHl4EfqQru6c+JWUnbHvJf4abK+pZFXaFEA9Nq7jZrfKYftXGi2f KV6SgKy/y8g6AUF+3eoAbb4e7051F7jxi/K4/K1eUcVbFsLPEeYOh2eSTHYdTs7bNzNh FilQV7RB+3/nsDOEdC7S+OY4DE3sQ8A2+IwZa9RO5ESKK6S1GM3ur2JxcSNHbrdoYg4P qOZ9EZP69p0UBItWuNpO4jiLAF0cpcDZLijXDGk0l+QRtx5wfd7xnK9CFJbuLaiWmvsL ldlR5BsBStCh4IsG/7Yt1RQ86fid5xssm+HHbKk2WPvBHh8KCBVcclCr4CW1dA3iXQr4 IFUw== 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 z12si263109pgu.559.2019.06.27.15.02.59; Thu, 27 Jun 2019 15:03:15 -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 S1726605AbfF0WCs (ORCPT + 99 others); Thu, 27 Jun 2019 18:02:48 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:41609 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726513AbfF0WCs (ORCPT ); Thu, 27 Jun 2019 18:02:48 -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 01f487f09d6342f2; Fri, 28 Jun 2019 00:02:46 +0200 From: "Rafael J. Wysocki" To: Rajneesh Bhardwaj 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, 28 Jun 2019 00:02:45 +0200 Message-ID: <2359736.lHFMKXy7DL@kreacher> In-Reply-To: <20190614080523.13464-1-rajneesh.bhardwaj@linux.intel.com> References: <20190614080523.13464-1-rajneesh.bhardwaj@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 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.