From patchwork Tue May 31 20:41:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Pan X-Patchwork-Id: 9145651 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7E9DA60761 for ; Tue, 31 May 2016 20:49:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 712C3263DC for ; Tue, 31 May 2016 20:49:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 642D326464; Tue, 31 May 2016 20:49:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2256D20855 for ; Tue, 31 May 2016 20:49:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755290AbcEaUtc (ORCPT ); Tue, 31 May 2016 16:49:32 -0400 Received: from mga11.intel.com ([192.55.52.93]:56441 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753617AbcEaUt1 (ORCPT ); Tue, 31 May 2016 16:49:27 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 31 May 2016 13:49:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,397,1459839600"; d="scan'208";a="966074358" Received: from icelake.jf.intel.com ([10.7.199.88]) by orsmga001.jf.intel.com with ESMTP; 31 May 2016 13:49:26 -0700 From: Jacob Pan To: LKML , Linux PM , Rafael Wysocki , Srinivas Pandruvada Cc: Jacob Pan Subject: [PATCH 2/2] powercap/rapl: add support for denverton Date: Tue, 31 May 2016 13:41:30 -0700 Message-Id: <1464727290-5400-3-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1464727290-5400-1-git-send-email-jacob.jun.pan@linux.intel.com> References: <1464727290-5400-1-git-send-email-jacob.jun.pan@linux.intel.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Denverton micro server is Atom based but RAPL interface is compatible with Core based CPUs. Signed-off-by: Jacob 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 d51a8d4..f0fc1a3 100644 --- a/drivers/powercap/intel_rapl.c +++ b/drivers/powercap/intel_rapl.c @@ -1137,6 +1137,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = { RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights Landing */ RAPL_CPU(0x8E, rapl_defaults_core),/* Kabylake */ RAPL_CPU(0x9E, rapl_defaults_core),/* Kabylake */ + RAPL_CPU(0x5F, rapl_defaults_core),/* Denverton micro server */ {} }; MODULE_DEVICE_TABLE(x86cpu, rapl_ids);