Graphe des révisions

61 Révisions

Auteur SHA1 Message Date
Linux Image Build Automation
fb1fbff95a Revert "dsp-kernel: make pm relax vote when process is exiting"
This reverts commit 6dd07d6578.

Change-Id: I698b0f770e4aff4c99bfd2635d4a236023b7a5dd
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2023-08-23 16:19:38 -07:00
nishant chaubey
6dd07d6578 dsp-kernel: make pm relax vote when process is exiting
If process is exiting and pm wakelock is not released, cpu
can't go to sleep. Relax wakeup source during file_free to
allow cpu to go to sleep.

Change-Id: I1be9d6b295c123e657dac90ba7fa013cd2f42bae
Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2023-08-14 14:01:53 -07:00
nishant chaubey
e986aa6a2f msm: adsprpc: add tgid to frpc_tgid conversion debug logs
Currently we send custom tgid instead of original tgid to DSP.
It is difficult to debug issues only with DSP logs, dumps and
logcat. Add original tgid to custom tgid conversion log to help
in debug.

Change-Id: If05bae05bce69cf513cef0bd1672f78856c11ea8
Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
2023-07-31 18:06:14 -07:00
Santosh Sakore
cccaae9d74 msm: adsprpc: Return fail when hyp assign failed.
Currently the error code from hype assign failure is over writing by
fastrpc_unmap_on_dsp success and returning the false success. So added
separate variable to capture the error from fastrpc_unmap_on_dsp.

Change-Id: I6444635925416d8ef96800a02e8a1e3e550fa011
Acked-by: Ramesh Nallagopu <rnallago@qti.qualcomm.com>
Signed-off-by: Santosh Sakore <quic_ssakore@quicinc.com>
2023-07-28 19:18:01 +05:30
Ansa Ahmed
15b180fee9 msm: adsprpc: Verbose logging in case of dma attachment failures
When dma attachment fails during mmap_create, status
of HLOS memory is logged with sizes occupied by heap and
non heap buffers mapped in fl maps. The purpose of this
data is to get a snapshot of memory usage.

Change-Id: Ie913702a743a8572d9f68c9b58233d28541167b9
Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
2023-07-25 23:33:02 -07:00
DEEPAK SANNAPAREDDY
9e7b2c7220 msm: adsprpc: correct the invocation of dma_buf_begin/end_cpu_access
In case of IO Coherence disabled, to simulate
cache clean and invalidate for output buffers,
used dma_buf_end_cpu_access(DMA_TO_DEVICE)
and dma_buf_begin_cpu_access(DMA_FROM_DEVICE).

Change-Id: Id176a26cb740d168a1a28240874434c626e48d75
Signed-off-by: DEEPAK SANNAPAREDDY <quic_sdeeredd@quicinc.com>
2023-07-22 20:53:20 +05:30
Himateja Reddy
be29afe6b2 msm: adsprpc: Unique handles for different remote sub systems
Currently handles are unique only for a particular sub systems,
but they are not unique across all remote sub systems. Assign
unique handle to each session of the remote sub system.

Change-Id: I5cf0e82d87283006e719a3b24ae01a1fcb97c392
Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2023-07-19 15:46:02 -07:00
Ansa Ahmed
ac57e6d939 msm: adsprpc: Modify global variable spinlocks to avoid spinlock recursion
Spinlock in current scenario can be interrupted thus during ongoing
ISR. If callback received from dsp, attempt to acquire same lock
again will result into recursive spinlock with wait on queue to
acquire lock again. Modify spinlocks with global variable gfa to
non interruptible spinlocks in order to avoid this scenario.

Change-Id: I5ae4864370d94ae0e0e19d3d4939ada41d609234
Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
2023-07-16 22:52:19 -07:00
Himateja Reddy
c16622ebe5 msm: adsprpc: Fail set session info on subsequent calls
Currently there is no check if set session info is invoked
multiple times. Multiple calls to session info leaks memory
and process identifiers. Fail set session info on subsequent
calls.

