summaryrefslogtreecommitdiffstats
path: root/lib/llist.c
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2015-03-13 03:48:56 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-03-13 23:18:44 +0100
commitd474a4d365aaa5c7aabcf11a74ea43aa23f6f2e9 (patch)
tree01ec65957368d7f604aa5eb7101845fab04f58a6 /lib/llist.c
parent9eccca0843205f87c00404b663188b88eb248051 (diff)
downloadop-kernel-dev-d474a4d365aaa5c7aabcf11a74ea43aa23f6f2e9.zip
op-kernel-dev-d474a4d365aaa5c7aabcf11a74ea43aa23f6f2e9.tar.gz
powercap / RAPL: handle domains with different energy units
The current driver assumes all RAPL domains within a CPU package have the same energy unit. This is no longer true for HSW server CPUs since DRAM domain has is own fixed energy unit which can be different than the package energy unit enumerated by package power MSR. In fact, the default HSW EP package power unit is 61uJ whereas DRAM domain unit is 15.3uJ. The result is that DRAM power consumption is counted 4x more than real power reported by energy counters, similarly for max_energy_range_uj of DRAM domain. This patch adds domain specific energy unit per cpu type, it allows domain energy unit to override package energy unit if non zero. Please see this document for details. "Intel Xeon Processor E5-1600 and E5-2600 v3 Product Families, Volume 2 of 2. Datasheet, September 2014, Reference Number: 330784-001 " Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Cc: 3.10+ <stable@vger.kernel.org> # 3.10+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud