intel_pstate: expose turbo range to sysfs
authorKristen Carlson Accardi <kristen@linux.intel.com>
Wed, 28 Jan 2015 23:03:27 +0000 (15:03 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 Jan 2015 00:52:17 +0000 (01:52 +0100)
commitd01b1f48c5fd95901203bd830458eaf619ed6c47
treedf29b42bb4495db5a24940b7a05c9cf888fb2150
parent7ab0256e57ae4423fbfb6b6c1611578c634702c9
intel_pstate: expose turbo range to sysfs

This patch adds "turbo_pct" to the intel_pstate sysfs interface.
turbo_pct will display the percentage of the total supported
pstates that are in the turbo range.  This value is independent
of whether turbo has been disabled or not.

Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/cpu-freq/intel-pstate.txt
drivers/cpufreq/intel_pstate.c