Change-Id: I2072add44ce2a9c4c4ff544f8e568eeccc1220cf
Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
(cherry picked from commit 1a5889127e7b0ff6974e50d762708bc2ef2d3a6c)
2023-07-07 16:19:41 -07:00
Ansa Ahmed
bed0667a56 msm: adsprpc: Handle SSR error code after invoke send
Currently, on SSR notification connection reset
error is returned even if invoke send completes
successfully. So, if there is invoke call for PD
spawn, init memory gets freed after receiving the
error. Currently, if init memory is accessed on DSP,
SMMU fault occurs. If internal invoke is successfully
completed, return the connection reset error only
for non-kernel handles.

Change-Id: I2f35a22562fac14a410815df6121cb1df80982a4
Acked-by: Abhishek Singh<abhishes@qti.qualcomm.com>
Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
2023-06-28 04:43:30 -07:00
Himateja Reddy
6e70c954d5 msm: adsprpc: Support multiple sessions per process
Currently a process is limited to create only 2 sessions, by toggling
the 30th bit of tgid of the process, to create different process IDs on DSP
remote sybsystem. This approach is not scalable to create unique process
IDs to DSP, by using bits within the tgid of the process. Add support to
allow a process to create multiple sessions by choosing and sending unique
dsp process IDs on DSP remote sub system, instead of tgid of HLOS process.

Change-Id: I33f52c68453301bdbb83dfb9a10df16143098a49
Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2023-06-20 15:22:39 -07:00
Ansa Ahmed
dabc96ecf3 Expose NSP status via sys fs node
NSP device status is exposed via SOC API.
On cat to this sys fs node, NSP status will be
returned. NSP status flag renamed to maintain
backward compatibility.

Change-Id: I67ae19e51fd58e02d78a40b30563f147bef5b20e
Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
2023-06-13 07:26:25 -07:00
Himateja Reddy
ba3198ddb1 msm: adsprpc: Fail bus match when device is closing
Currently probe is failing if device is closed. Driver registration
with device might already be finished, if match is successful, even
though probe fails. Fail the bus match when device is closed, so
driver does not gets registered with device.

Change-Id: I0511c7b3a27ddd4c2cd30d4aea9f961d1f4355d9
Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2023-06-08 10:58:53 -07:00
Ansa Ahmed
7da4c92f79 Avoid waiting for pending dma invoke in spinlock
Currently, spinlock is acquired and wait state
is entered for dma_invoke to complete. This scenario
leads to watchdog bark for threads waiting to acquire
spinlock. This change is to avoid waiting for dma_invoke
completion after acquiring spinlock.

Change-Id: I9443fd8bfda77194103a871e4ad0295f79cf3034
Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
2023-06-07 23:02:18 -07:00
Ansa Ahmed
9151ca9fdd msm: adsprpc: Latency vote for lowest capacity cores
Currently, QoS core count is probed from dtsi property.
Instead, update it at run-time by counting number of
lowest capacity cores. Probe DT to check if latency
voting for only a single-core is enabled, update count then.

Change-Id: I8eaddc382a4929d28a60db8d351eb8ca9793e82e
Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
2023-06-06 21:20:07 -07:00
Santosh Sakore
9fd8a867bf msm: adsprpc: null check for context map
Add null check for context map before increamenting reference count.

Signed-off-by: Santosh Sakore <quic_ssakore@quicinc.com>
2023-06-06 18:48:01 +05:30
Santosh Sakore
e696574fb5 msm: adsprpc: block smmu unmap of buffer used in pending rpc call
A dynamic SMMU mapping created as part of an RPC call can potentially
be removed by a parallel munmap ioctl call before the RPC call is
complete, leading to SMMU faults.

Maintain a ref-count that indicates that the mapping is being used by
a pending RPC call and allow the mapping to be removed only if this
count is 0.

