[PATCH v4 0/4] Use ARM SMC Calling Convention when OP-TEE is available

From: Andrew F. Davis
Date: Thu Jan 02 2020 - 16:19:50 EST


Hello all,

This is the reworked patch turned into a series to allow upstream kernels
to make use of OP-TEE on the OMAP2+ platform.

Thanks,
Andrew

Changes from v1:
- Split into logical patches
- Check for OP-TEE in DT only once
- Check the OP-TEE node is "okay"

Changes from v2:
- Add HS patch using 'optee_available'

Changes from v3:
- Add comments as suggested by Tony and Lokesh

Andrew F. Davis (4):
ARM: OMAP2+: Add omap_secure_init callback hook for secure
initialization
ARM: OMAP2+: Introduce check for OP-TEE in omap_secure_init()
ARM: OMAP2+: Use ARM SMC Calling Convention when OP-TEE is available
ARM: OMAP2+: sleep43xx: Call secure suspend/resume handlers

arch/arm/mach-omap2/common.h | 2 +-
arch/arm/mach-omap2/io.c | 11 +++++++
arch/arm/mach-omap2/omap-secure.c | 50 +++++++++++++++++++++++++++++++
arch/arm/mach-omap2/omap-secure.h | 10 +++++++
arch/arm/mach-omap2/omap-smc.S | 6 ++--
arch/arm/mach-omap2/pm33xx-core.c | 24 +++++++++++++++
6 files changed, 99 insertions(+), 4 deletions(-)

--
2.17.1