Skip to content

Commit 1158858

Browse files
committed
test: disable VMH test when userspace LL is enabled
The VMH test shouldn't be used at all when VMH is enabled and used. It uses the same memory region as the SOF VMH thereby potentially corrupting it. It just happens to work without userspace LL supposedly because then the first VMH allocation only happens after all the tests have run. With userspace LL this no longer holds, so the VMH test must be disabled. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent f4abb10 commit 1158858

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

zephyr/test/CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
if(CONFIG_SOF_BOOT_TEST)
2-
zephyr_library_sources_ifdef(CONFIG_VIRTUAL_HEAP
3-
vmh.c
4-
)
2+
if(NOT CONFIG_SOF_USERSPACE_LL)
3+
zephyr_library_sources_ifdef(CONFIG_VIRTUAL_HEAP
4+
vmh.c
5+
)
6+
endif()
7+
58
zephyr_library_sources_ifdef(CONFIG_SOF_VREGIONS
69
vpage.c vregion.c
710
)

0 commit comments

Comments
 (0)