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

Make bcm2835-mmc compatible with swiotlb that is used on ARM64 #3159

Closed
wants to merge 1 commit into from
Closed

Make bcm2835-mmc compatible with swiotlb that is used on ARM64 #3159

wants to merge 1 commit into from

Conversation

yaroslavros
Copy link

This resolves swiotlb buffer full errors on Wi-Fi bursts on
Raspberry PI4 in 64-bit mode.

Signed-off-by: Yaroslav Rosomakho [email protected]

swiotlb (256K).

This resolves swiotlb buffer full errors on Wi-Fi bursts on
Raspberry PI4 in 64-bit mode.

Signed-off-by: Yaroslav Rosomakho <[email protected]>
@yaroslavros
Copy link
Author

This fixes #3157 for me and should fix #3114

I guess more efficient solution would be to implement proper IOMMU support instead of relying on swiotlb bouncing but that needs a lot more investigation.
Meanwhile, this patch does the trick of running WiFi reliably with >1G of RAM without sacrificing too much performance.

@yaroslavros
Copy link
Author

After stress testing wifi for 12+ hours it did eventually fail again. So, closing this PR.

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