powercap / RAPL: abstract per cpu type functions
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Fri, 7 Nov 2014 17:29:25 +0000 (09:29 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Nov 2014 22:40:06 +0000 (23:40 +0100)
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>

No differences found