From: Yuantian Tang <Yuantian.Tang@freescale.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Rafael Wysocki <rjw@rjwysocki.net>,
"linaro-kernel@lists.linaro.org" <linaro-kernel@lists.linaro.org>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
Hongbo Zhang <hongbo.zhang@freescale.com>,
"LeoLi@freescale.com" <LeoLi@freescale.com>
Subject: RE: [PATCH 2/2] cpufreq: ppc-corenet: remove per-cpu variable 'cpu_mask'
Date: Tue, 2 Sep 2014 07:02:37 +0000 [thread overview]
Message-ID: <9fde1bf81522480484897416019b0ee9@BY2PR03MB570.namprd03.prod.outlook.com> (raw)
In-Reply-To: <CAKohpokQo=Jqgj2CzTH41WbD6F1GpdhksWdg0dm8WLN_CT5KkA@mail.gmail.com>
I am saying your patch 2 probably is wrong, not patch 1.
Consider following case:
On T4240 platform, we have 3 cluster with 8 cpu in each cluster.
We offline 4 5 6 7 cpu and then online them back.
Cpu 4's policy->cpus is 0, 1, 2, 3, 4
Cpu 5's policy->cpus is 0, 1, 2, 3, 4, 5.
....
So cpu 4 and 5's policy->cpus are not right, they should be 0, 1, 2, 3, 4, 5, 6, 7.
Thanks,
Yuantian
> -----Original Message-----
> From: Viresh Kumar [mailto:viresh.kumar@linaro.org]
> Sent: Tuesday, September 02, 2014 2:49 PM
> To: Tang Yuantian-B29983
> Cc: Rafael Wysocki; linaro-kernel@lists.linaro.org; linux-pm@vger.kernel.org;
> Zhang Hongbo-B45939; Li Yang-Leo-R58472
> Subject: Re: [PATCH 2/2] cpufreq: ppc-corenet: remove per-cpu variable
> 'cpu_mask'
>
> On 2 September 2014 12:16, Yuantian Tang <Yuantian.Tang@freescale.com>
> wrote:
> > Hello Viresh:
> >
> > Probably it is not right considering the CPU cluster and CPU hotplug case.
>
> So in case of hotplug the worst that can happen is policy->cpu gets updated.
> But because we are all concerned about cpu_data here, which is stored in
> per-cpu variables and is updated for all online CPUs, it should work.
>
> I would like to see how that fails :)
next prev parent reply other threads:[~2014-09-02 7:02 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-02 3:41 [PATCH 1/2] cpufreq: ppc-corenet: remove duplicate update of cpu_data Viresh Kumar
2014-09-02 3:41 ` [PATCH 2/2] cpufreq: ppc-corenet: remove per-cpu variable 'cpu_mask' Viresh Kumar
2014-09-02 6:46 ` Yuantian Tang
2014-09-02 6:49 ` Viresh Kumar
2014-09-02 7:02 ` Yuantian Tang [this message]
2014-09-02 7:09 ` Viresh Kumar
2014-09-02 8:08 ` Yuantian Tang
2014-09-03 8:02 ` Yuantian Tang
2014-09-03 9:50 ` Viresh Kumar
2014-09-04 2:51 ` Yuantian Tang
2014-09-04 3:38 ` Viresh Kumar
2014-09-04 4:33 ` Yuantian Tang
2014-09-04 4:37 ` Viresh Kumar
2014-09-05 9:35 ` Yuantian Tang
2014-09-05 9:40 ` Viresh Kumar
2014-09-02 6:38 ` [PATCH 1/2] cpufreq: ppc-corenet: remove duplicate update of cpu_data Yuantian Tang
2014-09-02 6:47 ` Viresh Kumar
2014-09-10 4:32 ` Viresh Kumar
2014-09-10 5:30 ` Yuantian Tang
2014-09-10 5:39 ` Viresh Kumar
2014-09-10 6:19 ` Yuantian Tang
2014-09-10 6:20 ` Yuantian Tang
2014-09-24 23:45 ` Rafael J. Wysocki
2014-09-29 9:05 ` Viresh Kumar
2014-09-29 23:41 ` Rafael J. Wysocki
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=9fde1bf81522480484897416019b0ee9@BY2PR03MB570.namprd03.prod.outlook.com \
--to=yuantian.tang@freescale.com \
--cc=LeoLi@freescale.com \
--cc=hongbo.zhang@freescale.com \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--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.