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)
Mon, Oct 27, 7:43 AM
Unknown Object (File)
Thu, Oct 23, 7:23 AM
Unknown Object (File)
Wed, Oct 22, 11:09 PM
Unknown Object (File)
Wed, Oct 22, 11:09 PM
Unknown Object (File)
Wed, Oct 22, 2:31 PM
Unknown Object (File)
Fri, Oct 17, 8:45 PM
Unknown Object (File)
Fri, Oct 10, 4:23 AM
Unknown Object (File)
Sat, Oct 4, 3: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 Skipped
Unit
Tests Skipped
Build Status
Buildable 55376
Build 52265: arc lint + arc unit