-
Notifications
You must be signed in to change notification settings - Fork 321
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
[v2.7] Disable IMR context save for MTL [alternative comment wording] #8170
Conversation
Intel ACE platform has implemented runtime-idle based management of secondary cores. On these systems, z_init_cpu() must be only run when pm_state_next_get() returns PM_STATE_ACTIVE, or otherwise the kernel structs and idle thread stack get overwritten. On other SOF platforms with Zephyr support, z_init_cpu() must be always run at cpu_enable_core(). Signed-off-by: Mengdong Lin <[email protected]> Signed-off-by: Kai Vehmanen <[email protected]>
Disable IMR context save on MTL by default, as it isn't a mandatory feature for MTL. The feature implementation is kept. So users can try this feature by setting CONFIG_ADSP_IMR_CONTEXT_SAVE=y Signed-off-by: Mengdong Lin <[email protected]>
The only two MTL tests that failed in https://sof-ci.01.org/sof-pr-viewer/#/build/PR8170/build12739722 are called Same test results, failures and error messages in earlier version of this PR at https://sof-ci.01.org/sof-pr-viewer/#/build/PR8156/build12735262 so these failures are deterministic. Other PRs do not fail like this, for instance this very recent one is all green:
|
I read #7994 (two layers of indirections...) and realized this is only for the 2.7 branch and will never be submitted for main. So maybe the test failures are expected and OK. |
@marc-hb ack, so tests "test_00_08_start_paused_stream_after_d3 and test_02_09_memory_with_modules_d0_d3_state" test exactly the feature that is disabled in this PR, so the tests are expected to fail. Thus this is ok (for SOF2.7 as this feature is not used by Linux SOF driver). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test_00_08_start_paused_stream_after_d3 and test_02_09_memory_with_modules_d0_d3_state use disabled feature so fail is expected. The first commit should be cherry-pick to main branch.
Thanks all, proceeding with merge! |
We really need this for v2.7 and rc1 cut-off is planned on Friday, so let me propose an alternative comment wording for
#8156
We can merge either that PR or this, but we really need to get this forward (as we agree on the code and this is now about the comment).