-
Notifications
You must be signed in to change notification settings - Fork 366
[DNM] vregions phase II: Actually use the lifetime allocations and make the memory division between lifetime and interim dynamic #10783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
jsarha
wants to merge
11
commits into
thesofproject:main
Choose a base branch
from
jsarha:veregions_phase_2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ea4b55f
module-adapter: Move pipeline_comp_dp_task_init() after mod struct inits
f5e6b19
module-adapter: module_adapter_dp_heap_new() remove heap_size parameter
f25463b
module-adapter: Size DP heap from IPC ext init data
386b649
pipeline: Use dp_data stack size for DP task
2f0fb33
module: Kconfig: add SOF_USERSPACE_DP_DEFAULT_HEAP_SIZE stub
20ab095
posix: add Zephyr logging and util stubs for testbench build
1a833a2
pipeline: allocate shared vregion for LL modules
761f05e
pipeline: add alloc context object to pipeline
b491c43
audio: src: move filter and delay line allocation to init phase
ecdb17a
audio: src: preserve filter setup across reset cycles
8360eaa
audio: src: validate stream parameters at prepare time
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
| /* | ||
| * Copyright(c) 2026 Intel Corporation. All rights reserved. | ||
| * | ||
| * Stub for <zephyr/logging/log.h> used by testbench / posix builds. | ||
| */ | ||
|
|
||
| #ifndef __POSIX_ZEPHYR_LOGGING_LOG_H__ | ||
| #define __POSIX_ZEPHYR_LOGGING_LOG_H__ | ||
|
|
||
| #include <stdio.h> | ||
|
|
||
| #ifndef LOG_ERR | ||
| #define LOG_ERR(fmt, ...) fprintf(stderr, "ERR: " fmt "\n", ##__VA_ARGS__) | ||
| #endif | ||
| #ifndef LOG_WRN | ||
| #define LOG_WRN(fmt, ...) fprintf(stderr, "WRN: " fmt "\n", ##__VA_ARGS__) | ||
| #endif | ||
| #ifndef LOG_INF | ||
| #define LOG_INF(fmt, ...) printf("INF: " fmt "\n", ##__VA_ARGS__) | ||
| #endif | ||
| #ifndef LOG_DBG | ||
| #define LOG_DBG(fmt, ...) do { } while (0) | ||
| #endif | ||
|
|
||
| #ifndef LOG_MODULE_REGISTER | ||
| #define LOG_MODULE_REGISTER(ctx, level) | ||
| #endif | ||
| #ifndef LOG_MODULE_DECLARE | ||
| #define LOG_MODULE_DECLARE(ctx, level) | ||
| #endif | ||
|
|
||
| #endif /* __POSIX_ZEPHYR_LOGGING_LOG_H__ */ |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
| /* | ||
| * Copyright(c) 2026 Intel Corporation. All rights reserved. | ||
| * | ||
| * Stub for <zephyr/sys/util.h> used by testbench / posix builds. | ||
| */ | ||
|
|
||
| #ifndef __POSIX_ZEPHYR_SYS_UTIL_H__ | ||
| #define __POSIX_ZEPHYR_SYS_UTIL_H__ | ||
|
|
||
| #include <stddef.h> | ||
|
|
||
| #ifndef KB | ||
| #define KB(x) (((size_t)(x)) << 10) | ||
| #endif | ||
|
|
||
| #ifndef MB | ||
| #define MB(x) (KB(x) << 10) | ||
| #endif | ||
|
|
||
| #endif /* __POSIX_ZEPHYR_SYS_UTIL_H__ */ |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.