Page MenuHomeFreeBSD

arm64: Add pmap integration for KMSAN
ClosedPublic

Authored by markj on Jan 11 2024, 10:48 PM.
Tags
None
Referenced Files
F142288834: D43405.id132644.diff
Sun, Jan 18, 5:25 AM
F142253414: D43405.id.diff
Sat, Jan 17, 8:22 PM
F142245099: D43405.id134013.diff
Sat, Jan 17, 6:18 PM
F142231321: D43405.id.diff
Sat, Jan 17, 2:21 PM
F142228040: D43405.diff
Sat, Jan 17, 1:05 PM
Unknown Object (File)
Thu, Jan 15, 4:20 AM
Unknown Object (File)
Thu, Jan 1, 3:00 AM
Unknown Object (File)
Tue, Dec 30, 9:35 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