commit | 087e9cbab5022f8bb6dc9574ff5e320569903b80 | [log] [tgz] |
---|---|---|
author | Jacob Pan <jacob.jun.pan@linux.intel.com> | Fri Nov 07 09:29:25 2014 -0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Nov 11 23:40:06 2014 +0100 |
tree | 76d90b7d57a6e8ef2f159f34903fc5f1a95c9194 | |
parent | 206c5f60a3d902bc4b56dab2de3e88de5eb06108 [diff] |
powercap / RAPL: abstract per cpu type functions RAPL implementations may vary slightly between Core and Atom CPUs. There are also potential differences among generations of CPUs within the family. This patch adds a per model structure to abstract the differences such that variations can be handled cleanly. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>