From: Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>,
"cpufreq@vger.kernel.org" <cpufreq@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
"linaro-dev@lists.linaro.org" <linaro-dev@lists.linaro.org>,
spear-devel <spear-devel@list.st.com>
Subject: Re: [Query]: CPUFREQ: Affected and related cpus in cpufreq
Date: Wed, 10 Oct 2012 14:44:33 +0100 [thread overview]
Message-ID: <50757BC1.3050401@arm.com> (raw)
In-Reply-To: <CAKohponw2kGOewdnyicPiup5pa1bqdSo2mWicHiuLM0F0_OREg@mail.gmail.com>
On 10/10/12 14:26, Viresh Kumar wrote:
[...]
> I couldn't understand the difference b/w h/w and s/w coordination. What
> do we mean by them here.
>
> Following patch added related related_cpu stuff:
>
>
> commit e8628dd06d66f2e3965ec9742029b401d63434f1
> Author: Darrick J. Wong <djwong@us.ibm.com>
> Date: Fri Apr 18 13:31:12 2008 -0700
>
> [CPUFREQ] expose cpufreq coordination requirements regardless of
> coordination mechanism
>
> Currently, affected_cpus shows which CPUs need to have their frequency
> coordinated in software. When hardware coordination is in use, the contents
> of this file appear the same as when no coordination is required. This can
> lead to some confusion among user-space programs, for example, that do not
> know that extra coordination is required to force a CPU core to a particular
> speed to control power consumption.
>
> To fix this, create a "related_cpus" attribute that always displays the
> coordination map regardless of whatever coordination strategy the cpufreq
> driver uses (sw or hw). If the cpufreq driver does not provide a
> value, fall
> back to policy->cpus.
>
> Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Dave Jones <davej@redhat.com>
> ---
>
Here is my understanding on this patch. This change is closely related
to ACPI cpufreq driver(used mostly on Intel cores). This change was
introduced to keep track of the related cpus as returned by ACPI
firmware along with affected cpus as imposed by SW. I don't understand
the exact difference in Intel cores.
I believe it's just for tracking and not used much in the driver.
Regards,
Sudeep
next prev parent reply other threads:[~2012-10-10 13:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-08 13:58 [Query]: CPUFREQ: Affected and related cpus in cpufreq viresh kumar
[not found] ` <CAOh2x=mJUkRxwwTRh89-Xpm1WwB9ciDOXVohqoTu6B5k6meHdw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-10-10 12:01 ` Sudeep KarkadaNagesha
2012-10-10 13:26 ` Viresh Kumar
2012-10-10 13:44 ` Sudeep KarkadaNagesha [this message]
2012-10-10 14:07 ` Viresh Kumar
2013-07-01 6:20 ` Viresh Kumar
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=50757BC1.3050401@arm.com \
--to=sudeep.karkadanagesha@arm.com \
--cc=cpufreq@vger.kernel.org \
--cc=linaro-dev@lists.linaro.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=spear-devel@list.st.com \
--cc=viresh.kumar@linaro.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 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.