Received: by 10.213.65.68 with SMTP id h4csp45614imn; Mon, 19 Mar 2018 19:03:01 -0700 (PDT) X-Google-Smtp-Source: AG47ELt5GM549ej1WLAa+o9msAb4y8Pw+hs9KExiN6ebRhu2YMoXNvVpEqJZ23gxSkAOrIQsXuzt X-Received: by 2002:a17:902:a610:: with SMTP id u16-v6mr14432631plq.293.1521511381466; Mon, 19 Mar 2018 19:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521511381; cv=none; d=google.com; s=arc-20160816; b=DvLq6EpoLCATfYjIJhAyyUMdQG/kfbWJi56gnZUDVc/j1jYby2APSx7lDoxKfQwi7h gSDqSekaurffIGsY5uOw6L/5C0kS4nf7y7sld9dSoEQfUOqEn56mzkQqhGKoSuO819lL 4dGMS6Ja/zO9Ya8668Q09XPovDmtaV521zXw6lUCFpjrSdDWqQunmNZSjy57UEYAjVQf r80y2T042n7QdGsnT/lGmcRj2wElfsvKh7ITfWDhHNDOFZLc0u0fqvb7yp2ZGmNVRcqe w4pJJH2nGdUQ3BHuIv9qLtXwBgqiLNB9xXoKo129BS41RDpHbxBcHAni+SFpSaj0kFuA kteA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=9CHLZW/a+ve+tSfZYc3YV4P1Z27oeAjI/YdY8syKTTY=; b=R97tRUqMy8LVXnT7XJQ9lIMcg7arIrTuWvJolqfayGdckKFE++fLmC6z+NjWb3jrKX FmyojJ1LNYOwpX/+SjxnaJdWh7fseOe8J5aVEWjDUYgF+wvZp6Q0pm0xPFHQh8Hlcnt8 DQIdMhVjvt836f+ZEJYEqjTVYzyrh7mWPo24PxqcFy7JKPjXmHbLrNEqcCpfUGyiqDlc ilO5I3LqAvvCO1X85H5pbODtNrzWwfnug0qscCAeumYKnGtoAbh6FyP09wyFls8k0DTX /bsMG3rZ6GI18e5pynAskELMmO7ytZcYT276VnKL1LUrKZ4hu4GO/PkwcqiPZHpAUnaF qHBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ZLR81c42; 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 a1-v6si542294plt.693.2018.03.19.19.02.47; Mon, 19 Mar 2018 19:03:01 -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=ZLR81c42; 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 S933244AbeCSXDd (ORCPT + 99 others); Mon, 19 Mar 2018 19:03:33 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:32799 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933021AbeCSXD2 (ORCPT ); Mon, 19 Mar 2018 19:03:28 -0400 Received: by mail-pl0-f68.google.com with SMTP id c11-v6so11198515plo.0 for ; Mon, 19 Mar 2018 16:03:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to; bh=9CHLZW/a+ve+tSfZYc3YV4P1Z27oeAjI/YdY8syKTTY=; b=ZLR81c421xabU5rBWIm5krd0NKR0gh1hp6C2oYI5UQAbvVBBzgu/Z+ldZSEPJAEGFw 2LbVm56kINlqRMWPYRPu+a/zPxZCBFCfefS9DAhZAXcebLERkLx+/XRVBywcehuH+uXC XiKO/wivSsviTlppiRAPQc+uOFdWK71C3a0ICGziyQAXXVBSV0uaocNSS7rcqUc5A6g/ TdYBmCTovGVGFLbbIUP2ICO/XONjwR+M6BFKGjqxJ5yroNMJgjDGHaAmIO2FEjYh1t2/ xb1qAd94ekdoVrUXlACYxI2iBvf3qyWK6blv15U6TnzqEJxBwJXrtnWitEfpnOktNW3y N8Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to; bh=9CHLZW/a+ve+tSfZYc3YV4P1Z27oeAjI/YdY8syKTTY=; b=eSL/k9OyJetf116ZpO5jZajcO1cPB7sw4LiQMG//NQ5YzLXdgRUzTlICUXGVWmlA4a HNtU8a0fOhS5xDfTaKaNuyJCGdf/szj1B3A1Iqum9f4Up6pgD+JL3yul5R1O2aXraGP+ FKNevy/nXjEHt5Y4XUJZU2W3GhczaM94lqziEnOzr/kA151Bk0GDLmaavITHP3dfEKtU UzjYNr2fMAnz5U7psm4VzEtdp5Bt782gSkp57cRLzDHer39VANEZD45IQ4lPllKI4wFV vTgykvwJcl4f6rjHL2gyCHY9XBnJBL2c1mVzy7Pex4+XTdE28vJTjBOf2vv3wVQRoWH/ FGuw== X-Gm-Message-State: AElRT7GpZefH6CkBdM1yPoHdEblhpNa7VP3OsS9wwBFRBAiDbddbJ0t4 Hhv+PrGsAjwbNy63v0vgbTGIaw== X-Received: by 2002:a17:902:a9c7:: with SMTP id b7-v6mr13887247plr.190.1521500606770; Mon, 19 Mar 2018 16:03:26 -0700 (PDT) Received: from decatoncale.mtv.corp.google.com ([2620:0:1000:1501:e4e8:e3c6:19f1:ae51]) by smtp.googlemail.com with ESMTPSA id 189sm354349pfu.44.2018.03.19.16.03.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Mar 2018 16:03:26 -0700 (PDT) Subject: Re: [PATCH 1/3] powercap: intel_rapl: Add support for Cannon Lake To: Harry Pan , LKML Cc: gs0622@gmail.com, rjw@rjwysocki.net, linux-pm@vger.kernel.org References: <20180309121549.630-1-harry.pan@intel.com> From: Benson Leung Organization: Google Message-ID: <3171054c-aa81-ba6e-8183-43f6d26dd768@google.com> Date: Mon, 19 Mar 2018 16:03:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180309121549.630-1-harry.pan@intel.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wYnrYxZmLbJgMGqyicXy6TOTSl6OgdDgh" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wYnrYxZmLbJgMGqyicXy6TOTSl6OgdDgh Content-Type: multipart/mixed; boundary="jWtexXUY07W9VtYAM2GERIQbAXcHd17Zi"; protected-headers="v1" From: Benson Leung To: Harry Pan , LKML Cc: gs0622@gmail.com, rjw@rjwysocki.net, linux-pm@vger.kernel.org Message-ID: <3171054c-aa81-ba6e-8183-43f6d26dd768@google.com> Subject: Re: [PATCH 1/3] powercap: intel_rapl: Add support for Cannon Lake References: <20180309121549.630-1-harry.pan@intel.com> In-Reply-To: <20180309121549.630-1-harry.pan@intel.com> --jWtexXUY07W9VtYAM2GERIQbAXcHd17Zi Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable Hi Harry, 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. >=20 > Signed-off-by: Harry Pan Reviewed-by: Benson Leung > --- > drivers/powercap/intel_rapl.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rap= l.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[] __initc= onst =3D { > 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), > =20 > RAPL_CPU(INTEL_FAM6_ATOM_SILVERMONT1, rapl_defaults_byt), > RAPL_CPU(INTEL_FAM6_ATOM_AIRMONT, rapl_defaults_cht), >=20 Thanks! --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --jWtexXUY07W9VtYAM2GERIQbAXcHd17Zi-- --wYnrYxZmLbJgMGqyicXy6TOTSl6OgdDgh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6gYDF28Li+nEiKLaHwn1ewov5lgFAlqwQbwACgkQHwn1ewov 5liKZw//dDbXB0gY+B6eq8xZpe38ooVVR+47deNJ9w5eR9kkOGoisUhVBBRj8Iwd fLSWwPRtzXZFDkrX+V9iFjkBSeWzbjOE9GsrM/G2XPwdwHEAQFk/s+qEDPOOi+F3 zepNI7SO69nuBI4H/zfnQWuvOkTaw3751q/f1Vj8Ny3Ud3FcWKdzTqqh06MLT4D4 GDm8qTYT4oORPRC51VU/RW58VRlXp9jO7v/Z7Z0GzsK5YGwyJH5lBo5YfMITr3YN G+3o088hqkm+jUFnNP7Yaobhs+DPXr3vUksY2XZhDPSXOt7YWcg2J8NNZl30OKGu QCUhEi/bP3kzBS9sjussgg8feQxbezcTcN9smV5C7s/EMp2XulQMHIb+do0hLxV7 gMgcvCJPGfS2y9UXyE1Q8Ypn7G0y91C8Eh/uaawKT0Dm0xsz+0dL8MLccV2rnZ5T KLEkT+lKbC0jHVjtFhnk5FnxqOHBNBpXOcwZdEFpXrZxifGS9czjMzxa8xjxkg8b SB5uCMKS2i3Fn8XQjK08XGneZBGFBB2nev5OH7Lqy0uc/AjS24d7olZ6CrZ9h991 r555QYowwoe5ZYs+Yd35zH8ZLt/zPJHJmXIKchD8RFoh4+K5KzesQfsnVQ677KY6 398g4HTczIBzyokvVay52h//WWlIGwreBzA4jU9xevC4oeQilsg= =x9Og -----END PGP SIGNATURE----- --wYnrYxZmLbJgMGqyicXy6TOTSl6OgdDgh--