Add PSCI support
Sascha Hauer
s.hauer at pengutronix.de
Tue Feb 7 00:43:23 PST 2017
This series implements the ARM "Power State Coordination Interface"
(PSCI). This is needed to enable SMP on some SoCs like the i.MX7 with
a mainline Kernel. Currently only the bare minimum is supported, just
enough to enable and disable the secondary CPU.
----------------------------------------------------------------
Sascha Hauer (4):
ARM: Add UNWIND macro
ARM: Add smc call support
ARM: Add PSCI support
ARM: i.MX7: Add PSCI support
arch/arm/Kconfig | 23 +++
arch/arm/cpu/Makefile | 3 +
arch/arm/cpu/psci.c | 311 +++++++++++++++++++++++++++++++++++++++
arch/arm/cpu/sm.c | 266 +++++++++++++++++++++++++++++++++
arch/arm/cpu/sm_as.S | 168 +++++++++++++++++++++
arch/arm/cpu/smccc-call.S | 64 ++++++++
arch/arm/include/asm/arm-smccc.h | 104 +++++++++++++
arch/arm/include/asm/armlinux.h | 4 +-
arch/arm/include/asm/gic.h | 110 ++++++++++++++
arch/arm/include/asm/psci.h | 140 ++++++++++++++++++
arch/arm/include/asm/ptrace.h | 1 +
arch/arm/include/asm/secure.h | 39 +++++
arch/arm/include/asm/unwind.h | 6 +
arch/arm/lib/bootm.c | 14 +-
arch/arm/lib32/armlinux.c | 15 +-
arch/arm/lib32/barebox.lds.S | 10 ++
arch/arm/mach-imx/imx7.c | 77 ++++++++++
17 files changed, 1352 insertions(+), 3 deletions(-)
create mode 100644 arch/arm/cpu/psci.c
create mode 100644 arch/arm/cpu/sm.c
create mode 100644 arch/arm/cpu/sm_as.S
create mode 100644 arch/arm/cpu/smccc-call.S
create mode 100644 arch/arm/include/asm/arm-smccc.h
create mode 100644 arch/arm/include/asm/gic.h
create mode 100644 arch/arm/include/asm/psci.h
create mode 100644 arch/arm/include/asm/secure.h
More information about the barebox
mailing list