Skip to content

sun7i: PSCI enhancements

Hans de Goede u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 4 patches 0 repliesNew

Patches in v3 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

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).

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.

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

Regards,

Hans

Quoted 32 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).

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 21 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

  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(-)