Page MenuHomeFreeBSD

arm64: Add pmap integration for KMSAN
ClosedPublic

Authored by markj on Jan 11 2024, 10:48 PM.
Tags
None
Referenced Files
F144470531: D43405.id132644.diff
Sun, Feb 8, 3:02 PM
Unknown Object (File)
Sun, Feb 8, 10:36 AM
Unknown Object (File)
Sat, Jan 31, 1:30 AM
Unknown Object (File)
Sun, Jan 18, 5:25 AM
Unknown Object (File)
Sat, Jan 17, 8:22 PM
Unknown Object (File)
Sat, Jan 17, 6:18 PM
Unknown Object (File)
Sat, Jan 17, 2:21 PM
Unknown Object (File)
Sat, Jan 17, 1:05 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