mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Add PSCI support
@ 2017-02-07  8:43 Sascha Hauer
  2017-02-07  8:43 ` [PATCH 1/4] ARM: Add UNWIND macro Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Sascha Hauer @ 2017-02-07  8:43 UTC (permalink / raw)
  To: Barebox List

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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-02-13 18:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-07  8:43 Add PSCI support Sascha Hauer
2017-02-07  8:43 ` [PATCH 1/4] ARM: Add UNWIND macro Sascha Hauer
2017-02-07  8:43 ` [PATCH 2/4] ARM: Add smc call support Sascha Hauer
2017-02-07  8:43 ` [PATCH 3/4] ARM: Add PSCI support Sascha Hauer
2017-02-07  8:43 ` [PATCH 4/4] ARM: i.MX7: " Sascha Hauer
2017-02-09 19:13   ` Andrey Smirnov
2017-02-13  7:45     ` Sascha Hauer
2017-02-13 18:38       ` Andrey Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox