]> asedeno.scripts.mit.edu Git - linux.git/commit
ACPI / CPPC: add sysfs entries for CPPC perf capabilities
authorPrakash, Prashanth <pprakash@codeaurora.org>
Wed, 29 Mar 2017 19:50:00 +0000 (13:50 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Apr 2017 21:37:50 +0000 (23:37 +0200)
commit2c74d8473d19c159a3c3eabaa4819e110c97e8ec
tree96e7bf41aea73ffb20f2fd2148d456a1f0d0762d
parent368520a6b2dd232ea5743a6acd9f056bc30e05b4
ACPI / CPPC: add sysfs entries for CPPC perf capabilities

Computed delivered performance using CPPC feedback counters are in the
CPPC abstract scale, whereas cppc_cpufreq driver operates in KHz scale.
Exposing the CPPC performance capabilities (highest,lowest, nominal,
lowest non-linear) will allow userspace to figure out the conversion
factor from CPPC abstract scale to KHz.

Also rename ctr_wrap_time to wraparound_time so that show_cppc_data()
macro will work with it.

Signed-off-by: Prashanth Prakash <pprakash@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/cppc_acpi.c
include/acpi/cppc_acpi.h