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)
Sun, Jan 26, 8:19 PM
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 55376
Build 52265: arc lint + arc unit