kernel-hacking-2024-linux-s.../drivers/powercap
Jacob Pan 9d31c676c6 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>
2014-05-01 01:32:20 +02:00
..
intel_rapl.c powercap / RAPL: further relax energy counter checks 2014-05-01 01:32:20 +02:00
Kconfig
Makefile
powercap_sys.c PowerCap: Fix mode for energy counter 2013-12-05 02:05:48 +01:00