Search code examples
armschedulertrustzoneop-tee

How does Linaro schedule OPTEE?


I want to know which part of the code is the scheduler of project OPTEEhttps://github.com/OP-TEE.

More specifically, the code decides that on which CPU secure world and normal word processes are running for multicore architecture.

Any advice is genuinely appreciated.


Solution

  • I'm one of the Linaro developers working directly with OP-TEE and OP-TEE as such has no scheduler, instead it's being entirely scheduled by Linux kernel. It's not tied to a single core either, after being in Linux kernel and you're about to re-enter secure world it could be any of the cores where you continue running your ongoing job. So in short, there is no scheduler in OP-TEE.