tee: tstee: Add Trusted Services TEE driverThe Trusted Services project provides a framework for developing anddeploying device Root of Trust services in FF-A Secure Partitions. TheFF-A SPs are a
tee: tstee: Add Trusted Services TEE driverThe Trusted Services project provides a framework for developing anddeploying device Root of Trust services in FF-A Secure Partitions. TheFF-A SPs are accessible through the FF-A driver, but this doesn'tprovide a user space interface. The goal of this TEE driver is to makeTrusted Services SPs accessible for user space clients.All TS SPs have the same FF-A UUID, it identifies the RPC protocol usedby TS. A TS SP can host one or more services, a service is identified byits service UUID. The same type of service cannot be present twice inthe same SP. During SP boot each service in an SP is assigned aninterface ID, this is just a short ID to simplify message addressing.There is 1:1 mapping between TS SPs and TEE devices, i.e. a separate TEEdevice is registered for each TS SP. This is required since contrary tothe generic TEE design where memory is shared with the whole TEEimplementation, in case of FF-A, memory is shared with a specific SP. Auser space client has to be able to separately share memory with each SPbased on its endpoint ID.Acked-by: Sumit Garg <sumit.garg@linaro.org>Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...