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

somehow auto suspend not work then crash in remove() #215

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

mamin506
Copy link
Contributor

Today, I encounter weird SMU failed and I saw kernel oops about NULL pointer when destroy mailbox. I'm still investigating why SMU failed.

But even SMU failed randomly, the driver should still be strong.
With this fix, if SMU failed, user is still able to remove and re-load driver and run application.
In my test, the autosuspend is not working for xdna driver any more.

I will look into this further to fully root cause it.

Signed-off-by: Min Ma <min.ma@amd.com>
@mamin506 mamin506 requested a review from maxzhen August 21, 2024 23:25
@mamin506 mamin506 merged commit 62e2cba into amd:main Aug 22, 2024
@mamin506 mamin506 deleted the fix branch August 22, 2024 00:47
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.

2 participants