Skip to content

Commit 90687ac

Browse files
lyakhkv2019i
authored andcommitted
schedule: ll: userspace: lift restrictions
Re-enable LLEXT, DRAM execution and data, the DP scheduler and boot time testing with userspace LL with a small restriction for the latter - userspace allocation failure tests aren't currently working. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent ea88d84 commit 90687ac

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

app/overlays/ptl/ll_userspace_overlay.conf

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,26 @@ CONFIG_SOF_USERSPACE_LL=y
1111
# make the drivers work in user-space
1212
CONFIG_SOF_USERSPACE_INTERFACE_DMA=y
1313
CONFIG_DAI_USERSPACE=y
14+
CONFIG_MAX_THREAD_BYTES=4
1415

1516
# Temporary settings that are needed currently to enable user-space LL
1617
# --------------------------------------------------------------------
1718

1819
# problem with DSP panics due to illegal instruction hit in user-space if cold
1920
# store execution is enabled. Disable it for now until rootcause is found.
20-
CONFIG_COLD_STORE_EXECUTE_DRAM=n
2121
CONFIG_COLD_STORE_EXECUTE_DEBUG=n
2222

2323
# telemetry not yet user-space compatible
2424
CONFIG_SOF_TELEMETRY_PERFORMANCE_MEASUREMENTS=n
2525
CONFIG_SOF_TELEMETRY_IO_PERFORMANCE_MEASUREMENTS=n
2626

27-
# disable loadable modules (hits privilege issues in user-space now)
28-
CONFIG_LLEXT_STORAGE_WRITABLE=n
29-
CONFIG_LLEXT_EXPERIMENTAL=n
30-
CONFIG_MODULES=n
31-
3227
# some of current boot tests interfere with user-space setup
3328
CONFIG_SOF_BOOT_TEST_ALLOWED=n
3429

3530
# misc features not yet compatible with user-space
3631
CONFIG_CROSS_CORE_STREAM=n
3732
CONFIG_INTEL_ADSP_MIC_PRIVACY=n
3833
CONFIG_XRUN_NOTIFICATIONS_ENABLE=n
39-
CONFIG_ZEPHYR_DP_SCHEDULER=n
4034

4135
# Extend the shared LL user-space heap to 512KiB. This
4236
# is current maximum for PTL builds with virtual heap

zephyr/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if(CONFIG_SOF_BOOT_TEST)
1111
zephyr_library_sources_ifdef(CONFIG_USERSPACE
1212
userspace/ksem.c
1313
)
14-
if(CONFIG_USERSPACE AND CONFIG_SOF_USERSPACE_INTERFACE_ALLOC)
14+
if(CONFIG_USERSPACE AND CONFIG_SOF_USERSPACE_INTERFACE_ALLOC AND NOT CONFIG_SOF_USERSPACE_LL)
1515
zephyr_library_sources(userspace/test_heap_alloc.c)
1616
endif()
1717
endif()

0 commit comments

Comments
 (0)