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)
Tue, Apr 21, 2:41 PM
Unknown Object (File)
Sun, Apr 19, 9:08 PM
Unknown Object (File)
Sun, Apr 19, 11:54 AM
Unknown Object (File)
Fri, Apr 17, 1:23 PM
Unknown Object (File)
Tue, Apr 14, 9:43 AM
Unknown Object (File)
Mon, Apr 13, 11:24 PM
Unknown Object (File)
Tue, Apr 7, 4:15 PM
Unknown Object (File)
Mon, Apr 6, 6:36 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