public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 0/4] sun7i: PSCI enhancements
Date: Sun, 11 Jan 2015 12:06:43 +0100	[thread overview]
Message-ID: <54B25943.8080703@web.de> (raw)
In-Reply-To: <54B250BB.2050000@redhat.com>

On 2015-01-11 11:30, Hans de Goede wrote:
> Hi,
> 
> On 11-01-15 10:59, Ian Campbell wrote:
>> I've applied #1 and #3. I'd like to hear from Hans on the v0.2 stuff.
> 
> I've no real opinion on this, I do NOT like the introduction of a
> third version of the i2c / rsb and axp code (we already have both
> a u-boot and a kernel version to maintain of both).

I do not like this replication of logic very much as well. But already
my attempts to put complete C modules in the monitor segment failed. And
then, would we be able to still use those functions also from the rest
of uboot?

What would be possible is to invoke SYSTEM_RESET from reset_cpu. Not
much to gain, though, as only the sun7i has PSCI, and its logic is also
used by 4i and 5i.

> 
> Given that and rumors I've heard of a new PSCI version which may make
> things like shutdown optional, I would prefer to wait for such a new
> PSCI version and jump directly to that.

How long may this take to materialize?

> 
> But ultimately I defer to Ian here, so Ian whatever you say goes :)
> 
> Regards,
> 
> Hans
> 
> 
> 
>>
>> Also, the other patches are touching generic arm code, so ought to be
>> CC-d to (and perhaps go via) the core ARM maintainer (Albert Aribaud).

Will do if I get the OK sunxi-wise to proceed.

Jan

>>
>> IMHO it would be better if the common code changes involved
>> platform-selectable #ifdef's for enabling v0.1 and v0.2, to allow
>> platforms to opt-in to v0.2 support.
>>
>> On Wed, 2014-12-31 at 13:46 +0100, Jan Kiszka wrote:
>>> This adds CPU offlining and PSCI v0.2 support. Changes since v2:
>>>   - add more comments to psci_fiq_enter (patch 1)
>>>   - rebase over u-boot-sunxi/next
>>>
>>> See patches for further details.
>>>
>>> Jan
>>>
>>> Jan Kiszka (4):
>>>    sun7i: Add support for taking CPUs offline via PSCI
>>>    sun7i: Add PSCI v0.2 support
>>>    sun7i: Move psci_arch_init close to text_end
>>>    sun7i: Implement PSCI v0.2 AFFINITY_INFO
>>>
>>>   arch/arm/cpu/armv7/psci.S             |  35 +++-
>>>   arch/arm/cpu/armv7/sunxi/psci.S       | 351
>>> ++++++++++++++++++++++++++++++++--
>>>   arch/arm/cpu/armv7/virt-dt.c          |   5 +-
>>>   arch/arm/include/asm/arch-sunxi/cpu.h |   2 +
>>>   arch/arm/include/asm/psci.h           |  24 ++-
>>>   5 files changed, 392 insertions(+), 25 deletions(-)
>>>
>>
>>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150111/d33ab1bd/attachment.pgp>

  reply	other threads:[~2015-01-11 11:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-31 12:46 [U-Boot] [PATCH v3 0/4] sun7i: PSCI enhancements Jan Kiszka
2014-12-31 12:46 ` [U-Boot] [PATCH v3 1/4] sun7i: Add support for taking CPUs offline via PSCI Jan Kiszka
2015-01-07 19:05   ` Ian Campbell
2014-12-31 12:46 ` [U-Boot] [PATCH v3 2/4] sun7i: Add PSCI v0.2 support Jan Kiszka
2014-12-31 12:46 ` [U-Boot] [PATCH v3 3/4] sun7i: Move psci_arch_init close to text_end Jan Kiszka
2015-01-07 19:07   ` Ian Campbell
2014-12-31 12:46 ` [U-Boot] [PATCH v3 4/4] sun7i: Implement PSCI v0.2 AFFINITY_INFO Jan Kiszka
2015-01-11  9:59 ` [U-Boot] [PATCH v3 0/4] sun7i: PSCI enhancements Ian Campbell
2015-01-11 10:30   ` Hans de Goede
2015-01-11 11:06     ` Jan Kiszka [this message]
2015-01-14  9:16       ` 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=54B25943.8080703@web.de \
    --to=jan.kiszka@web.de \
    --cc=u-boot@lists.denx.de \
    /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