Skip to content
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

mcux: fix hang when cpu3 reset #452

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GaofengZhangNXP
Copy link

@GaofengZhangNXP GaofengZhangNXP commented Oct 15, 2024

Destroy cpu1 and cpu3 imu task but not set flag when cpu3 reset.
because flag is not set, so zephyr task list is loop when create
cpu1 and cpu3 task again, and will hang when pick next task

Don't reset imu_task_flag when destroying imu task when deinit imu

@MaochenWang1
Copy link
Contributor

Hi @danieldegrasse @dleach02 @decsny please review

@GaofengZhangNXP GaofengZhangNXP changed the title mcux: Board goes to bad state while performing reset mcux: fix hang when cpu3 reset Oct 16, 2024
Destroy cpu1 and cpu3 imu task but not set flag when cpu3 reset.
because flag is not set, so zephyr task list is loop when create
cpu1 and cpu3 task again, and will hang when pick next task

Don't reset imu_task_flag when destroying imu task when deinit imu

Signed-off-by: Gaofeng Zhang <gaofeng.zhang@nxp.com>
@dleach02
Copy link
Member

Each HAL PR needs a matching Zephyr manifest PR.

@GaofengZhangNXP
Copy link
Author

Each HAL PR needs a matching Zephyr manifest PR.

please check the PR
zephyrproject-rtos/zephyr#80188

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.

3 participants