Change-Id: Ieb4ff6b298ff9c48953bc5b3539fdfe19a14b442
Acked-by: Santosh Sakore <ssakore@qti.qualcomm.com>
Signed-off-by: Santosh Sakore <quic_ssakore@quicinc.com>
2023-05-28 22:57:55 -07:00
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
nishant chaubey
20d4dc0060 Potential use of freed ctx in async invoke
After message is sent to DSP, async response thread
could immediately get the response and free context,
which will result in a use-after-free in invoke send.
To fix this, add local copy of ctx to trace and gmsg
logging. To fix async response and SSR race, we rely
on is_job_sent_to_remote_ss of ctx, now check valid
ctx from ctxtable to set is_job_sent_to_remote_ss.

Change-Id: I1ebbed61443beda7b5ffcbe858481a54cca96acb
Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
2023-05-23 22:34:35 -07:00
Himateja Reddy
4c5701814d msm: adsprpc: Allocate designated context bank session
Currently SMMU context banks are chosen dynamically based on
available context bank. Few use cases requires context banks to
be fixed to retain SMMU mappings even after process exits and resumes
again. Few other use cases requires to use multiple context banks of
similar remote subsystem process types. Allocate designated context
bank session with process type  matching with remote subsystem
process type.

Change-Id: Ie8ccad2fde4e2e21aaf8c6ede0ab31645cdf350c
Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2023-05-15 08:53:34 -07:00
Anirudh Raghavendra
6ab8ea49ff Fix issue in allocating multiple sessions for ADSP
Multiple sessions were being allocated from ADSP using
the shared context bank. Remove second for loop which was
not checking for the sharedcb variable.

Change-Id: Ie5831eb9454b909dfea62cffbdaf66d94b200b3b
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2023-05-04 12:03:24 -07:00
Vamsi Krishna Gattupalli
21968b8049 msm: adsprpc: enable ramdump collection for CMA persistent buffer
Ramdump collection is missing for peristent mappings. Added change
to enable ramdump collection for CMA persistent buffer

Change-Id: Ic8484c9d9f2814610de78fbafba9cdc65a75d862
Acked-by: DEEPAK SANNAPAREDDY <sdeeredd@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2023-05-04 11:48:14 +05:30
Himateja Reddy
2c1d233879 msm: adsprpc: FastRPC driver interface to get HLOS PID
Currently there is no interface request to get HLOS PID of
the device attached to FastRPC bus driver. Add new request
FASTRPC_DEV_GET_HLOS_PID, to get HLOS PID of the attached
device.

Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2023-05-03 11:44:06 -07:00
Vamsi Krishna Gattupalli
d0ad5cc2d5 msm: adsprpc: fix remote argument array size
The remote argument array size is more than the utilized.
Add fix to have proper array size to accommodate the
arguments for remote invocation.

Change-Id: Id0b290eebae850765f24e22918166d7e9d8827c4
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2023-05-01 00:20:18 -07:00
Santosh Sakore
ccb5fba99d msm:adsprpc:add error log in fastrpc init create dynamic process
When DSP process successfully spawned on the ADSP ,
the APPS side init memory is getting unmapped due to an error in driver,
by the time error printing in user space logs the SMMU fault is happening in ADSP.
So add the error log in fastrpc_init_create_dynamic_process.

Acked-by: Ramesh Nallagopu <rnallago@qti.qualcomm.com>
Change-Id: I6df8000e9e34fa0916947528a52793b164ab3acb
Signed-off-by: Santosh Sakore <quic_ssakore@quicinc.com>
2023-04-26 18:03:53 +05:30
Vamsi Krishna Gattupalli
264671ac79 msm: adsprpc: Share initial debug config to DSP
This change enables sharing of a new page to DSP.
New page will contain inital debug parameters which we
need to pass to the DSP during the process initiation.

Change-Id: I8ae12cb364811a97eca3f15e70106b36bcec3f54
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2023-04-19 14:08:04 -07:00
Santosh Sakore
a2f9f978b1 msm: adsprpc: Handle UAF in fastrpc_buf_free
Thread T1 add buffer to fl->cached_bufs and release fl->hlock and holding
buffer reference. Now thread T2 will aquire fl->hlock and free buffer in
fastrpc_cached_buf_list_free(). T1 will dereference the freed buffer.
Moving reference buffer uses for T1 inside fl->hlock to avoid UAF.

