Page MenuHomeFreeBSD

arm64: Add pmap integration for KMSAN
ClosedPublic

Authored by markj on Jan 11 2024, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 6 2024, 7:55 AM
Unknown Object (File)
Oct 5 2024, 11:00 AM
Unknown Object (File)
Oct 5 2024, 11:00 AM
Unknown Object (File)
Oct 4 2024, 8:07 PM
Unknown Object (File)
Oct 3 2024, 8:17 AM
Unknown Object (File)
Oct 3 2024, 2:08 AM
Unknown Object (File)
Oct 3 2024, 2:06 AM
Unknown Object (File)
Oct 2 2024, 5:59 PM
Subscribers

Details

Summary
  • In pmap_bootstrap_san(), allocate the root PTPs for the shadow maps. (For KASAN, this is done earlier since we need to do some special bootstrapping for the kernel stack.)
  • Adjust ifdefs to include KMSAN.
  • Expand the shadow maps when pmap_growkernel() is called.

Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.

Diff Detail

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