adsprpc: tvm: wakeup waiting rpc calls when secure PD exits

When secure PD exits in case of SSR or another scenario, notify
all rpc threads waiting on kernel. This should allow rpc threads
to return failure to TVM clients.

Change-Id: Ie0e97d2cb0e378b9b1c1e558f8ed642710690d1f
Signed-off-by: Edgar Flores <quic_edgarf@quicinc.com>
这个提交包含在:
Edgar Flores
2023-05-20 23:44:27 -07:00
提交者 Gerrit - the friendly Code Review server
父节点 20d4dc0060
当前提交 64813776c7
修改 3 个文件,包含 12 行新增0 行删除

查看文件

@@ -670,6 +670,7 @@ void fastrpc_transport_session_init(int cid, char *subsys);
void fastrpc_transport_session_deinit(int cid);
int fastrpc_wait_for_transport_interrupt(int cid, unsigned int flags);
int fastrpc_set_tvm_remote_domain(struct fastrpc_file *fl, struct fastrpc_ioctl_init *init);
void fastrpc_restart_drivers(int cid);
static inline struct smq_invoke_buf *smq_invoke_buf_start(remote_arg64_t *pra,
uint32_t sc)