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
Unknown Object (File)
Fri, Oct 4, 9:51 PM
Unknown Object (File)
Fri, Oct 4, 10:45 AM
Unknown Object (File)
Wed, Oct 2, 5:20 PM
Unknown Object (File)
Wed, Oct 2, 9:37 AM
Unknown Object (File)
Wed, Oct 2, 4:57 AM
Unknown Object (File)
Wed, Oct 2, 4:06 AM
Unknown Object (File)
Mon, Sep 30, 1:40 PM
Unknown Object (File)
Mon, Sep 30, 1:32 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