Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [v2] cpufreq: powernv: Fix the frequency read by /proc/cpuinfo | Date | Tue, 14 Nov 2017 22:12:04 +1100 (AEDT) |
| |
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@vger.kernel.org > > Signed-off-by: Shriya <shriyak@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/cd77b5ce208c153260ed7882d8910f
cheers
| |