Page MenuHomeFreeBSD

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

Authored by imp on Fri, Nov 18, 5:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 2, 6:03 AM
Unknown Object (File)
Fri, Dec 2, 6:02 AM
Unknown Object (File)
Mon, Nov 28, 12:27 PM
Unknown Object (File)
Sun, Nov 27, 12:57 PM
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