Hello TEE POCs:

 

We came across Jens’ 2015 patch:

 

https://github.com/linaro-swg/linux/commit/b8d05a0934b2

 

What is the status of the kernel client API below? Is it slated to go upstream in the 4.16 or 4.17 kernel?

 

I ask because we have use cases that, if ported to the Generic TEE interface, may require tee_shm_alloc() and friends to be available for use cases such as  the Linux soc-specific kernel entropy manager requesting TEE side to provide PRNG data. The above patch would be a good starting point.

 

For instance, we were looking at using the following two APIs from Jens’ patch to open and close context objects. They will enable the clients to use “tee_shm_alloc”.

 

 

Cheers,

-thomas