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

mmap_len in dma_map_region may be incorrect #730

Open
tmakatos opened this issue Feb 21, 2023 · 0 comments
Open

mmap_len in dma_map_region may be incorrect #730

tmakatos opened this issue Feb 21, 2023 · 0 comments

Comments

@tmakatos
Copy link
Member

Reported by [email protected] on Slack:

the value of mmap_len in dma_map_region may be incorrect. For example, the page size is 0x100, offset is 0xf0, mmap_len is 0x120, the map area is 0xf0~0x210. Through calculation of page align in dma_map_region, the offset will be 0x00, mmap_len will be 0x200, the map area will be 0x00~0x200, 0x200~0x210 will not be mapped.

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