linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ARM SMC Calling Convention interface
@ 2015-11-11 10:04 Jens Wiklander
  2015-11-11 10:04 ` [PATCH v2 1/4] arm/arm64: add arm-smccc Jens Wiklander
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Jens Wiklander @ 2015-11-11 10:04 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

This patch set is based on the Generic TEE subsystem v6 patchset
(https://lwn.net/Articles/662495/) sent out two weeks ago. By isolating
the ARM SMC Calling Convention patches that are useful for other purposes
than to support the Generic TEE subsystem some complexity is removed from
that patch set.

This patch set adds a common interface to do an SMC or HVC following ARM
SMC Calling Convention. The interface is implemented for both the arm and
arm64 architectures and updates the PSCI driver to use this interface
instead for firmware communication.

v2:
* Added unwinding support in the assembly functions

Thanks,
Jens

Jens Wiklander (4):
  arm/arm64: add arm-smccc
  arm: add implementation for arm-smccc
  arm64: add implementation for arm-smccc
  drivers: psci: replace psci firmware calls

 arch/arm/Kconfig                |  1 +
 arch/arm/kernel/Makefile        |  3 +-
 arch/arm/kernel/psci-call.S     | 31 -------------
 arch/arm/kernel/smccc-call.S    | 50 +++++++++++++++++++++
 arch/arm/kernel/smccc.c         | 18 ++++++++
 arch/arm64/Kconfig              |  1 +
 arch/arm64/kernel/Makefile      |  3 +-
 arch/arm64/kernel/asm-offsets.c |  3 ++
 arch/arm64/kernel/psci-call.S   | 28 ------------
 arch/arm64/kernel/smccc-call.S  | 43 ++++++++++++++++++
 arch/arm64/kernel/smccc.c       | 18 ++++++++
 drivers/firmware/psci.c         | 23 +++++++++-
 include/linux/arm-smccc.h       | 98 +++++++++++++++++++++++++++++++++++++++++
 init/Kconfig                    |  3 ++
 14 files changed, 260 insertions(+), 63 deletions(-)
 delete mode 100644 arch/arm/kernel/psci-call.S
 create mode 100644 arch/arm/kernel/smccc-call.S
 create mode 100644 arch/arm/kernel/smccc.c
 delete mode 100644 arch/arm64/kernel/psci-call.S
 create mode 100644 arch/arm64/kernel/smccc-call.S
 create mode 100644 arch/arm64/kernel/smccc.c
 create mode 100644 include/linux/arm-smccc.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-23 13:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-11 10:04 [PATCH v2 0/4] ARM SMC Calling Convention interface Jens Wiklander
2015-11-11 10:04 ` [PATCH v2 1/4] arm/arm64: add arm-smccc Jens Wiklander
2015-11-11 10:04 ` [PATCH v2 2/4] arm: add implementation for arm-smccc Jens Wiklander
2015-11-12 11:10   ` Lars Persson
2015-11-11 10:04 ` [PATCH v2 3/4] arm64: " Jens Wiklander
2015-11-23 13:28   ` Will Deacon
2015-11-11 10:04 ` [PATCH v2 4/4] drivers: psci: replace psci firmware calls Jens Wiklander
2015-11-23 13:29   ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).