Skip to content

Conversation

@softwarecki
Copy link
Collaborator

No description provided.

@softwarecki softwarecki force-pushed the test branch 4 times, most recently from e1c5ed0 to 86aa37d Compare September 12, 2024 13:47
@softwarecki softwarecki force-pushed the test branch 2 times, most recently from 8285bc6 to fe950bf Compare September 4, 2025 16:56
softwarecki and others added 17 commits November 5, 2025 18:08
Rename the parameter `bytes` to `size` in the documentation
of the `mod_alloc_ext` function in `generic.h` to match the
actual parameter name in the function definition.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Introduce a configuration option to control heap sharing between userspace
module instances. When enabled, instances of the same module type share
a private heap allocated for the module driver. When disabled, each
instance maintains its own independent heap.

Rename DRV_HEAP_SIZE to more meaningful name USER_MOD_HEAP_SIZE.

This allows fine-grained control over memory isolation and resource sharing
in userspace modules.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
…truct

Replace multiple arguments passed to system_agent_start and
native_system_agent_start with a single pointer to system_agent_params.
This improves readability and simplifies function signature.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Introduce initial support for userspace proxy logic. This includes
configuring the module's memory domain to ensure proper access rights and
creating intermediary functions that forward calls to the module's
interface.

Signed-off-by: Jaroslaw Stelter <Jaroslaw.Stelter@intel.com>
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Extend the module_adapter_new_ext function with an additional user_ctx
parameter. This enables the caller to explicitly set the userspace context
field within the processing module structure during module adapter
initialization.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Introduce support for loading userspace modules. Allow the DP thread to
process audio data in userspace.

Signed-off-by: Jaroslaw Stelter <Jaroslaw.Stelter@intel.com>
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Add helper functions user_add_memory and user_remove_memory that allows to
add/remove memory regions from the memory domain. The purpose of these
functions is to round addresses appropriately for the memory domain.

Signed-off-by: Jaroslaw Stelter <Jaroslaw.Stelter@intel.com>
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
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.

2 participants