ptl: userspace: temporarily switch to stack pool#10632
Open
lyakh wants to merge 1 commit intothesofproject:mainfrom
Open
ptl: userspace: temporarily switch to stack pool#10632lyakh wants to merge 1 commit intothesofproject:mainfrom
lyakh wants to merge 1 commit intothesofproject:mainfrom
Conversation
This fixes sporadic CI endurance test failures. Once Zephyr merges "kernel: dynamic stack to cached area if coherence" we should be able to switch back to dynamic stack allocation. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adjusts the Panther Lake ACE30 userspace configuration to avoid sporadic CI endurance failures by switching dynamic thread stack provisioning away from runtime allocation and toward a preallocated pool.
Changes:
- Disable dynamic thread stack allocation preference and enable pool preference for dynamic threads.
- Introduce a fixed-size dynamic thread stack pool configuration.
- Reduce configured dynamic thread stack size and
CONFIG_SOF_STACK_SIZEfrom 8192 to 4096.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+73
to
+78
| CONFIG_DYNAMIC_THREAD_ALLOC=n | ||
| CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=n | ||
| CONFIG_DYNAMIC_THREAD_PREFER_POOL=y | ||
| CONFIG_DYNAMIC_THREAD_POOL_SIZE=4 | ||
| CONFIG_DYNAMIC_THREAD_STACK_SIZE=4096 | ||
| CONFIG_SOF_STACK_SIZE=4096 |
| CONFIG_DYNAMIC_THREAD_ALLOC=n | ||
| CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=n | ||
| CONFIG_DYNAMIC_THREAD_PREFER_POOL=y | ||
| CONFIG_DYNAMIC_THREAD_POOL_SIZE=4 |
lgirdwood
approved these changes
Mar 19, 2026
Member
lgirdwood
left a comment
There was a problem hiding this comment.
LGTM, but pls review/resolve copliot comments
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.
This fixes sporadic CI endurance test failures. Once Zephyr merges "kernel: dynamic stack to cached area if coherence" we should be able to switch back to dynamic stack allocation.