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

Michael Ellerman patch-notifications at ellerman.id.au
Tue Nov 14 22:12:04 AEDT 2017


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 at vger.kernel.org
> 
> Signed-off-by: Shriya <shriyak at linux.vnet.ibm.com>

Applied to powerpc next, thanks.

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

cheers


More information about the Linuxppc-dev mailing list