2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00
linux-next/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 PowerCap: Introduce Intel RAPL power capping driver 2013-10-18 13:29:52 +02:00
Makefile PowerCap: Introduce Intel RAPL power capping driver 2013-10-18 13:29:52 +02:00
powercap_sys.c PowerCap: Fix mode for energy counter 2013-12-05 02:05:48 +01:00