Skip to content

PSCI v0.2 framework for ARMv8

Arnab Basu u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 8 patches 0 repliesNew

Patches in v1 No applies recorded yet

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

Reviews trailers per patch

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

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/8] PSCI v0.2 framework for ARMv8
Quoted 5 lines · Arnab Basu

This series of patches creates a generic PSCI v0.2 framework for ARMv8.

The first 3 patches refactor existing code so that ARMv7 PSCI, ARMv8 spin-table and ARMv8 PSCI can coexist.

Quoted 7 lines

The next 5 patches create a generic framework for PSCI v0.2 in ARMv8.

The implementation is modelled on the pre-existing PSCI v0.1 support in ARMv7.

PSCI support patches for the ARMv8 Foundation model will follow shortly.

I forgot to mention that this patch set requires the following patches:

http://patchwork.ozlabs.org/patch/381479/
http://patchwork.ozlabs.org/patch/381478/
http://patchwork.ozlabs.org/patch/381480/
http://patchwork.ozlabs.org/patch/381481/
http://patchwork.ozlabs.org/patch/381482/

Quoted 27 lines

Arnab Basu (8):
ARM: PSCI: Update psci.h for psci v0.2
ARM: PSCI: Alow arch specific DT patching ARMv8/fsl-lsch3: Refactor spin-table code
ARMv8: PSCI: Add linker section to hold PSCI code
ARMv8: PCSI: Add generic ARMv8 PSCI code
ARMv8: PSCI: Fixup the device tree for PSCI v0.2
ARMv8: PSCI: Setup ARMv8 PSCI
ARMv8: PSCI: Enable SMC

  arch/arm/config.mk                 |    2 +-
  arch/arm/cpu/armv7/virt-dt.c       |    7 +-
  arch/arm/cpu/armv8/Makefile        |    2 +
  arch/arm/cpu/armv8/cpu-dt.c        |  128 ++++++++++++++++++++++++++
  arch/arm/cpu/armv8/cpu.c           |   23 +++++
  arch/arm/cpu/armv8/fsl-lsch3/fdt.c |   46 +++------
  arch/arm/cpu/armv8/psci.S          |  177 ++++++++++++++++++++++++++++++++++++
  arch/arm/cpu/armv8/u-boot.lds      |   30 ++++++
  arch/arm/include/asm/macro.h       |    4 +
  arch/arm/include/asm/psci.h        |   42 ++++++++-
  arch/arm/include/asm/system.h      |    7 ++
  arch/arm/lib/bootm-fdt.c           |   11 ++-
  arch/arm/lib/bootm.c               |    3 +
  13 files changed, 446 insertions(+), 36 deletions(-)

create mode 100644 arch/arm/cpu/armv8/cpu-dt.c
create mode 100644 arch/arm/cpu/armv8/psci.S