From: "Shilimkar, Santosh" <santosh.shilimkar-l0cyMroinI0@public.gmane.org>
To: Vincent Guittot
<vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org,
yong.zhang0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
namhyung-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v4 3/5] ARM: topology: Update cpu_power according to DT information
Date: Mon, 9 Jul 2012 20:07:14 +0530 [thread overview]
Message-ID: <CAMQu2gymVGXdnYCN4sdKgmESfDSXTvpH4uCuByAKZTFS4Lt13A@mail.gmail.com> (raw)
In-Reply-To: <CAKfTPtCicLseyA4DnUwNWf7+jOmab4KLo8Yw=Rz1KPya+fE_-w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Mon, Jul 9, 2012 at 8:06 PM, Vincent Guittot
<vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote:
> On 9 July 2012 15:00, Shilimkar, Santosh <santosh.shilimkar-l0cyMroinI0@public.gmane.org> wrote:
>> On Mon, Jul 9, 2012 at 6:02 PM, Vincent Guittot
>> <vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote:
>>> On 9 July 2012 12:55, Shilimkar, Santosh <santosh.shilimkar-l0cyMroinI0@public.gmane.org> wrote:
>>>> Vincent,
>>>> On Mon, Jul 9, 2012 at 2:57 PM, Vincent Guittot
>>>> <vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote:
>>>>> Use cpu compatibility field and clock-frequency field of DT to
>>>>> estimate the capacity of each core of the system and to update
>>>>> the cpu_power field accordingly.
>>>>> This patch enables to put more running tasks on big cores than
>>>>> on LITTLE ones. But this patch doesn't ensure that long running
>>>>> tasks will run on big cores and short ones on LITTLE cores.
>>>>>
>>>>> Signed-off-by: Vincent Guittot <vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
>>>>> Reviewed-by: Namhyung Kim <namhyung-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
>>>>> ---
>>>>> arch/arm/kernel/topology.c | 153 ++++++++++++++++++++++++++++++++++++++++++++
>>>>> 1 file changed, 153 insertions(+)
>>>>>
>>>> Sorry for not giving this comment on previous version but we should also
>>>> have a way to provide the big.LITTLE information without Device Tree.
>>>> May be a platform device/data.
>>>
>>> Hi Santosh,
>>>
>>> I had thought of adding such additional way to set cpu_power of
>>> big.LITTLE but my conclusion was
>>> -it's a new platform so it should come with DT
>>> -DT is already required by other patches linked to big.LITTLE
>>> (http://lists.infradead.org/pipermail/linux-arm-kernel/2012-January/080873.html)
>>> -There is no device that can be easily used to get such information at
>>> this early boot stage.
>>>
>> I see. Its new processor but it is just 1 one of the IP in an entire SOC.
>> As mentioned below I was talking about full SOC support including
>> all the driver subsystem with DT.
>>
>>>>
>>>> I know we are moving DT way, but remember apart from core kernel
>>>> infrastructure, to have a complete product build with DT means all the
>>>> drivers must be already supporting DT which is not the case with
>>>> many huge driver sub-systems like USB, display subsystem, Audio etc.
>>>>
>>>> Having that support would greatly help for the SOC's which have not yet
>>>> reached to stage where entire SOC is DT compliant and want to use
>>>> big.LITTLE infrastructure.
>>>
>>> Can't you support both type of devices on your platform ? You can move
>>> your device to DT mode when it is supported ?
>>>
>> That is what eventually people end up doing who don't have
>> DT ready for entire SOC. I was trying to ask whether at least some
>> method is proposed(need not be merged in mainline) to have
>> the big.LITTLE information parsing without DT.
>
> Ok, IIUC, you need a temporary methods, which doesn't need to be
> merged in mainline, to set the cpu_scale field ?
>
Yep.
Regards
Santosh
next prev parent reply other threads:[~2012-07-09 14:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-09 9:27 [PATCH v4 0/5] ARM: topology: set the capacity of each cores for big.LITTLE Vincent Guittot
2012-07-09 9:27 ` [PATCH v4 1/5] ARM: topology: Add arch_scale_freq_power function Vincent Guittot
[not found] ` <1341826026-6504-1-git-send-email-vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2012-07-09 9:27 ` [PATCH v4 2/5] ARM: topology: factorize the update of sibling masks Vincent Guittot
2012-07-09 9:27 ` [PATCH v4 3/5] ARM: topology: Update cpu_power according to DT information Vincent Guittot
2012-07-09 10:55 ` Shilimkar, Santosh
2012-07-09 11:00 ` Peter Zijlstra
2012-07-09 11:04 ` Shilimkar, Santosh
[not found] ` <CAMQu2gydOEVK_fzmzkdrBwBfOq6eZG=0QfLUfFChWJu9unSn2A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-09 12:32 ` Vincent Guittot
2012-07-09 13:00 ` Shilimkar, Santosh
2012-07-09 14:36 ` Vincent Guittot
[not found] ` <CAKfTPtCicLseyA4DnUwNWf7+jOmab4KLo8Yw=Rz1KPya+fE_-w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-09 14:37 ` Shilimkar, Santosh [this message]
2012-07-09 15:10 ` Vincent Guittot
[not found] ` <CAKfTPtCcxg5PNqjXrz9zYwE-DDAUtdbaUuuGpGqGzOFZrk3rnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-09 15:28 ` Shilimkar, Santosh
[not found] ` <1341826026-6504-4-git-send-email-vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2012-09-13 13:03 ` Dave Martin
2012-07-09 9:27 ` [PATCH v4 4/5] sched, x86: Remove broken power estimation Vincent Guittot
2012-07-09 9:27 ` [PATCH v4 5/5] sched: cpu_power: enable ARCH_POWER Vincent Guittot
2012-07-10 11:27 ` [PATCH v4 0/5] ARM: topology: set the capacity of each cores for big.LITTLE Peter Zijlstra
2012-07-10 12:35 ` Vincent Guittot
[not found] ` <CAKfTPtC0BcidJ2ga9c2fdWjrEsfXH48QtSnjv0YOCv7-k3K-Ug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-10 13:42 ` Peter Zijlstra
2012-09-13 9:17 ` Vincent Guittot
[not found] ` <CAKfTPtCpZS=ALAjwqX5Wb0j5HjrMjv87MEefGC2O5_p7ENeY2w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-13 12:07 ` Peter Zijlstra
2012-09-13 12:51 ` Vincent Guittot
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=CAMQu2gymVGXdnYCN4sdKgmESfDSXTvpH4uCuByAKZTFS4Lt13A@mail.gmail.com \
--to=santosh.shilimkar-l0cymroini0@public.gmane.org \
--cc=a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=namhyung-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
--cc=vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=yong.zhang0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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).