Page MenuHomeFreeBSD

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

Authored by imp on Nov 18 2022, 5:15 PM.
Referenced Files
F89203429: D37440.id113279.diff
Wed, Jul 24, 9:26 PM
F89184477: D37440.id113727.diff
Wed, Jul 24, 1:31 PM
Unknown Object (File)
Tue, Jul 16, 12:47 PM
Unknown Object (File)
Thu, Jul 11, 12:34 PM
Unknown Object (File)
Thu, Jul 11, 1:05 AM
Unknown Object (File)
Thu, Jul 11, 1:04 AM
Unknown Object (File)
Sat, Jun 29, 12:42 AM
Unknown Object (File)
May 25 2024, 6:47 AM



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

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable