1 .. SPDX-License-Identifier: GPL-2.0 2 3 ================================= 4 TS-TEE (Trusted Services project) 5 ================================= 6 7 This driver provides access to secure services 8 9 Trusted Services [1] is a TrustedFirmware.org 10 for developing and deploying device Root of Tr 11 Secure Partitions. The project hosts the refer 12 Platform Security Architecture [3] for Arm A-p 13 14 The FF-A Secure Partitions (SP) are accessible 15 provides the low level communication for this 16 Services RPC protocol is used [5]. To use the 17 implementation is provided at [6], which is pa 18 library called libts [7]. 19 20 All Trusted Services (TS) SPs have the same FF 21 protocol. A TS SP can host one or more service 22 A service is identified by its service UUID; t 23 present twice in the same SP. During SP boot e 24 an "interface ID". This is just a short ID to 25 26 The generic TEE design is to share memory at o 27 then be reused to communicate with multiple ap 28 OS. However, in case of FF-A, memory sharing w 29 memory is shared with a specific SP. User spac 30 share memory with each SP based on its endpoin 31 device is registered for each discovered TS SP 32 opening the TEE device and creating a TEE cont 33 services. Opening a service corresponds to ope 34 tee_context. 35 36 Overview of a system with Trusted Services com 37 38 User space Kernel space 39 ~~~~~~~~~~ ~~~~~~~~~~~~ 40 +--------+ 41 | Client | 42 +--------+ 43 /\ 44 || 45 || 46 || 47 \/ 48 +-------+ +----------+------ 49 | libts | | TEE | TS-TE 50 | | | subsys | drive 51 +-------+----------------+----+-----+------ 52 | Generic TEE API | | FF-A 53 | IOCTL (TEE_IOC_*) | | drive 54 +-----------------------------+ +------ 55 56 References 57 ========== 58 59 [1] https://www.trustedfirmware.org/projects/t 60 61 [2] https://developer.arm.com/documentation/de 62 63 [3] https://www.arm.com/architecture/security- 64 65 [4] drivers/firmware/arm_ffa/ 66 67 [5] https://trusted-services.readthedocs.io/en 68 69 [6] https://git.trustedfirmware.org/TS/trusted 70 71 [7] https://git.trustedfirmware.org/TS/trusted
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.