From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754590AbdKNLMV (ORCPT ); Tue, 14 Nov 2017 06:12:21 -0500 Received: from ozlabs.org ([103.22.144.67]:50725 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754183AbdKNLMG (ORCPT ); Tue, 14 Nov 2017 06:12:06 -0500 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: cd77b5ce208c153260ed7882d8910f2395bfaabd In-Reply-To: <1507869401-4715-1-git-send-email-shriyak@linux.vnet.ibm.com> To: Shriya , mikey@neuling.org From: Michael Ellerman Cc: ego@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Shriya , shilpa.bhat@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org Subject: Re: [v2] cpufreq: powernv: Fix the frequency read by /proc/cpuinfo Message-Id: <3yblFw5vgVz9sPs@ozlabs.org> Date: Tue, 14 Nov 2017 22:12:04 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/cd77b5ce208c153260ed7882d8910f cheers