linaro-swg / linux

Linux kernel source tree
Other
41 stars 79 forks source link

[RFC] SCMI PTA with OCALL #90

Closed etienne-lms closed 1 year ago

etienne-lms commented 3 years ago

Relates to https://github.com/OP-TEE/optee_os/pull/4535.

These changes build on top of OCALL implementation from @HernanGatta in https://github.com/linaro-swg/linux/pull/72.

These changes implement an SCMI transport using an identified SCMI PTA exposed by OP-TEE. The 2 first commits implement an SCMI transport driver standard service, interfacing SCMI PTA from https://github.com/OP-TEE/optee_os/pull/4533. Last commit leverage OCALL support to provision a secure thread per SCMI communication channel, using SCMI PTA Ocall support from https://github.com/OP-TEE/optee_os/pull/4535.

Linux/OP-TEE calls flow in shown in this comment.

etienne-lms commented 1 year ago

Time to close this P-R. Another way to provision TEE thread is proposed in https://github.com/OP-TEE/optee_os/pull/5789.