cpufreq: intel_pstate: Clean up aperf_mperf_shift description
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 15 Jul 2020 13:54:57 +0000 (15:54 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 16 Jul 2020 15:15:13 +0000 (17:15 +0200)
The kerneldoc description of the aperf_mperf_shift field in
struct global_params is unclear and there is a typo in it, so
simplify it and clean it up.

Reported-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lee Jones <lee.jones@linaro.org>
drivers/cpufreq/intel_pstate.c

index 57130a1..a394ff0 100644 (file)
@@ -201,9 +201,7 @@ struct global_params {
  * @pstate:            Stores P state limits for this CPU
  * @vid:               Stores VID limits for this CPU
  * @last_sample_time:  Last Sample time
- * @aperf_mperf_shift: Number of clock cycles after aperf, merf is incremented
- *                     This shift is a multiplier to mperf delta to
- *                     calculate CPU busy.
+ * @aperf_mperf_shift: APERF vs MPERF counting frequency difference
  * @prev_aperf:                Last APERF value read from APERF MSR
  * @prev_mperf:                Last MPERF value read from MPERF MSR
  * @prev_tsc:          Last timestamp counter (TSC) value