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
F137698368: D47485.diff
Mon, Nov 24, 11:30 PM
Unknown Object (File)
Fri, Nov 21, 6:25 PM
Unknown Object (File)
Thu, Nov 20, 11:55 PM
Unknown Object (File)
Thu, Nov 20, 6:31 AM
Unknown Object (File)
Wed, Nov 19, 7:17 PM
Unknown Object (File)
Tue, Nov 18, 8:16 AM
Unknown Object (File)
Tue, Nov 18, 8:16 AM
Unknown Object (File)
Tue, Nov 18, 8:16 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