summary refs log tree commit diff
path: root/include/acpi/cppc_acpi.h
diff options
context:
space:
mode:
authorPrakash, Prashanth <pprakash@codeaurora.org>2017-03-29 13:50:00 -0600
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-04-18 23:37:50 +0200
commit2c74d8473d19c159a3c3eabaa4819e110c97e8ec (patch)
tree96e7bf41aea73ffb20f2fd2148d456a1f0d0762d /include/acpi/cppc_acpi.h
parent368520a6b2dd232ea5743a6acd9f056bc30e05b4 (diff)
downloadlinux-2c74d8473d19c159a3c3eabaa4819e110c97e8ec.tar.gz
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>
Diffstat (limited to 'include/acpi/cppc_acpi.h')
-rw-r--r--include/acpi/cppc_acpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/cppc_acpi.h b/include/acpi/cppc_acpi.h
index 34e9680c55db..2010c0516f27 100644
--- a/include/acpi/cppc_acpi.h
+++ b/include/acpi/cppc_acpi.h
@@ -116,7 +116,7 @@ struct cppc_perf_fb_ctrs {
 	u64 reference;
 	u64 delivered;
 	u64 reference_perf;
-	u64 ctr_wrap_time;
+	u64 wraparound_time;
 };
 
 /* Per CPU container for runtime CPPC management. */