Page MenuHomeFreeBSD

arm64: Add a VM_FREELIST_DMA32 freelist
ClosedPublic

Authored by markj on Jan 18 2024, 7:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 1, 3:44 AM
Unknown Object (File)
Tue, Oct 28, 1:52 PM
Unknown Object (File)
Tue, Oct 28, 6:21 AM
Unknown Object (File)
Oct 26 2025, 12:40 PM
Unknown Object (File)
Oct 18 2025, 9:23 AM
Unknown Object (File)
Oct 14 2025, 6:09 PM
Unknown Object (File)
Oct 14 2025, 6:09 PM
Unknown Object (File)
Oct 14 2025, 6:09 PM
Subscribers

Details

Summary

When booting a KMSAN kernel on an Ampere Altra, I've seen some boot time
hangs when the XHCI controller driver attempts to allocate memory for
32-bit DMA. The system boots fine with a GENERIC kernel; I believe that
the additional memory requirements of KMSAN push it over the edge. The
system has a bit less than 2GB of RAM below the 4GB boundary.

Allocate a new freelist to segregate memory below 4GB, as we do on
amd64.

Diff Detail

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