Skip to content

sun7i: PSCI enhancements

Jan Kiszka u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/20 of 4 patches 0 repliesNew
  2. v3 posting 1/24 patches 0 repliesSuperseded
  3. v2 posting 2/20 of 5 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v2 posting 1/25 patches0 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/4] sun7i: PSCI enhancements
Quoted 8 lines · Hans de Goede

Hi,

Quoted 1 line · Ian Campbell

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.

Quoted 4 lines

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?

Quoted 12 lines

But ultimately I defer to Ian here, so Ian whatever you say goes :)

Regards,

Hans

Quoted 3 lines

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

Quoted 20 lines
Quoted 20 lines

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.

Quoted 14 lines · Jan Kiszka

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

Quoted 10 lines
Quoted 10 lines
Quoted 8 lines
  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>