Commit Graph

4 Commits

Author SHA1 Message Date
Edgar Flores
64813776c7 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>
2023-05-25 13:29:06 -07:00
Edgar Flores
ed0b528087 adsprpc: Enable fastrpc trusted driver
Fixes to fastrpc trusted driver to run on TVM.
Added a workqueue for receiving kernel packets.
Changed array allocation of kernel sockets to save space.
Original design was allocating static 2-d array glist_session_ctrl
for all possible subsystems and domains.
New implementation is allocating staic 2-d reference array.
Each entry in the array will only be allocated if remote domain
is supported.

Change-Id: I303375822714aa6f8eadf525b09326aa05714fd7
Signed-off-by: Edgar Flores <quic_edgarf@quicinc.com>
2023-03-16 14:14:25 -07:00
Anirudh Raghavendra
cabe8eabfb Add trace header file to kernel component
Moved trace header file from kernel branch to fastrpc kernel
component

Change-Id: I3c1dafe9daec89f1164e64606748cb47483e1670
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2022-09-22 15:07:51 -07:00
Anirudh Raghavendra
b0ee7bc076 adsprpc: Add initial src files to new target
Add fastrpc driver files to vendor branch

Change-Id: I852eee93cf6c0b2bc0833f9635f73b890de930da
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2022-08-12 17:41:38 -07:00