Grafik Komit

6 Melakukan

Penulis SHA1 Pesan Tanggal
rnallago
a4befa3f75 adsprpc: Add check to prevent out of bound access
Add -ve value check for index to prevent the array out of bound access.

Change-Id: I0d23e2cb258227ef76779d82ec2c8f6b9cf7f95f
Signed-off-by: rnallago <quic_rnallago@quicinc.com>
2024-03-04 18:24:29 +05:30
nishant chaubey
9e2564e979 msm: adsprpc: out of bound access for glist_session_ctrl
Check proper index before access glist_session_ctrl
to fix out of bound access.

Change-Id: Id942b0add1bcc99f0c2f8b22ce631a11685ab340
Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
2023-07-21 06:07:45 +05:30
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