]> git.karo-electronics.de Git - linux-beck.git/commit
powercap / RAPL: handle atom and core differences
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Fri, 7 Nov 2014 17:29:26 +0000 (09:29 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Nov 2014 22:40:06 +0000 (23:40 +0100)
commit3c2c08454ce9cabf55ff927ecc240573c177a659
tree20227965c6d35860469aeb8d811630d8542c7e64
parent087e9cbab5022f8bb6dc9574ff5e320569903b80
powercap / RAPL: handle atom and core differences

RAPL implementation on Atom has made some changes that are not compatible
with Core CPUs. Specifically, it is different in the way units are computed
as well as floor frequency is enforced.

This patch uses the per CPU model functions to handle the differences. Intel
Software Developers' Manual has also been updated to reflect the changes in
Table 35-7 V3C.

Signed-off-by: Ajay Thomas <ajay.thomas.david.rajamanickam@intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c