Received: by 10.213.65.68 with SMTP id h4csp45262imn; Mon, 19 Mar 2018 19:02:25 -0700 (PDT) X-Google-Smtp-Source: AG47ELtSptk0f02oo/zGdvya5AfHkMq5Am/9ZT9BIOyij+r2akclV+YjBvrA8OgYO2I8+opZKTtO X-Received: by 10.99.148.17 with SMTP id m17mr10788028pge.140.1521511345815; Mon, 19 Mar 2018 19:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521511345; cv=none; d=google.com; s=arc-20160816; b=STIg4EAlY9vfwThHi51wu0DZK0VF3WBPhJCD2uL9hBcH9o1RUbZMuL2e5/Qec7neLX G39rm7snva0apuBaJKZdEYTKWXYvsw9wP8pR1NKX0mJNFtyRRQ7i2sOSl8T6C+9ljX8O NxkqCBP8uNZGprjWFxW4/9Qj2xm5t7e98UZVkSSFjAlH6H5qkGqWTqnk3L3AUYj1x91z XgHwUiWBgQ+qjKuI+6LkrGzJQi99ZcOvU1l5icv/Vw3mdm4xogetoev3QnxwPFchwsC8 W2YiqLV273CprDQMpD7xX0XscVG8xFdYaZ1XSWpULGzn9+G92PZtwvDk1FFU0ZWR2Zes i5yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=wYo9+iJHLCsJ5HBI2b/5J1R4JYlfuMpzsE/5VhIJ02E=; b=jbGDlFJyqog5phl8EgfwcweTjAuKJXouhT1D8jFUIRQKWiJSCRqbQxMv3uBN7T88Ij xbH8LJIvnwidG4O174WBAc4GTZQPsNV6dSSgN+1ZrTMqkdlya5+nxRuHVZmSL3BMHAf2 b31YCNzMA3jQoNKcnTFgvxAYUkMT561D++TefZXe3WotY8/0BxMWvrHWEnn94Ugy6Ym2 9XcydNHjnVb8kJOamalxvQpqvyKyulZI7ozi43gupAGjZYoyW4CZ6VYgiA6BaT4M7vYH xSxtapFwSJpOZR/XMRCRErowPL2psyyt6s3S67Nf21UrsDOmdSXgv4uUpbIg7Bt4XlJZ x7SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Hz0IZpr0; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n86si447581pfj.10.2018.03.19.19.02.11; Mon, 19 Mar 2018 19:02:25 -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=@google.com header.s=20161025 header.b=Hz0IZpr0; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755965AbeCSXTW (ORCPT + 99 others); Mon, 19 Mar 2018 19:19:22 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:45531 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755953AbeCSXTR (ORCPT ); Mon, 19 Mar 2018 19:19:17 -0400 Received: by mail-yw0-f193.google.com with SMTP id r29so2188165ywa.12 for ; Mon, 19 Mar 2018 16:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wYo9+iJHLCsJ5HBI2b/5J1R4JYlfuMpzsE/5VhIJ02E=; b=Hz0IZpr0B7HxG0QEPUHStDgO5o8pX/A4Mo2tIwvpJRE9G2DA6K1XERE+xK3+sDsuIF 8BOmh9WXtfcbH/eXZYvT1YdSxNwh9QGHDgWqaaS0cy2mmOSJBM6umUGxtlpCH7GJ01fP jcqyjG27wO3tJ+CI3xLQdzxZ3ozmFffUMJPTXWUvDyX2SNzkD8b6JTYzGPo0d7hd7V1e Nqf78gaLwLt9Dq2TKyzE5qFglQ6Qt0gyA9BTZDlfD+ZC0dmgOAwBTrLxR8IlaXr8ob2p 9E4ZHys/nvrDs2TjLQfbbGR58D7fQ01uURIiA16to81vt98cmk/FXwmff5nU7Yx6R5Tb KpAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wYo9+iJHLCsJ5HBI2b/5J1R4JYlfuMpzsE/5VhIJ02E=; b=jskI67GRTyC3PQvqKFZLCx93vEx4FzSKlbNfOc6o5I1HPHNWHHeT7MT1fBiwgmcb0n 8be9B/Fjx82XhW0THwwPg87Tdt4DIKNuUpg3ncY14ss8k+37vwRUlBkYdNiesUFkWnCJ CeQP8I8V7kqD8xdtaJGmMoVT3hbh36gvV9gmvqeWzeYOkJSwniIxmT/r/v8aSGeHTkHm fkxGWqNGvATJZVmfJcZJORINoVinqiE4/xC53coElBM1+SpYh5Uqm169Tfr30W6AveXY ME0VpJZ3VCPoYXm0/t0v43p/mbOS8pJ2AGuq7J2J/d6Awi8+/i//bORNZSlSKkwXhyEb 4gOA== X-Gm-Message-State: AElRT7He+sjeZdc899mqG7XYsbGQdJ6kuAbFVieXl2SLcBCsxU/lxyBm x8c6sNrtCNhn5WsyawC8A15MQVEYwLI6jfl9k0uE8g== X-Received: by 10.129.175.2 with SMTP id n2mr8421401ywh.204.1521501555845; Mon, 19 Mar 2018 16:19:15 -0700 (PDT) MIME-Version: 1.0 References: <20180309121549.630-1-harry.pan@intel.com> <56dfa209-0592-90f5-bd96-5e5df28abd2a@google.com> In-Reply-To: <56dfa209-0592-90f5-bd96-5e5df28abd2a@google.com> From: Puthikorn Voravootivat Date: Mon, 19 Mar 2018 23:19:00 +0000 Message-ID: Subject: Re: [PATCH 1/3] powercap: intel_rapl: Add support for Cannon Lake To: harry.pan@intel.com Cc: linux-kernel@vger.kernel.org, gs0622@gmail.com, rjw@rjwysocki.net, linux-pm@vger.kernel.org, Benson Leung , bleung@chromium.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 19, 2018 at 4:14 PM Benson Leung wrote: > +puthik@google.com > On 03/09/2018 04:15 AM, Harry Pan wrote: > > Cannon Lake microarchitecture is similar to Kaby Lake in terms of > > RAPL, this patch enables CNL RAPL support. > > > > Signed-off-by: Harry Pan Tested-by: Puthikorn Voravootivat > > --- > > 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 35636e1d8a3d..295d8dcba48c 100644 > > --- a/drivers/powercap/intel_rapl.c > > +++ b/drivers/powercap/intel_rapl.c > > @@ -1162,6 +1162,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = { > > RAPL_CPU(INTEL_FAM6_SKYLAKE_X, rapl_defaults_hsw_server), > > RAPL_CPU(INTEL_FAM6_KABYLAKE_MOBILE, rapl_defaults_core), > > RAPL_CPU(INTEL_FAM6_KABYLAKE_DESKTOP, rapl_defaults_core), > > + RAPL_CPU(INTEL_FAM6_CANNONLAKE_MOBILE, rapl_defaults_core), > > > > RAPL_CPU(INTEL_FAM6_ATOM_SILVERMONT1, rapl_defaults_byt), > > RAPL_CPU(INTEL_FAM6_ATOM_AIRMONT, rapl_defaults_cht), > > > -- > Benson Leung > Staff Software Engineer > Chrome OS Kernel > Google Inc. > bleung@google.com > Chromium OS Project > bleung@chromium.org