From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Shriya <shriyak@linux.vnet.ibm.com>, mikey@neuling.org
Cc: ego@linux.vnet.ibm.com, linux-kernel@vger.kernel.org,
stable@vger.kernel.org, Shriya <shriyak@linux.vnet.ibm.com>,
shilpa.bhat@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org
Subject: Re: [v2] cpufreq: powernv: Fix the frequency read by /proc/cpuinfo
Date: Tue, 14 Nov 2017 22:12:04 +1100 (AEDT) [thread overview]
Message-ID: <3yblFw5vgVz9sPs@ozlabs.org> (raw)
In-Reply-To: <1507869401-4715-1-git-send-email-shriyak@linux.vnet.ibm.com>
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
prev parent reply other threads:[~2017-11-14 11:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-13 4:36 [PATCH v2] cpufreq: powernv: Fix the frequency read by /proc/cpuinfo Shriya
2017-11-14 11:12 ` Michael Ellerman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3yblFw5vgVz9sPs@ozlabs.org \
--to=patch-notifications@ellerman.id.au \
--cc=ego@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mikey@neuling.org \
--cc=shilpa.bhat@linux.vnet.ibm.com \
--cc=shriyak@linux.vnet.ibm.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).