Skip to content

Commit e8cfe0f

Browse files
committed
userspace: Add option for executing userspace module IPC in DP thread
Add a Kconfig option SOF_USERSPACE_MOD_IPC_BY_DP_THREAD that enables processing IPC requests for a userspace module by its DP thread instead of the shared user worker thread. Set the option to default y when SOF_USERSPACE_APPLICATION is enabled, where IPC requests are already processed by the module's DP thread by default. Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
1 parent 5b0490c commit e8cfe0f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

zephyr/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,14 @@ config SOF_USERSPACE_PROXY
123123
It is responsible for forwarding module function calls coming from sof running in
124124
kernelspace to the module code executed with user privileges.
125125

126+
config SOF_USERSPACE_MOD_IPC_BY_DP_THREAD
127+
bool "Use userspace proxy to support userspace modules"
128+
depends on USERSPACE
129+
default y if SOF_USERSPACE_APPLICATION
130+
help
131+
When enabled, IPC requests targeted to a userspace module are executed
132+
in its DP thread instead of the shared user worker thread.
133+
126134
config SOF_USERSPACE_PROXY_WORKER_STACK_SIZE
127135
int "Userspace IPC worker stack size"
128136
default 4096

0 commit comments

Comments
 (0)