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

mmc: don't reference requests after finishing them #6418

Closed
wants to merge 1 commit into from

Conversation

P33M
Copy link
Contributor

@P33M P33M commented Oct 15, 2024

First candidate fix for #6349 - obvious bug when you think about it.

I'll make a separate combination PR for clearing all Async requests if a Sync request needs the CQE to halt.

Posted write tracking introduced in the commit below raced with re-use
of the requests between completion and submission, potentially causing
underflow of the pending write count.

Fixes: e6c1e86 ("mmc: restrict posted write counts for SD cards in CQ mode")

Signed-off-by: Jonathan Bell <[email protected]>
@P33M P33M closed this Oct 18, 2024
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.

1 participant