Skip to content

ARM: at91: add support for secure suspend on sama5d2

Clément Léger linux-arm-kernel lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 2 repliesSuperseded
  3. v14 patches 1 replySuperseded

Changes in v3 from the cover letter

- Move warning for standby in sama5d2_pm_init()
- Remove missleading message in ATMEL_SECURE_PM help

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: at91: add code to handle secure callsarch/arm/mach-at91/Makefile arch/arm/mach-at91/sam_secure.c arch/arm/mach-at91/sam_secure.h +1 more+63 -10 replies
2/2ARM: at91: pm: add support for sama5d2 secure suspendarch/arm/mach-at91/Kconfig arch/arm/mach-at91/pm.c arch/arm/mach-at91/sam_secure.h+50 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] 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. Then secure suspend support is added and uses these new functions.

---
Changes in v3:
- Move warning for standby in sama5d2_pm_init()
- Remove missleading message in ATMEL_SECURE_PM help

Changes in v2:
- Add suspend mode SMC in already existing secure support

Clément Léger (2):
ARM: at91: add code to handle secure calls
ARM: at91: pm: add support for sama5d2 secure suspend

 arch/arm/mach-at91/Kconfig      | 11 +++++++-
 arch/arm/mach-at91/Makefile     |  2 +-
 arch/arm/mach-at91/pm.c         | 36 ++++++++++++++++++++++++++
 arch/arm/mach-at91/sam_secure.c | 46 +++++++++++++++++++++++++++++++++
 arch/arm/mach-at91/sam_secure.h | 18 +++++++++++++
 arch/arm/mach-at91/sama5.c      |  2 ++
 6 files changed, 113 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/mach-at91/sam_secure.c
 create mode 100644 arch/arm/mach-at91/sam_secure.h
Signature · 1 line
2.34.1