Received: by 10.213.65.68 with SMTP id h4csp45181imn; Mon, 19 Mar 2018 19:02:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELtFq+jRCFVTPuD9ye512ryYInYFWTQPmOthXa6nqszl3TIkilLNxNXn8N/iYi2xjlodtKmR X-Received: by 2002:a17:902:52c8:: with SMTP id a66-v6mr14927681pli.179.1521511336682; Mon, 19 Mar 2018 19:02:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521511336; cv=none; d=google.com; s=arc-20160816; b=VRY9aiI87ahFpvTrlTff0dtuaNz5NyDQHsgRTQvTus0Zf5nSGDgwS4jq6T6nGgTecn kyYBdxFcDZHiRj5Nho+tmvzwF6m9/obRMQVpiB1ZDkXk7TMXTrP0qoQcPPauTQ0h6IZv A7DKFwinGC+vTHUHERe/xq5Xd7ZparKkK3NMuLx5rKYt4jrtriHSL1QHuAF1RFEq5/Gd V19hQFoogWwyGKQc2WiA9X/ZaIA8yXh+W+8kmJORhq7jSKyZcz8l/2vdLH49iC8Ciywy nxRRX9z48HQMM4i7bKXQScmCL2rcYQ64vhxqUkiuIt4gTMG5cXR9yjReehdktyBlnNm6 gU0w== 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=vtj3lmsHVkF2hYUbbz9oCsSX2uS+NH/BHZhuG8PoFeM=; b=U2eIsJxK5Gm4wwkky7qFf1oo9lGUVgLlkrK3dBpIFQnlLRFnBxmKoAnly4KvFOebVq wLABR5j0Rp65CTFc5BDD29KbemRK6WIK1Nk5wvtAqyuvY3scC1RjaBwDMAnH8BPSks/F +zLRUfYiBJu5SajgBA+3nfNvUSjbi5pwFEh0P9vkRdls+EO82i5gcXNNChvIv0Gl7/eH ZWaOMNGu4RuiT5c1ZU80QZsFfr/RaMvBKtfqEFp5E0k6qIItuWTHrQj35V9LHiMcZVJT DL3MG3o766qta2aqUEbgxZxU57ApX6DoFT690mkgBJN0lnD7xtsY0g31bWGGz0AlPMQq y3Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KIa5r8pa; 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 s61-v6si525691plb.459.2018.03.19.19.02.02; Mon, 19 Mar 2018 19:02:16 -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=KIa5r8pa; 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 S1755123AbeCSXPC (ORCPT + 99 others); Mon, 19 Mar 2018 19:15:02 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:37519 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751084AbeCSXO7 (ORCPT ); Mon, 19 Mar 2018 19:14:59 -0400 Received: by mail-pl0-f67.google.com with SMTP id w12-v6so11218473plp.4 for ; Mon, 19 Mar 2018 16:14:59 -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=vtj3lmsHVkF2hYUbbz9oCsSX2uS+NH/BHZhuG8PoFeM=; b=KIa5r8paf+yxf7eJA8bfZI27jKjfmz45TK4Sj4nlsCJajUOI/BMMnj+/yvIkOyB+Qb WjGbQQEtd9yPNUem+ARc5GytFFvWHw7QGnEQ9KYQC5chjyrb/77G9zvJdVLTdjQvO9ZB GQfe4sJnzQHRUORdruN1H2MViEI0y5EOVW+GrgXtyUpaB3ONwui1peu52ksQvbxqV7vF Xoruj5/ipbgry6a/ZW24OKna3BTCF+dUFlhL4JTsSn8EU+F63mywfnUjaMPzYHmwTxHC sqGwPsZgKFUhn+NSx6SQK6J7oWjB9g7R2lBHWvC7KKT/jZyUw64gUwWZK+A/PTGzg2sA hJdw== 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=vtj3lmsHVkF2hYUbbz9oCsSX2uS+NH/BHZhuG8PoFeM=; b=qFJCYQ7t9Sl3yXmM/5Bp4gikN49iglxdi48URrv832dZS5BUV9HkO/gLOtMphXY8IN bRc+dPiUdocN1+iPFtX2wWyG8XXN2dVlmnZZJWep5Y6O0IamnWdarGt5ekhajbxAwLp2 zjAVL0Tk5nHKK56aBUV3BeDZR1P9svdy8Gqv6OeHtfjSdYELa2npNuj9VYoI1nagruwo wTGWJY2GgyLcl6mjhQinjFJNd06NG4GNvY5XWMQJLFe0UdZLo3bjRyDWwlTrw27ZNiiD JHAp9a8JolRlkDBAob06Se3jpDZx6waRIYscBND4C8xJeg/jIcK4AY7Kot9+yPrGuZve wh2Q== X-Gm-Message-State: AElRT7EoaozRjgnn0YsAwwFA/zlEqLxnV2io9CzV6crdF+VjxbzEcxvt tpqAxY/EFEs81aPR+Hahfk1rhA== X-Received: by 2002:a17:902:56c:: with SMTP id 99-v6mr13832526plf.53.1521501298490; Mon, 19 Mar 2018 16:14:58 -0700 (PDT) Received: from decatoncale.mtv.corp.google.com ([2620:0:1000:1501:e4e8:e3c6:19f1:ae51]) by smtp.googlemail.com with ESMTPSA id y1sm277012pgs.80.2018.03.19.16.14.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Mar 2018 16:14:57 -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, puthik@google.com, Benson Leung , 'Benson Leung' References: <20180309121549.630-1-harry.pan@intel.com> From: Benson Leung Organization: Google Message-ID: <56dfa209-0592-90f5-bd96-5e5df28abd2a@google.com> Date: Mon, 19 Mar 2018 16:14:56 -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="ZhgbKaIbgD3qoYndXy7UBY0VmTOocLtfL" 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) --ZhgbKaIbgD3qoYndXy7UBY0VmTOocLtfL Content-Type: multipart/mixed; boundary="NLM87k46ZF1egIWReNv9sx44l7oEQVA2z"; protected-headers="v1" From: Benson Leung To: Harry Pan , LKML Cc: gs0622@gmail.com, rjw@rjwysocki.net, linux-pm@vger.kernel.org, puthik@google.com, Benson Leung , 'Benson Leung' Message-ID: <56dfa209-0592-90f5-bd96-5e5df28abd2a@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> --NLM87k46ZF1egIWReNv9sx44l7oEQVA2z Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable +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. >=20 > Signed-off-by: Harry Pan > --- > 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 --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --NLM87k46ZF1egIWReNv9sx44l7oEQVA2z-- --ZhgbKaIbgD3qoYndXy7UBY0VmTOocLtfL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6gYDF28Li+nEiKLaHwn1ewov5lgFAlqwRHAACgkQHwn1ewov 5lgPURAAsUQqEJ8eFQ12cwMS2+TKriGkXj9JpYJoMrTbXaVfOlB5OEIav3Shjyic xjqeqRCxzGdaF3V3MEpzd27VBX4ANJfdxwg0V3SqPd2KX3zTnDieDY9HRkZ4MJhX SXg73wjd6Fnrm4S2LILLyWKKpFidWkeA/YxvWWuKYIoX7C7sg3jAFAaOqAxUH3OM VY9hL9uHXz6j0+nRRcEINERSgGF7s1qNpm4Z7uVanuur3wSUUmK5T9qF7byvnXqQ RYCTxBN7GmK5wI98yQ1kJGmIMTLqGv4vA3YU43c7MPL48Hcxw6iQf6SVs4CG64L+ FmM6wFuuebvkr8FtU5Oo7gqmOFmE/Ni8YvZD7BjHWKKtEQuSm8qoCe705gNsu2IZ VdOtSl06leACwoem0rwbBfL+fvv8zcVkKJS8hjIqbGZqNr1dNv0G0XNSL0atbzD9 XOgeEUQJTyHLG4DH6n8aICa4tcfuLpk9UFIOwpDokGa5l6qkkeyNPpnMXGLcyG+p xNlACVQrIJy0lkQoZNqhlzQkss/8QH83aJhYI2s6AxnyegL3itWPNlAz0+Ne0sI+ vb1HljhXwvNUQtP0a02LzOcZhUPdvBDt3xM0aZXeXG+pJpTI+UPJJUfAdGrv/8CE RGM4OGC/NjkMRkpIXyvO7zEmvVjOC0glbDLqVvuKNeppPu1HjkY= =owNc -----END PGP SIGNATURE----- --ZhgbKaIbgD3qoYndXy7UBY0VmTOocLtfL--