Page MenuHomeFreeBSD

arm64/machdep: Reserve memory when we find Linux EFI reserved memory table
ClosedPublic

Authored by imp on Nov 18 2022, 5:15 PM.
Tags
None
Referenced Files
F160268551: D37440.id113279.diff
Mon, Jun 22, 6:18 PM
Unknown Object (File)
Sun, Jun 21, 9:12 PM
Unknown Object (File)
Fri, Jun 19, 5:35 AM
Unknown Object (File)
Thu, Jun 18, 10:30 PM
Unknown Object (File)
Tue, May 26, 1:52 PM
Unknown Object (File)
Tue, May 26, 1:52 PM
Unknown Object (File)
Tue, May 26, 1:52 PM
Unknown Object (File)
May 18 2026, 9:58 AM
Subscribers

Details

Summary

When Linux loads a new kernel via kexec, somtiems it must reserve memory
for devices that are still active (and typically can't be reset or
shutdown). When present, this table is a linked list of ranges that are
still in use that the OS must avoid using.

Mark these areas as reserved.

This is part of the GICv3 workaround code where we must use the PA
addresses already programmed into the GICv3 when we take over. This part
ensure we don't allocate the mmeory for anything else.

Sponsored by: Netflix

Diff Detail

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