Change-Id: I5f08d5497099133f87d55f5879cfe50c2ba23ae6
Signed-off-by: Santosh Sakore <quic_ssakore@quicinc.com>
2023-04-11 09:03:05 -07:00
Vamsi Krishna Gattupalli
27d9053c28 msm: adsprpc: To avoid null pointer dereference
To log error for fastrpc_mmap_remove_ssr and
compat_fastrpc_get_dsp_info for avoiding null pointer
dereferences leading to kw issues.

Change-Id: I515485d891331e0740722a0de1291353db645b66
Acked-by: Ansa Ahmed <ansa@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2023-04-10 20:13:10 -07:00
Himateja Reddy
5f713c22a4 msm: adsprpc: Fix race in async context response
Currently async job is first added to pending context list and later
job is send to remote sub system. After the job is added to pending
context list, if any SSR happens, all the async pending job contexts are
responded and freed in async response thread. Original thread that added
job to pending context list might not have sent the job, as there is SSR and can
free the context again in same thread. Queue response in SSR only when
the job is sent to remote sub system.

Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
Change-Id: I1f880316f327a8345433d5d22b619ef0a50d7240
2023-04-10 09:25:34 -07:00
Edgar Flores
1c15545211 msm: adsprpc: stub out buffer ownership for TVM
In TVM buffers might be lend from PVM and ownership might
be shared between TVM and PVM. This might lead to some issues
in TVM.

Change-Id: I9c2ea67c1c4664512881a301cf57ab5e204f6a65
Signed-off-by: Edgar Flores <quic_edgarf@quicinc.com>
2023-04-07 10:27:26 -07:00
Santosh Sakore
c0787f2846 Synchronize exit process and bus driver invoke
In current code fastrpc_file_free and bus driver invoke call are in
parallel, we would see corruption as both try to access fastrpc_mmap
list. To resolve this issue added signaling mechanism between
fastrpc_file_free and bus driver invoke call. If bus driver invoke
call is running in parallel with fastrpc_file_free, it would wait
until the invoke call is completed. Also added locks in bus driver API
to protect fastrpc_mmap's.
To improve code readablity created separate API for bus driver map
and unmap.

Change-Id: I5fd6f331febdecb319b168b36590a73e4532038a
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2023-04-05 15:08:22 +05:30
Vamsi Krishna Gattupalli
e92ce41f5a msm: adsprpc: adding proper null check.
after allocation of a buffer, verify if null is returned.
if null check is success then bailout.

Change-Id: Idbc94c6cf109d34340b55b25f8df74afd5975d36
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
Acked-by: ANANDU E <anane@qti.qualcomm.com>
2023-04-04 22:19:22 -07:00
Vamsi Krishna Gattupalli
c5866e97d6 msm: adsprpc: Print map and buf flags in debugfs
Current map and buf flags are not being printed in the debugfs data
of process. Print map and buf flags.

Change-Id: I621e7ca08de45f189d5b49046b3c37cfef968d54
Acked-by: DEEPAK SANNAPAREDDY <sdeeredd@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2023-03-23 22:05:05 +05:30
nishant chaubey
4d19368b34 msm: adsprpc: no debug info if ioctl wait for pdup
If pd is down, new device ioctls wait for pdup before
copying ioctl params and saving ctx information.
Shift logic to check pdup from device_ioctl to after
context creation and before invoke send to allow
current ioctl information to be store in pending ctx.

Change-Id: Ia9747394020fd35b02f4074a82edecace72f87db
Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
2023-03-16 20:34:00 -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
b6137ddc63 Stub out CMA alloc when running TVM
CMA alloc will not work on TVM. Stubbing out fastrpc_alloc_cma_memory
in fastrpc_init to prevent errors during loading.

