mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: Add PSCI support
Date: Tue,  7 Feb 2017 09:43:23 +0100	[thread overview]
Message-ID: <20170207084327.7691-1-s.hauer@pengutronix.de> (raw)

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

             reply	other threads:[~2017-02-07  8:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07  8:43 Sascha Hauer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170207084327.7691-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox