Skip to content

{bp-19206} arch/arm: fix DMA transfers with sizes smaller than 4 bytes.#19282

Merged
linguini1 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19206
Jul 3, 2026
Merged

{bp-19206} arch/arm: fix DMA transfers with sizes smaller than 4 bytes.#19282
linguini1 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19206

Conversation

@jerpelea

@jerpelea jerpelea commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

When the buffer to send has a size not multiple of 4 bytes, 4-byte words are sent correctly, but when the code reaches the section to send the remaining bytes (1, 2 or 3) it was taking the remaining byte count as origin of the copy, instead of the buffer (as it should). This commit fixes it to correctly copy from the buffer pointer.

Impact

RELEASE

Testing

CI

When the buffer to send has a size not multiple of 4 bytes, 4-byte words
are sent correctly, but when the code reaches the section to send the
remaining bytes (1, 2 or 3) it was taking the remaining byte count as origin
of the copy, instead of the buffer (as it should). This commit fixes it
to correctly copy from the buffer pointer.

Signed-off-by: Carlos Sanchez <carlossanchez@geotab.com>
@github-actions github-actions Bot added Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small labels Jul 3, 2026
@jerpelea

jerpelea commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

@acassis ping

@linguini1 linguini1 merged commit ff899ae into apache:releases/13.0 Jul 3, 2026
26 checks passed
@jerpelea jerpelea deleted the bp-19206 branch July 4, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants