From: "Clément Léger" <clement.leger@bootlin.com>
To: Russell King <linux@armlinux.org.uk>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Clément Léger" <clement.leger@bootlin.com>
Subject: [PATCH 0/4] ARM: at91: add support for secure suspend on sama5d2
Date: Tue, 22 Feb 2022 16:08:42 +0100 [thread overview]
Message-ID: <20220222150846.255307-1-clement.leger@bootlin.com> (raw)
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
next reply other threads:[~2022-02-22 15:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-22 15:08 Clément Léger [this message]
2022-02-22 15:08 ` [PATCH 1/4] ARM: at91: add code to handle secure calls Clément Léger
2022-02-22 15:08 ` [PATCH 2/4] ARM: at91: pm: move "atmel.pm_modes" parsing into a common file Clément Léger
2022-02-22 23:41 ` kernel test robot
2022-02-22 15:08 ` [PATCH 3/4] ARM: at91: pm: add support for sama5d2 secure suspend Clément Léger
2022-02-23 5:50 ` kernel test robot
2022-02-23 9:15 ` kernel test robot
2022-02-23 9:30 ` Clément Léger
2022-02-22 15:08 ` [PATCH 4/4] ARM: at91: pm: fix defines to select *_pm_init functions Clément Léger
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=20220222150846.255307-1-clement.leger@bootlin.com \
--to=clement.leger@bootlin.com \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=ludovic.desroches@microchip.com \
--cc=nicolas.ferre@microchip.com \
--cc=thomas.petazzoni@bootlin.com \
/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