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

Imx9 bug fixes 2511 #318

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Imx9 bug fixes 2511 #318

merged 2 commits into from
Nov 27, 2024

Conversation

joukkone
Copy link

Summary

Impact

Testing

Avoid spurious interrupts on reboot

Signed-off-by: Jouni Ukkonen <[email protected]>
@joukkone joukkone requested a review from jlaitine November 26, 2024 12:20
Copy link

@jlaitine jlaitine left a comment

Choose a reason for hiding this comment

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

Lgtm, I added comments about some other weirdness


up_invalidate_dcache((uintptr_t)buffer,
(uintptr_t)buffer + ALIGN_UP(nbytes));
int n = nbytes;

Choose a reason for hiding this comment

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

This is fine, but what is the cache invalidate above about???

Copy link
Author

Choose a reason for hiding this comment

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

done, removed

while (n-- > 0)
{
*buffer++ = *src++;
}

Choose a reason for hiding this comment

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

Again, the cache clean below? Should we remove those at the same if they are useless?

Copy link
Author

Choose a reason for hiding this comment

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

done

libc memcpy cannot access fspi memory space correctly
remove unnecessary debugassert and cache operations

Signed-off-by: Jouni Ukkonen <[email protected]>
@joukkone joukkone force-pushed the imx9_bug_fixes_2511 branch from ba26fee to 0ac2cfa Compare November 27, 2024 06:32
@joukkone joukkone merged commit 7aed9c3 into master Nov 27, 2024
11 checks passed
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