diff options
author | Jacob Pan <jacob.jun.pan@linux.intel.com> | 2014-04-30 00:33:06 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-01 01:32:20 +0200 |
commit | 9d31c676c6019df0c078950a0ddca87da4706b14 (patch) | |
tree | 940a8627bee078e7bf158c9128db9acd5156e15a /drivers/rtc | |
parent | Linux 3.15-rc3 (diff) | |
download | linux-9d31c676c6019df0c078950a0ddca87da4706b14.tar.xz linux-9d31c676c6019df0c078950a0ddca87da4706b14.zip |
powercap / RAPL: further relax energy counter checks
Energy counters may roll slowly for some RAPL domains, checking all
of them can be time consuming and takes unpredictable amount of time.
Therefore, we relax the sanity check by only checking availability of the
MSRs and non-zero value of the energy status counters. It has been shown
sufficient for all the platforms tested to filter out inactive domains.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Acked-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions