HomeFreeBSD

arm64: Add pmap integration for KMSAN

Description

arm64: Add pmap integration for KMSAN

  • 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.

MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D43405

Details

Provenance
markjAuthored on Feb 8 2024, 4:11 PM
Differential Revision
D43405: arm64: Add pmap integration for KMSAN
Parents
rG6631b5894234: arm64: Simplify and improve KASAN shadow map bootstrapping
Branches
Unknown
Tags
Unknown