From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] Convert highbank to use PSCI calls
Date: Wed, 27 Feb 2013 11:25:59 -0600 [thread overview]
Message-ID: <512E41A7.9040700@gmail.com> (raw)
In-Reply-To: <20130227171830.GD22286@mudshark.cambridge.arm.com>
On 02/27/2013 11:18 AM, Will Deacon wrote:
> Hi Rob,
>
> On Wed, Feb 27, 2013 at 03:42:04AM +0000, Rob Herring wrote:
>> From: Rob Herring <rob.herring@calxeda.com>
>>
>> This series converts highbank to use PSCI calls for secondary core boot,
>> hotplug, cpuidle, suspend/resume, reset, and poweroff. Doing this removes
>> about 200 lines of platform code (1/3 of it) and abstracts out the A9 and
>> A15 differences (some of which are not yet in place).
>
> This is great, nice work!
>
>> Will, I'm using the id field to specify system level events which are
>> highbank specific. I worry that the id field will be abused for things
>> that could be standardized. Having standard PSCI calls for reset and
>> poweroff would avoid this for highbank.
>
> I don't like using the ID field for this because it places some of the
> number space in the device tree binding and other parts in the platform
> code. It might be better to use the bottom 16 bits of the power_state
> argument to CPU_OFF (which are designated as platform specific anyway) to
> indicate that you actually want a system-wide operation to take place.
The platform specific ID in the power state field of CPU_OFF is what I'm
using. But there is no reason for this to be platform specific when
possibly all platforms need this.
> Since this document is currently undergoing a fairly major update (which
> will hopefully be released soon), I'll go and check with the authors to see
> if they have already considered this.
It would be nice to have some visibility to this as this is an ABI and
will break if things change.
Rob
next prev parent reply other threads:[~2013-02-27 17:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-27 3:42 [PATCH 0/4] Convert highbank to use PSCI calls Rob Herring
2013-02-27 3:42 ` [PATCH 1/4] ARM: highbank: clean-up some unused includes Rob Herring
2013-02-27 3:42 ` [PATCH 2/4] dts: calxeda: add ARM PSCI binding Rob Herring
2013-02-27 3:42 ` [PATCH 3/4] cpuidle: calxeda: add support to use PSCI calls Rob Herring
2013-02-27 3:42 ` [PATCH 4/4] ARM: highbank: adapt to use ARM " Rob Herring
2013-02-27 8:58 ` [PATCH 0/4] Convert highbank to use " Arnd Bergmann
2013-02-27 13:51 ` Rob Herring
2013-02-27 17:14 ` Will Deacon
2013-02-27 20:25 ` Arnd Bergmann
2013-02-28 16:10 ` Will Deacon
2013-02-27 17:18 ` Will Deacon
2013-02-27 17:25 ` Rob Herring [this message]
2013-02-28 16:14 ` Will Deacon
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=512E41A7.9040700@gmail.com \
--to=robherring2@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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).