]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powercap / intel_rapl: relax sanity check on energy counters
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Mon, 10 Feb 2014 14:11:51 +0000 (06:11 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 13 Feb 2014 23:49:33 +0000 (00:49 +0100)
commit7b8747725d0a6842a82ea60fe95b9d4d7ae008fd
treee5d245e9a39d0be9fc2b5d833f3c525c13e94460
parentb28a960c42fcd9cfc987441fa6d1c1a471f0f9ed
powercap / intel_rapl: relax sanity check on energy counters

Some RAPL domains may not be active at the time driver is being
loaded. Checking energy counter increment may be too strict and
time consuming. So relax the sanity check on energy counters of
these domains.

Otherwise, they may be ignored and become unavailable to the
powercap framework.

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