mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Subject: [PATCH v3 0/5] OP-TEE early loading
Date: Tue, 28 Jan 2020 06:38:17 +0100	[thread overview]
Message-ID: <20200128053821.677207-1-r.czerwinski@pengutronix.de> (raw)

v3 of the OP-TEE early loading patch series.

This allows loading OP-TEE during the lowlevel board initialization,
instead of loading it before the kernel is started.

v3:
- include arm64 setjmp from U-Boot
- build setjmp unconditionally
- rename pl2x0 write test function

v2:
- fixed smaller nits by Sascha Hauer
- include the setjmp import

Rouven Czerwinski (5):
  optee: move optee_verify_header() to common
  ARM: import setjmp implementation from U-Boot
  ARM: add optee early loading function
  ARM: mach-imx: test PL310 write access
  user: add documentation for OP-TEE loading

 Documentation/user/optee.rst        | 29 ++++++++++++++++
 Documentation/user/user-manual.rst  |  1 +
 arch/arm/include/asm/setjmp.h       | 29 ++++++++++++++++
 arch/arm/lib32/Makefile             |  4 +++
 arch/arm/lib32/bootm.c              | 12 ++-----
 arch/arm/lib32/optee-early.c        | 38 ++++++++++++++++++++
 arch/arm/lib32/setjmp.S             | 36 +++++++++++++++++++
 arch/arm/lib64/Makefile             |  1 +
 arch/arm/lib64/setjmp.S             | 41 ++++++++++++++++++++++
 arch/arm/mach-imx/imx6.c            | 20 +++++++++++
 common/Kconfig                      | 54 ++++++++++++++++++-----------
 common/Makefile                     |  2 ++
 common/optee.c                      | 19 ++++++++++
 include/asm-generic/memory_layout.h |  4 +--
 include/tee/optee.h                 | 11 ++++++
 15 files changed, 269 insertions(+), 32 deletions(-)
 create mode 100644 Documentation/user/optee.rst
 create mode 100644 arch/arm/include/asm/setjmp.h
 create mode 100644 arch/arm/lib32/optee-early.c
 create mode 100644 arch/arm/lib32/setjmp.S
 create mode 100644 arch/arm/lib64/setjmp.S
 create mode 100644 common/optee.c

-- 
2.25.0


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

             reply	other threads:[~2020-01-28  5:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-28  5:38 Rouven Czerwinski [this message]
2020-01-28  5:38 ` [PATCH v3 1/5] optee: move optee_verify_header() to common Rouven Czerwinski
2020-01-28  6:19   ` Ahmad Fatoum
2020-01-28  9:23     ` Sascha Hauer
2020-01-28  5:38 ` [PATCH v3 2/5] ARM: import setjmp implementation from U-Boot Rouven Czerwinski
2020-01-28  5:38 ` [PATCH v3 3/5] ARM: add optee early loading function Rouven Czerwinski
2020-01-28  5:38 ` [PATCH v3 4/5] ARM: mach-imx: test PL310 write access Rouven Czerwinski
2020-01-28  5:38 ` [PATCH v3 5/5] user: add documentation for OP-TEE loading Rouven Czerwinski
2020-01-28  9:23 ` [PATCH v3 0/5] OP-TEE early loading Sascha Hauer

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=20200128053821.677207-1-r.czerwinski@pengutronix.de \
    --to=r.czerwinski@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