
Change consists creation of ADCI thread at SMCInvoke driver initialization Change consists creation of ADCI thread at SMCInvoke driver initialization Following scenario have been tested for this change (1) ADCI thread creation and QTEE invocation during driver initialization (2) Backward Compatibility - IF ADCI feature is not supported (OBJECT_ERROR_INVALID) then exit the ADCI thread gracefully after cleaning up all the resources (3) Leak Test: All the resources held by ADCI thread should be released if ADCI feature is not supported by QTEE (i) adci task_struct state and exit state: state = TASK_RUNNING , exit_state = 0 (While ADCI thread execution) state = TASK_DEAD , exit_state = EXIT_DEAD (During ADCI thread termination) (ii) adci task_struct = NULL (fetched based on adci thread_id) which make sure task_struct has been deallocated (4) SMCInvoke related Test: All the internal(suuported),memobj and cbo testing has been performed. Change-Id: I2916ce260fae293b88fbc8b9d24baccdee1ea89f Signed-off-by: Pawan Rai <quic_pawarai@quicinc.com>
6.0 KiB
6.0 KiB