Skip to content

Conversation

@RanderWang
Copy link
Collaborator

Fix multicore test issue on cavs platforms which don't support context save now, so need to init cpu when the core boot up.

Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

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

Good catch @RanderWang !

zephyr/lib/cpu.c Outdated
*/
#ifdef CONFIG_ADSP_IMR_CONTEXT_SAVE
if (pm_state_next_get(id)->state == PM_STATE_ACTIVE)
#endif
Copy link
Collaborator

Choose a reason for hiding this comment

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

nitpick: would

if (IS_ENABLED(CONFIG_ADSP_IMR_CONTEXT_SAVE) && pm_state_next_get(id)->state == PM_STATE_ACTIVE)

also work?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

NP. change it.

Fix multicore test issue on cavs platforms which don't support context
save now, so need to init cpu when the core boot up.

Signed-off-by: Rander Wang <rander.wang@intel.com>
@RanderWang RanderWang force-pushed the ipc4_cavs_multicore branch from 2855c70 to e727920 Compare August 16, 2023 02:01
@aiChaoSONG
Copy link
Collaborator

SOFCI TEST

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.

7 participants