userspace: ll: prepare to enable LLEXT#10809
Open
lyakh wants to merge 9 commits into
Open
Conversation
With LLEXT every loaded module will add several partitions to the userspace LL domain, which can easily results in dozens of such partitions needed for sufficiently advanced topologies. Increase it to at least 32 for now. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Add a parameter to explicitly provide module interface operations to module_adapter_new_ext(). This will be needed when loading modules using LLEXT in a system call. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
ATM mod_balloc() doesn't work in userspace, use mod_alloc() instead to route allocations to vregions. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Trace context isn't used under Zephyr, keep it only for non-Zephyr builds. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Remove a wrong function name from a log entry. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
handler-kernel.c doesn't contain any testing-relevant code, remove unneeded headers. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Move variable declarations above the first goto to avoid uninitialized variables. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Userspace LL is currently incompatible with cold store execution debugging, force disable it. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
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>
kv2019i
approved these changes
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A set of simple patches from the "userspace LL LLEXT" patch set, that can be applied now