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

Arnab Basu
2014-08-27T20:43:59Z

On 08/28/2014 01:59 AM, Arnab Basu wrote:
> 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.
>

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/

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