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)
Sat, Sep 5, 4:06 AM
Unknown Object (File)
Sat, Sep 5, 3:49 AM
Unknown Object (File)
Fri, Sep 4, 8:00 PM
Unknown Object (File)
Fri, Sep 4, 7:05 PM
Unknown Object (File)
Fri, Sep 4, 3:19 PM
Unknown Object (File)
Thu, Sep 3, 5:34 PM
Unknown Object (File)
Wed, Sep 2, 6:11 PM
Unknown Object (File)
Wed, Sep 2, 1:41 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