[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220222150846.255307-1-clement.leger@bootlin.com>
Date: Tue, 22 Feb 2022 16:08:42 +0100
From: Clément Léger <clement.leger@...tlin.com>
To: Russell King <linux@...linux.org.uk>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Ludovic Desroches <ludovic.desroches@...rochip.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Clément Léger <clement.leger@...tlin.com>
Subject: [PATCH 0/4] ARM: at91: add support for secure suspend on sama5d2
Now that OP-TEE support for sama5d2 is more complete, add support to
execute SMC calls and to set suspend mode. This series adds new files
to be able to execute SMC calls targeting OP-TEE secure monitor and
secure suspend support uses it.
Clément Léger (4):
ARM: at91: add code to handle secure calls
ARM: at91: pm: move "atmel.pm_modes" parsing into a common file
ARM: at91: pm: add support for sama5d2 secure suspend
ARM: at91: pm: fix defines to select *_pm_init functions
arch/arm/mach-at91/Kconfig | 14 ++++++-
arch/arm/mach-at91/Makefile | 5 ++-
arch/arm/mach-at91/generic.h | 2 +-
arch/arm/mach-at91/pm.c | 31 +-------------
arch/arm/mach-at91/pm.h | 7 ++++
arch/arm/mach-at91/pm_common.c | 39 ++++++++++++++++++
arch/arm/mach-at91/pm_secure.c | 64 +++++++++++++++++++++++++++++
arch/arm/mach-at91/sam_secure.c | 46 +++++++++++++++++++++
arch/arm/mach-at91/sam_secure.h | 18 ++++++++
arch/arm/mach-at91/sama5.c | 2 +
include/linux/platform_data/atmel.h | 2 +-
11 files changed, 195 insertions(+), 35 deletions(-)
create mode 100644 arch/arm/mach-at91/pm_common.c
create mode 100644 arch/arm/mach-at91/pm_secure.c
create mode 100644 arch/arm/mach-at91/sam_secure.c
create mode 100644 arch/arm/mach-at91/sam_secure.h
--
2.34.1
Powered by blists - more mailing lists