[PATCH v8 1/8] cpufreq: amd-pstate: Document *_limit_* fields in struct amd_cpudata

From: Perry Yuan
Date: Mon Mar 18 2024 - 05:49:30 EST


From: "Gautham R. Shenoy" <gautham.shenoy@xxxxxxx>

Signed-off-by: Gautham R. Shenoy <gautham.shenoy@xxxxxxx>
---
include/linux/amd-pstate.h | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/include/linux/amd-pstate.h b/include/linux/amd-pstate.h
index d21838835abd..212f377d615b 100644
--- a/include/linux/amd-pstate.h
+++ b/include/linux/amd-pstate.h
@@ -49,6 +49,10 @@ struct amd_aperf_mperf {
* @lowest_perf: the absolute lowest performance level of the processor
* @prefcore_ranking: the preferred core ranking, the higher value indicates a higher
* priority.
+ * @min_limit_perf: Cached value of the perf corresponding to policy->min
+ * @max_limit_perf: Cached value of the perf corresponding to policy->max
+ * @min_limit_freq: Cached value of policy->min
+ * @max_limit_freq: Cached value of policy->max
* @max_freq: the frequency that mapped to highest_perf
* @min_freq: the frequency that mapped to lowest_perf
* @nominal_freq: the frequency that mapped to nominal_perf
--
2.34.1