[U-Boot] [PATCH 0/8] PSCI v0.2 framework for ARMv8

Arnab Basu
2014-08-27T20:29:53Z

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.

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.

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

--
1.7.7.4