Re: [v2] cpufreq: powernv: Fix the frequency read by /proc/cpuinfo

From: Michael Ellerman
Date: Tue Nov 14 2017 - 06:12:25 EST


On Fri, 2017-10-13 at 04:36:41 UTC, Shriya wrote:
> The call to /proc/cpuinfo in turn calls cpufreq_quick_get() which
> returns the last frequency requested by the kernel, but may not
> reflect the actual frequency the processor is running at.
> This patch makes a call to cpufreq_get() instead which returns the
> current frequency reported by the hardware.
>
> Fixes : commit fb5153d05a7d ("powerpc: powernv: Implement
> ppc_md.get_proc_freq()")
> Cc: stable@xxxxxxxxxxxxxxx
>
> Signed-off-by: Shriya <shriyak@xxxxxxxxxxxxxxxxxx>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/cd77b5ce208c153260ed7882d8910f

cheers