Linux Documentation
 help / color / mirror / Atom feed
* [PATCH 0/3] TEE driver for Trusted Services
@ 2024-02-13 14:52 Balint Dobszay
  2024-02-13 14:52 ` [PATCH 1/3] tee: optee: Move pool_op helper functions Balint Dobszay
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Balint Dobszay @ 2024-02-13 14:52 UTC (permalink / raw)
  To: op-tee, linux-doc, linux-kernel, linux-arm-kernel
  Cc: jens.wiklander, sumit.garg, corbet, balint.dobszay, sudeep.holla,
	gyorgy.szing

This series introduces a TEE driver for Trusted Services [1].

Trusted Services is a TrustedFirmware.org project that provides a
framework for developing and deploying device Root of Trust services in
FF-A [2] Secure Partitions. The project hosts the reference
implementation of Arm Platform Security Architecture [3] for Arm
A-profile devices.

The FF-A Secure Partitions are accessible through the FF-A driver in
Linux. However, the FF-A driver doesn't have a user space interface so
user space clients currently cannot access Trusted Services. The goal of
this TEE driver is to bridge this gap and make Trusted Services
functionality accessible from user space.

Changelog:
RFC[4] -> v1:
  - Add patch for moving pool_op helper functions to the TEE subsystem,
    as suggested by Jens
  - Address comments from Sumit, add patch for documentation

[1] https://www.trustedfirmware.org/projects/trusted-services/
[2] https://developer.arm.com/documentation/den0077/
[3] https://www.arm.com/architecture/security-features/platform-security
[4] https://lore.kernel.org/linux-arm-kernel/20230927152145.111777-1-balint.dobszay@arm.com/


Balint Dobszay (3):
  tee: optee: Move pool_op helper functions
  tee: tstee: Add Trusted Services TEE driver
  Documentation: tee: Add TS-TEE driver

 Documentation/tee/index.rst       |   1 +
 Documentation/tee/ts-tee.rst      |  70 +++++
 drivers/tee/Kconfig               |   1 +
 drivers/tee/Makefile              |   1 +
 drivers/tee/optee/core.c          |  64 ----
 drivers/tee/optee/ffa_abi.c       |   6 +-
 drivers/tee/optee/optee_private.h |  12 -
 drivers/tee/optee/smc_abi.c       |  10 +-
 drivers/tee/tee_shm.c             |  65 ++++
 drivers/tee/tstee/Kconfig         |  11 +
 drivers/tee/tstee/Makefile        |   3 +
 drivers/tee/tstee/core.c          | 501 ++++++++++++++++++++++++++++++
 drivers/tee/tstee/tstee_private.h |  92 ++++++
 include/linux/tee_drv.h           |  11 +
 include/uapi/linux/tee.h          |   1 +
 15 files changed, 765 insertions(+), 84 deletions(-)
 create mode 100644 Documentation/tee/ts-tee.rst
 create mode 100644 drivers/tee/tstee/Kconfig
 create mode 100644 drivers/tee/tstee/Makefile
 create mode 100644 drivers/tee/tstee/core.c
 create mode 100644 drivers/tee/tstee/tstee_private.h

-- 
2.34.1


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

end of thread, other threads:[~2024-02-22 16:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-13 14:52 [PATCH 0/3] TEE driver for Trusted Services Balint Dobszay
2024-02-13 14:52 ` [PATCH 1/3] tee: optee: Move pool_op helper functions Balint Dobszay
2024-02-14 13:01   ` kernel test robot
2024-02-14 13:11   ` kernel test robot
2024-02-13 14:52 ` [PATCH 2/3] tee: tstee: Add Trusted Services TEE driver Balint Dobszay
2024-02-15  8:59   ` Krzysztof Kozlowski
2024-02-15 10:32     ` Jens Wiklander
2024-02-22 16:20     ` Balint Dobszay
2024-02-15 10:00   ` Jens Wiklander
2024-02-21  9:58     ` Balint Dobszay
2024-02-13 14:52 ` [PATCH 3/3] Documentation: tee: Add TS-TEE driver Balint Dobszay
2024-02-13 21:44   ` Randy Dunlap
2024-02-14 16:56     ` Balint Dobszay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox