Page MenuHomeFreeBSD

arm: switch the BUSDMA buffers to normal uncached memory
ClosedPublic

Authored by mmel on Nov 8 2024, 12:17 PM.
Tags
None
Referenced Files
F108738274: D47485.diff
Mon, Jan 27, 3:36 PM
F108668972: D47485.diff
Mon, Jan 27, 4:57 AM
F108592452: D47485.id146264.diff
Sun, Jan 26, 6:00 PM
Unknown Object (File)
Thu, Jan 23, 6:27 PM
Unknown Object (File)
Fri, Jan 10, 9:14 AM
Unknown Object (File)
Dec 4 2024, 11:24 PM
Unknown Object (File)
Dec 2 2024, 8:51 AM
Unknown Object (File)
Nov 27 2024, 11:15 AM
Subscribers

Details

Summary

The BUSDMA buffer is treated as normal memory during compilation and compiler
is free to inline/optimize basic functions (i.e. memset, memcpy) accessing
buffers, including when an instruction is generated that performs a word
access to unaligned data. We support this, but only if the buffer in question
is mapped as normal memory (cached or not), but not to memory mapped as
strongly ordered or device type.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable