Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Disable DMA for Pi 5's UART0 #6742

Merged
merged 2 commits into from
Mar 26, 2025
Merged

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Mar 26, 2025

Previous Pis have managed without using DMA with the UARTs, and it has been seen to cause problems on the receive side, so play safe and disable it.

pelwell added 2 commits March 26, 2025 11:34
This reverts commit 898d640.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
DMA has been enabled on RP1's UART0, but with mixed success. Transmits
seem to work, but the DMA interface is not well suited to receiving
arbitrary amounts of data. In particular, the PL011 driver is slow to
pass on the received data, batching it into large blocks.

On balance, it's better to just disable the DMA support. As with the
other UARTs, the required runes are left in the DTS as comments.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@pelwell pelwell merged commit cd231d4 into raspberrypi:rpi-6.12.y Mar 26, 2025
12 of 13 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Mar 26, 2025
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Mar 26, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants