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

Missing cache invalidation in dma.c before DMA transfer #123

Open
frebjo opened this issue Apr 26, 2024 · 1 comment
Open

Missing cache invalidation in dma.c before DMA transfer #123

frebjo opened this issue Apr 26, 2024 · 1 comment

Comments

@frebjo
Copy link

frebjo commented Apr 26, 2024

This cache invalidation before DMA transfer ensures that during the DMA transfer the cache has no dirty lines associated to the buffer,
which could be written back to memory.

See
https://developer.arm.com/documentation/den0013/d/Memory-Ordering/Cache-coherency-implications

@frebjo
Copy link
Author

frebjo commented Apr 26, 2024

dma.patch

PATCH.

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

No branches or pull requests

1 participant