Page MenuHomeFreeBSD

arm64: Add a VM_FREELIST_DMA32 freelist
ClosedPublic

Authored by markj on Jan 18 2024, 7:57 PM.
Tags
None
Referenced Files
F171317491: D43503.id132955.diff
Thu, Sep 10, 9:09 AM
Unknown Object (File)
Tue, Sep 8, 10:33 PM
Unknown Object (File)
Sun, Sep 6, 2:04 AM
Unknown Object (File)
Sat, Sep 5, 7:45 PM
Unknown Object (File)
Sat, Sep 5, 2:39 AM
Unknown Object (File)
Fri, Sep 4, 9:58 PM
Unknown Object (File)
Fri, Sep 4, 9:18 PM
Unknown Object (File)
Fri, Sep 4, 7:29 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