From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Pan Subject: [PATCH v2 0/3] Intel RAPL updates for Atom CPUs Date: Fri, 7 Nov 2014 09:29:24 -0800 Message-ID: <1415381367-16693-1-git-send-email-jacob.jun.pan@linux.intel.com> Return-path: Received: from mga03.intel.com ([134.134.136.65]:16068 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751777AbaKGR34 (ORCPT ); Fri, 7 Nov 2014 12:29:56 -0500 Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: LKML , Linux PM , Rafael Wysocki Cc: Len Brown , Ajay Thomas , Noor U Mubeen , Srinivas Pandruvada , Jacob Pan Running Average Power Limit (RAPL) is supported in Atom processors with a slightly different implementation. This patchset abstracts the differences and add support for newer ATOM CPUs. Intel Software Developers Manual has also been updated with many changes and clarifications on how RAPL units and power limits are calculated. Changes: v2: fix 32 bit divide in time window calculation Jacob Pan (3): powercap/rapl: abstract per cpu type functions powercap/rapl: handle atom and core differences powercap/rapl: add new model ids drivers/powercap/intel_rapl.c | 264 ++++++++++++++++++++++++++++-------------- 1 file changed, 177 insertions(+), 87 deletions(-) -- 1.9.1