Skip to content

userspace: ll: prepare to enable LLEXT#10809

Open
lyakh wants to merge 9 commits into
thesofproject:mainfrom
lyakh:user
Open

userspace: ll: prepare to enable LLEXT#10809
lyakh wants to merge 9 commits into
thesofproject:mainfrom
lyakh:user

Conversation

@lyakh
Copy link
Copy Markdown
Collaborator

@lyakh lyakh commented May 26, 2026

A set of simple patches from the "userspace LL LLEXT" patch set, that can be applied now

lyakh added 9 commits May 26, 2026 12:48
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>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants