diff options
| author | Etienne Carriere <[email protected]> | 2023-10-30 09:48:11 +0100 |
|---|---|---|
| committer | Jens Wiklander <[email protected]> | 2023-11-17 15:48:03 +0100 |
| commit | 45bc2c9b5b230b95cad10f44204d7b28f52b74c0 (patch) | |
| tree | 6af56a13460511b0b5f890026086ceed613d94f1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | a9214a8883ceb82df55aa90d1c49ddb85fc1e3d5 (diff) | |
tee: optee: support tracking system threads
Adds support in the OP-TEE driver to keep track of reserved system
threads. The logic allows one OP-TEE thread to be reserved to TEE system
sessions.
The optee_cq_*() functions are updated to handle this if enabled,
that is when TEE describes how many thread context it supports
and when at least 1 session has registered as a system session
(using tee_client_system_session()).
For sake of simplicity, initialization of call queue management
is factorized into new helper function optee_cq_init().
The SMC ABI part of the driver enables this tracking, but the
FF-A ABI part does not.
Co-developed-by: Jens Wiklander <[email protected]>
Co-developed-by: Sumit Garg <[email protected]>
Signed-off-by: Sumit Garg <[email protected]>
Signed-off-by: Etienne Carriere <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions