From: George Dunlap <george.dunlap@eu.citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Julien Grall <julien.grall@linaro.org>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
"patches@linaro.org" <patches@linaro.org>,
Andre Przywara <andre.przywara@linaro.org>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [PATCH 0/4] ARM: add PSCI host support
Date: Mon, 25 Nov 2013 16:35:23 +0000 [thread overview]
Message-ID: <52937C4B.8050901@eu.citrix.com> (raw)
In-Reply-To: <1385388206.22002.68.camel@kazak.uk.xensource.com>
On 11/25/2013 02:03 PM, Ian Campbell wrote:
> On Mon, 2013-11-25 at 13:00 +0000, George Dunlap wrote:
>> On Mon, Nov 25, 2013 at 12:02 PM, Andre Przywara
>> <andre.przywara@linaro.org> wrote:
>>> Xen did not make use of the host provided ARM PSCI (Power State
>>> Coordination Interface) functionality so far, but relied on platform
>>> specific SMP bringup functions.
>>> This series adds support for PSCI on the host by reading the required
>>> information from the DTB and invoking the appropriate handler when
>>> bringing up each single CPU.
>>> Since PSCI is defined for both ARM32 and ARM64, I put the code in a
>>> file shared by both.
>>> The ARM32 code was tested on Midway, but the ARM64 code was compile
>>> tested only.
>>>
>>> This approach seems to be the least intrusive, but one could also use
>>> more of the current ARM64 code by copying the PSCI/spin-table
>>> distinction code to a shared file and use that from both
>>> architectures. However that seems more complicated.
>>>
>>> Please take a look and complain ;-)
>>>
>>> Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
>> Ian, do you agree that this is too late for 4.4?
> I'm in two minds. On the one hand none of the existing platforms
> currently require this functionality, so it has clearly not been
> necessary up to now.
>
> On the other hand it plays into the strategy of allowing people to
> trivially support their platform, and since it is a standard way to do
> power control on ARM (albeit quite new and so far uptake is not huge) I
> think it is expected that many new platforms will use it.
>
> Of our current platforms Midway can optionally use PSCI (we have
> "native" code at the minute) and sunxi is going to need it whenever SMP
> is enabled (patches to u-boot are circulating now).
>
> I'm inclined towards punting on this for 4.4.0 but be open to the idea
> of adding it in 4.4.1 if it turns out to be something that people are
> needing in practice..
At some point every cost/benefits analysis comes down to a judgement
call; in cases where the release coordinator doesn't have the experience
to make the call themselves, their job should be to help set the
criteria, ask questions, and clarify the thinking.
Both arguments -- "We should risk including this because it will enable
other platforms, in particular sunxi", and "We should wait until 4.4.1",
sound reasonable to me. So I think I'll have to leave it up to you to
judge which is a better bet at this point. :-)
-George
next prev parent reply other threads:[~2013-11-25 16:35 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 12:02 [PATCH 0/4] ARM: add PSCI host support Andre Przywara
2013-11-25 12:02 ` [PATCH 1/4] arm: parse PSCI node from the host device-tree Andre Przywara
2013-11-26 11:12 ` Ian Campbell
2013-11-26 11:25 ` Ian Campbell
2013-11-28 10:56 ` Andre Przywara
2013-11-25 12:02 ` [PATCH 2/4] arm: add a function to invoke the PSCI handler and use it Andre Przywara
2013-11-26 11:18 ` Ian Campbell
2013-11-28 10:59 ` Andre Przywara
2013-11-25 12:02 ` [PATCH 3/4] arm: dont give up on EAGAIN if PSCI is defined Andre Przywara
2013-11-26 11:20 ` Ian Campbell
2013-11-25 12:02 ` [PATCH 4/4] arm64: defer CPU initialization on ARM64 if PSCI is present Andre Przywara
2013-11-26 11:24 ` Ian Campbell
2013-11-25 13:00 ` [PATCH 0/4] ARM: add PSCI host support George Dunlap
2013-11-25 14:03 ` Ian Campbell
2013-11-25 14:21 ` Andre Przywara
2013-11-25 14:50 ` Ian Campbell
2013-11-25 15:03 ` Andre Przywara
2013-11-25 16:35 ` George Dunlap [this message]
2013-11-26 11:01 ` Ian Campbell
2013-11-26 11:05 ` Ian Campbell
2013-11-27 13:45 ` Andre Przywara
2013-11-27 14:28 ` Ian Campbell
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=52937C4B.8050901@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=andre.przywara@linaro.org \
--cc=julien.grall@linaro.org \
--cc=patches@linaro.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.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).