securemsm-kernel: Remove interruptable signal
1. When invoke thread have resumed from freezing to running or is killed, the interruption signals will always interrupt the smcinvoke callback calls. this will lead the QTEE and listener to be out of sync. 2. To fix this issue, we remove the signal interruption, this solution will prevent the smcinvoke from being out of sync. Change-Id: I8f0cd7342784564ce12e617dc4076638f365aba9 Signed-off-by: wenji <quic_wenji@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
84e37447e5
commit
20f8c5a846
@@ -1464,7 +1464,7 @@ static void process_tzcb_req(void *buf, size_t buf_len, struct file **arr_filp)
|
||||
timeout_jiff = msecs_to_jiffies(1000);
|
||||
|
||||
while (cbobj_retries < CBOBJ_MAX_RETRIES) {
|
||||
ret = wait_event_interruptible_timeout(srvr_info->rsp_wait_q,
|
||||
ret = wait_event_timeout(srvr_info->rsp_wait_q,
|
||||
(cb_txn->state == SMCINVOKE_REQ_PROCESSED) ||
|
||||
(srvr_info->state == SMCINVOKE_SERVER_STATE_DEFUNCT),
|
||||
timeout_jiff);
|
||||
|
Reference in New Issue
Block a user