Commit Graph

7 Commits

Author SHA1 Message Date
nishant chaubey
c31f7a037d msm: adsprpc: add variable to store interrupted ts
Currently no debug information of when ctx interrupted,
restored. This make ioctl hang/high invoke time issues
hard to debug. Add variables to store interrupted, restore
timestamp in pending ctx and gmsg_log.

Change-Id: I32226e96c54acb5878f2b8d37110bae7f65d49f3
Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
2023-02-25 04:26:28 -08:00
nishant chaubey
4fef948448 msm: adsprpc: add ioctl control for thread exit
Add ioctl control support to exit notif and async
threads.

Change-Id: Ifc7212fd84bdba46724252e00e1d479865cefc64
Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
2023-02-13 11:08:46 +05:30
Vamsi Krishna Gattupalli
e1f8f88b4b msm: ADSPRPC: Use PD type enums instead of magic numbers
Currently PD type is getting updated with some magic numbers. Add
enum with different PD type information and use these types instead
of magic numbers for better code readability.

Change-Id: I20eb03726cabfcc88589be215c3c967b608a9cdb
Acked-by: Ekansh Gupta <ekangupt@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2023-01-23 10:42:43 +05:30
Himateja Reddy
38ca55b8e5 msm: adsprpc: Share CP secure context banks
Currently CPZ secure context banks are not shared on CDSP. Share
CP secure context banks among applications that use secure memory,
so that many CPZ applications can be spawned and offloaded to DSP.

Change-Id: I77d95bab86ef527e41c9fe79058742615f4adb0e
Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2022-11-18 13:51:26 -08:00
Anirudh Raghavendra
f8b3c01858 Add snapshot from Kailua
Added snapshot of fastrpc code on Kailua to Lanai component.

Change-Id: I50bd699ef1c502116368c383ed9dc28f675d393c
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2022-11-08 13:48:12 -08:00
Anirudh Raghavendra
3a10a6b261 Resolve compilation errors in adsprpc
Number of parameters in print statement was less than number of
format specifiers. This was causing an error with the new kernel
compiler.

Change-Id: Iad4ed0ad373559ecd64e8d9bfb1da37532f443c9
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2022-11-02 14:59:50 -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