linaro-swg / linux

Linux kernel source tree
Other
41 stars 79 forks source link

Linux OP-TEE Driver for Linux 4.14.98 and OP-TEE 3.13 #97

Open DevendraDevadiga opened 3 years ago

DevendraDevadiga commented 3 years ago

Dear Team, I am working on Android 9.0 (Pie) where Linux kernel version used is 4.14.98. Along with Android we are planning to use OPTEE 3.13. So please can you refer me the source code of Linux OP-TEE Driver for Linux version 4.14.98 and OP-TEE version 3.13? We are working on Armv8 (i.MX8MQ), so Arm-Trusted-Firmware also used (2.0). Is there any dependency is there on the ATF version for using OP-TEE 3.13?

Thanks and Regards, Devendra

jenswi-linaro commented 3 years ago

So please can you refer me the source code of Linux OP-TEE Driver for Linux version 4.14.98

You can find that in the upstream kernel. You may need to cherry-pick some patches from later kernels You'll get a list to start from with: git log --oneline --no-merges v5.13 -- drivers/tee include/linux/tee_drv.h include/uapi/linux/tee.h

and OP-TEE version 3.13?

Surely you know where to find that.

We are working on Armv8 (i.MX8MQ), so Arm-Trusted-Firmware also used (2.0). Is there any dependency is there on the ATF version for using OP-TEE 3.13?

Version 2.0 might be a bit old, but it may just work also.