From patchwork Mon Nov 23 18:46:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Pan X-Patchwork-Id: 7685291 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5353DBF90C for ; Mon, 23 Nov 2015 18:47:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D97620802 for ; Mon, 23 Nov 2015 18:47:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 214F8207FD for ; Mon, 23 Nov 2015 18:47:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753742AbbKWSrz (ORCPT ); Mon, 23 Nov 2015 13:47:55 -0500 Received: from mga02.intel.com ([134.134.136.20]:50214 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752947AbbKWSry (ORCPT ); Mon, 23 Nov 2015 13:47:54 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 23 Nov 2015 10:47:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,338,1444719600"; d="scan'208";a="857801813" Received: from icelake.jf.intel.com ([10.7.199.64]) by orsmga002.jf.intel.com with ESMTP; 23 Nov 2015 10:47:53 -0800 From: Jacob Pan To: LKML , Linux PM , Rafael Wysocki Cc: Srinivas Pandruvada , Jacob Pan Subject: [PATCH] powercap/rapl: add cpu id for broxton Date: Mon, 23 Nov 2015 10:46:57 -0800 Message-Id: <1448304417-11023-1-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Broxton is Atom based SoC which supports RAPL interface that is compatible with Core. 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 5efacd0..bfc353b 100644 --- a/drivers/powercap/intel_rapl.c +++ b/drivers/powercap/intel_rapl.c @@ -1104,6 +1104,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = { RAPL_CPU(0x5A, rapl_defaults_ann),/* Annidale */ RAPL_CPU(0x5E, rapl_defaults_core),/* Skylake-H/S */ RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights Landing */ + RAPL_CPU(0x5C, rapl_defaults_core),/* Broxton */ {} }; MODULE_DEVICE_TABLE(x86cpu, rapl_ids);