From: Dirk Brandewie <dirk.brandewie@gmail.com>
To: "Jörg Otte" <jrg.otte@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
rafael.j.wysocki@intel.com
Subject: Re: [v3.10-rc] intel_pstate question
Date: Tue, 28 May 2013 08:52:46 -0700 [thread overview]
Message-ID: <51A4D2CE.90604@intel.com> (raw)
In-Reply-To: <CADDKRnDH130wn8nVaT4xmCuEEcsGyBcjhj7pDjPMkeucUW+EWw@mail.gmail.com>
Hi Jörg,
On 05/28/2013 08:02 AM, Jörg Otte wrote:
> Hi,
>
> the sysfs-interface of intel_pstate is different to that of the acpi driver:
> - intel_pstate shows current cpu-frequency in "cpuinfo_cur_freq" whereas
> the acpi counterpart uses "scaling_cur_freq".
> - moreover cpuinfo_cur_freq is readable by root only, whereas
> scaling_cur_freq is world readable.
>
> A monitoring tool must take care of theese differences.
> Is this intentional?
>
This is a side effect of the interface that intel_pstate presents to the cpufreq
core.
cpuinfo_cur_freq reports the value returned from the scaling driver.
scaling_cur_freq reports the current frequency in the governors policy structure.
intel_pstate has an internal governor so the core does not try to interpret
the policy structure.
I don't know why cpuinfo_cur_info is read-only root maybe Rafael knows the history.
> Thanks, Jörg
>
> Please CC me in answeres, I'm not subscribed.
>
next prev parent reply other threads:[~2013-05-28 15:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 15:02 [v3.10-rc] intel_pstate question Jörg Otte
2013-05-28 15:52 ` Dirk Brandewie [this message]
2013-05-29 9:25 ` Jörg Otte
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=51A4D2CE.90604@intel.com \
--to=dirk.brandewie@gmail.com \
--cc=jrg.otte@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.