Change-Id: I5774f1f0333da86582b9aca8b9cdeae725eaf64f
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2023-03-13 19:17:51 -07:00
Himateja Reddy
ee50316af5 msm: adsprpc: Use upstream API qcom_scm_assign_mem
Currently hyp_assign_phys is being used to assign mmeory to remote
subsystems. hyp_assign_phys is not upstream friendly. Use qcom_scm_assign_mem
in place of hyp_assign_phys to deprecate downstream API.

Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
Change-Id: Ic4aed6570598a96e6401777836bd390ede877ff2
2023-03-08 13:18:49 -08:00
Vamsi Krishna Gattupalli
7d90dc2702 msm: ADSPRPC: Add subsystem states for restart, up and down
Current subsystem state flag cannot define all state of the subsystem.
Different handling might be needed for different subsystem states.
Add multiple subsystem state support.

Change-Id: Id091dfded583c8cd7e95c0d306de6dd34b03485d
Acked-by: Santosh Sakore <ssakore@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2023-02-27 21:54:04 -08:00
nishant chaubey
f093a3613d msm: ADSPRPC: Handle potential leak information
Memset the entire header buffer to fix potential
leak information for Cached buffers.

Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
2023-02-26 20:42:21 -08:00
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
4024c08023 msm: adsprpc: cleanup ADSP rh memory during hibernation
During hibernation suspend, we pass null fl, allow
ADSP remoteheap memory cleanup in this case.

Change-Id: I42b80ded3955f9d5200cb77114a476a69f5353d5
Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
2023-02-17 17:13:42 +05:30
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
0821b24a81 msm:ADSPRPC: adding spin_unlock when bailing.
spin_lock should be released before bailing.

Change-Id: I3ac6043221272fa1dda2f36f4add810df41a17f3
Acked-by: ANANDU E <anane@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2023-02-08 00:01:47 -08:00
Himateja Reddy
6554e75e39 msm: ADSPRPC: Prevent mapping refcount for persistent mapping from going bad
Mapping refcount goes to negative value when internal invoke fails. This
prevents in hyp assigning the memory back to dsp.

Change-Id: I3b0f4a80e8fd1cde43e5b6fe94030258eb01ead1
Acked-by: Abhinav Parihar <parihar@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2023-02-06 10:57:50 -08:00
Vamsi Krishna Gattupalli
bfd12fbf25 msm: adsprpc: To avoid null pointer dereference
To log error for fastrpc_mmap_remove_ssr and
compat_fastrpc_get_dsp_info for avoiding null pointer
dereferences leading to kw issues.

Change-Id: I0f759ce5d9c3100a5cff3e61ad1499f6eb1b55dd
Signed-off-by: Ansa Ahmed <ansaahme@qti.qualcomm.com>
2023-01-31 23:44:36 -08:00
Anirudh Raghavendra
9f5f25be96 Add support for LE compilation
Add .am files for LE build compilation. These files will replace
Makefile and Kbuild files only on LE builds.

Change-Id: Ib8dfa89523adf802acce57be0d2064f790bac6d2
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2023-01-26 23:23:19 -08:00
Himateja Reddy
6b8c6087fe msm: adsprpc: Add IOMMU_CACHE flag for iommy_map_sg
Currently memory shared to QRTR is not mapped with IOMMU_CACHE
flag. When using iommu_map_sg, IOMMU_CACHE flag makes the memory
coherent. Add IOMMU_CACHE flag to iommu_mag_sg to make memory
shared to QRTR coherent on APPS. Also remove DMA_ATTR_NO_KERNEL_MAPPING
attribute while allocating memory as it doesn't have significance when
the memory is coherent.

Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2023-01-24 08:59:06 -08:00
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
jianzhou
45d0db4477 dsp: remove private iommu/dma header
iommu/dma header was made to be private, need to remove it.

Change-Id: I16472ecb8af26699e1fe5a5316c44c4df9069dab
Signed-off-by: Maria Yu <quic_aiquny@quicinc.com>
2022-12-14 21:57:21 -08:00
Vamsi Krishna Gattupalli
b98c08f019 msm:ADSPRPC: configure signed userpd initial memory length
Currently the init memeory size allocated for user PD is fixed.
This may not be sufficent for some usecases. This change will
allow configuring initial memory size allocated for signed user PD.

Change-Id: I2b12cf98c96b1e11daaad7e1bbf1d3777f43c1b6
Acked-by: ANANDU E <anane@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2022-12-06 21:55:03 -08:00