diff options
author | Jacob Pan <jacob.jun.pan@linux.intel.com> | 2014-04-29 15:33:06 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-01 01:32:20 +0200 |
commit | 9d31c676c6019df0c078950a0ddca87da4706b14 (patch) | |
tree | 940a8627bee078e7bf158c9128db9acd5156e15a /drivers/usb | |
parent | d1db0eea852497762cab43b905b879dfcd3b8987 (diff) | |
download | linux-9d31c676c6019df0c078950a0ddca87da4706b14.tar.gz linux-9d31c676c6019df0c078950a0ddca87da4706b14.tar.bz2 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/usb')
0 files changed, 0 insertions, 0 deletions