Received: by 10.213.65.68 with SMTP id h4csp264204imn; Tue, 20 Mar 2018 03:00:04 -0700 (PDT) X-Google-Smtp-Source: AG47ELtOTTfS+ToZsynqeHdJfyFl96aunRWlzi1FdMtL8waP0CczJuNf7MFQ+Chc3saV3jiOYIgh X-Received: by 2002:a17:902:8602:: with SMTP id f2-v6mr15764832plo.6.1521540004225; Tue, 20 Mar 2018 03:00:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521540004; cv=none; d=google.com; s=arc-20160816; b=wpNaeVxoIs2B9FReYAdN3RXL4CyybUtJpw+SgwYcd6JCcWwB3DZT7dBy5qNi/sJsn9 y5k0b9wH2eT2Aysgi1t2dlgxhLSBU5k3+rqLRjlWmCQgZAOtzwONyznjgiEWB9YsbnNg if+uCdO1hm07T6nKVbhMLYfLPCmWWQUz/9AfqflH3GjNpU3gp59G0EvPfpHZnVaD4OFM RE3YPuwNvNirQiw2a35GADuHgczAVJiRy3mEYhUs9odBPHP2uWktoYo8Bi68iW6buM71 fT3pCCWuZw06MlUpl17OMxBFwWUOww5yF7i4MX82NGcULEk1jXv/+7xdL3sd+mCVqqca hCOA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=bZKlVgBDc47Tx0KQKsOvidSS3WQ9gRdKIkslOdntLKQ=; b=XYuatb7IT9vWw6+JkXCWWN3za4HaPDUgo103QS2MasYaUdYqbshA1Iria8OhR6n6QE 8+9SyrgJayvdslEw35OeEhsd5W07kT9i9rEgwChD8Eu8dht1PNIgsJUTv9kYfUkDs1v8 wc9t1vI2KMvI4pINZWM4DbuReymINsQN5v/bBOiIzPxG5UdSDAibQrjH+ZDBFNU2drPa 9lNhapNhn1Ejrgi9Rhxb79hrP3Czhlm5u7a59rzuvDUyMP45nN4pxuCA+8H75/UOocCU vOclj+ZCFtiFjYYCBt0bNsMkqUSv54HVuZJrk0dDdTIjRRUUQhz6xYuFa4tYgp0TVfe+ 7F1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=GqUq5FpL; 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 l7-v6si1370659plg.82.2018.03.20.02.59.47; Tue, 20 Mar 2018 03:00:04 -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=fail header.i=@gmail.com header.s=20161025 header.b=GqUq5FpL; 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 S1752619AbeCTJ6c (ORCPT + 99 others); Tue, 20 Mar 2018 05:58:32 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:35763 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752546AbeCTJ62 (ORCPT ); Tue, 20 Mar 2018 05:58:28 -0400 Received: by mail-oi0-f68.google.com with SMTP id x20-v6so557361oie.2; Tue, 20 Mar 2018 02:58:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=bZKlVgBDc47Tx0KQKsOvidSS3WQ9gRdKIkslOdntLKQ=; b=GqUq5FpL5yUse7lVFby598ZEnJJW/ssbGhDv9lTR5SdxuZ/lZWrQQsWrfLHafND8nf k3UVCAXFSfEFaWNJ3y+OyBbkS47xSJAxkzYfjrV9i6fAYRhgMIHqMT/jcKxXnr4htdjl IJKciHWpFnU53IBmOv3giuRDr5vbZhmPxV5AB8zfIQ0MRRvE18RZM4nmShzeH0E8R3LE qoBpSDptE4vdlJlxGbeKilEKfNRxw5RgnMCmqxuA4z/TeQnoCcLyGZ7kUH+nFb21RU/n t2jsD85qKprYAAOc563UEGuLJI3ZfjdHJpx1cRK3TgD+pKKNx+H0zZFBF/I0dB1myu0g NM3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=bZKlVgBDc47Tx0KQKsOvidSS3WQ9gRdKIkslOdntLKQ=; b=m7CTsz6xbPHO4yE9mkmPMLlufdPtf00dGpnIx2J0lMYKyebPOBRKsVXayOVqSiS4ra 5pOBW7otfMUUK/C8Mq9FDE9paKGHC1IJnWx6YFWyUkH6/EdKug04Zac0bfANEdiBQclR A07XoARb/DxidZc5w9W1GFohaYuBlZTAyZTbnE+8x2so1oqkqBP7QuI87igYqkXhoedM 5v03hHWK0sP08XvaE9QAgicJOcRZ5CPidL7gcaN95tVj6GqwfdXWUXsgYM5Dieh+ZwCa 1q3ysp5UTxzFxHuZMjPh5qZXlgWekRxsYNoUT9CWhRZE1CaIPuWGg9OG/8lqMhyNp97d GbMA== X-Gm-Message-State: AElRT7HLxaaAB633zMiIIPA7FhF1XJ1VOjI5/E3nXM3xlgmI82ekY7mg tNzhqn6ZO91U0THWfnUw0aVIZ87DMtc/YXz3Z0I= X-Received: by 10.202.104.96 with SMTP id d93mr9200426oic.174.1521539907399; Tue, 20 Mar 2018 02:58:27 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:9f7:0:0:0:0:0 with HTTP; Tue, 20 Mar 2018 02:58:27 -0700 (PDT) In-Reply-To: <20180309121549.630-1-harry.pan@intel.com> References: <20180309121549.630-1-harry.pan@intel.com> From: "Rafael J. Wysocki" Date: Tue, 20 Mar 2018 10:58:27 +0100 X-Google-Sender-Auth: -6Nm4-0agc6k4daI3Cuu9LdfOPE Message-ID: Subject: Re: [PATCH 1/3] powercap: intel_rapl: Add support for Cannon Lake To: Harry Pan Cc: LKML , gs0622@gmail.com, "Rafael J. Wysocki" , Linux PM , Joe Konno 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 Fri, Mar 9, 2018 at 1:15 PM, 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 I have applied an analogous patch from Joe Konno that was posted earlier. Thanks! > --- > 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), > -- > 2.13.5 >