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
F153181550: D37440.id.diff
Sun, Apr 19, 3:56 PM
F153172692: D37440.id113727.diff
Sun, Apr 19, 2:35 PM
Unknown Object (File)
Fri, Apr 17, 10:07 AM
Unknown Object (File)
Fri, Apr 17, 10:03 AM
Unknown Object (File)
Wed, Apr 15, 8:03 PM
Unknown Object (File)
Mon, Apr 6, 9:42 AM
Unknown Object (File)
Tue, Mar 31, 1:41 AM
Unknown Object (File)
Fri, Mar 27, 5:09 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 48426
Build 45312: arc lint + arc unit