Received: by 10.223.185.111 with SMTP id b44csp386656wrg; Fri, 9 Mar 2018 06:40:57 -0800 (PST) X-Google-Smtp-Source: AG47ELupCxi4HUcLxbTgcjf/SKqJPg1u0/mfB07I8GrF2X66m3uNA9T6WQsVvPdKFsPQkIYPASYk X-Received: by 2002:a17:902:a584:: with SMTP id az4-v6mr28696202plb.20.1520606457733; Fri, 09 Mar 2018 06:40:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520606457; cv=none; d=google.com; s=arc-20160816; b=P/w0jRZGNhXF3XJ8v6HywjEcxN9k4E8q/KID1VYaMnp5ExJORN6KvoQL+55MOc+9dg v24IFtq1KF5T7rsiQzjKXcM2GytN2ZEYw5NF1k4LFqD/IobALVyy4zutuDA3LvOuHpCO fGFOmQdibytUsao4rT9I/ToOORVqEe+Yr1XpkoccPDedJXubBJ729Ne1LdpJjUa6dp++ T6kq9dJIlhbYwbnYAWKsodPc8j2jNfPSSbR6Tr0kQWXT2mZXpCTpbLzmAFTEFsTfW8Dx vtk/GSQcSr7BN+85nt5Xl+74sNTd6W5Bj4onPMGcaIVrHWUGGZ6aFQ2da6vrzPp4hkR6 2X5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=vIozhWA00jceB+gXezBimKndhSPWH3FVVSD6pLlx9Pc=; b=ik9EouOAGXLXOJAZcb2eL4Ap4uLUYKqekyjKLUF/kVi3tGxQoLNYxjksmscZYQqFfS tFhvuIZMu7qnd9Q4NOhJptJ7aZFB7s9+pSRrGOM50dhfcWhfRM6wIQk4ExjCNMBfdgRQ dt5EvqOlpZ6BsaICu/j8bKspDwSWGbM5LaYSp8a4JOxhVvL5luVjCDOwk13+UDCZj54y 2KqL4hcSJpXqC7ULLbpQtbo2gGRamZ6EhTrm9U4icGz08tWNfoD350Mumrqh1GHcwkOP 1ZM6XU4apwzJXRwEZcSoWd5ISZC8Qg4lbcIF4kXAkw9pzs2+J4HP4WMjFYeGrZWfhaEU OiyQ== 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 e6-v6si960235plo.525.2018.03.09.06.40.43; Fri, 09 Mar 2018 06:40:57 -0800 (PST) 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 S932195AbeCIOiB (ORCPT + 99 others); Fri, 9 Mar 2018 09:38:01 -0500 Received: from 123-192-241-158.dynamic.kbronet.com.tw ([123.192.241.158]:45036 "EHLO E6440" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751145AbeCIOhr (ORCPT ); Fri, 9 Mar 2018 09:37:47 -0500 X-Greylist: delayed 300 seconds by postgrey-1.27 at vger.kernel.org; Fri, 09 Mar 2018 09:37:46 EST Received: from localhost.localdomain (localhost [127.0.0.1]) by E6440 (Postfix) with ESMTP id BFFAEC0115; Fri, 9 Mar 2018 20:15:53 +0800 (CST) From: Harry Pan To: LKML Cc: gs0622@gmail.com, Harry Pan , rjw@rjwysocki.net, linux-pm@vger.kernel.org Subject: [PATCH 1/3] powercap: intel_rapl: Add support for Cannon Lake Date: Fri, 9 Mar 2018 20:15:46 +0800 Message-Id: <20180309121549.630-1-harry.pan@intel.com> X-Mailer: git-send-email 2.13.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cannon Lake microarchitecture is similar to Kaby Lake in terms of RAPL, this patch enables CNL RAPL support. Signed-off-by: Harry Pan --- 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