Page MenuHomeFreeBSD

arm64: Make KMSAN aware of exceptions
ClosedPublic

Authored by markj on Dec 21 2023, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 13, 2:38 AM
Unknown Object (File)
Fri, Jun 12, 12:50 PM
Unknown Object (File)
Fri, Jun 12, 6:41 AM
Unknown Object (File)
May 15 2026, 10:34 PM
Unknown Object (File)
May 15 2026, 10:34 PM
Unknown Object (File)
May 15 2026, 10:34 PM
Unknown Object (File)
May 15 2026, 10:33 PM
Unknown Object (File)
May 15 2026, 10:33 PM
Subscribers

Details

Summary
  • Call kmsan_intr_enter() when an exception occurs. This ensures that code running in the exception context does not clobber thread-local KMSAN state.
  • Ensure that stack memory containing trap frames is treated as initialized.

Co-authored-by: Alexander Stetsenko <alex.stetsenko@klarasystems.com>
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable